Bit of a problem with arduino ide

Hi guys

Tried according to instruction on Github to download arduino ide + Git, everything worked fine, however the spoken directory in the install instructions dident exist in arduino catalog so i created it ( wrong or right )

\Documents\Arduino\hardware\CubeCell path (Must in this path), start Git Bash and input git clone https://github.com/HelTecAutomation/ASR650x-Arduino.git**

However otherwize the instructions seemed to work fine, however i just tried to download an empty arduino sketch and got the below message from the compiler… why??? it finds the board and everything else seems right

Where can i find example sketches for the CubeCell dev. board?

Thankful for any ideas

BR

/ A

Error code
Arduino:1.8.10 (Windows 10), Kort:“CubeCell-Board, REGION_EU868, CLASS_A, OTAA, ON, OFF, ON, ACTIVE”

Sketch uses 15877 bytes (12%) of program storage space. Maximum is 131072 bytes.
usage: CubeCellflash.exe [-h] -serial PORT file
CubeCellflash.exe: error: argument file: can’t open ‘C:\Users\willh\AppData\Local\Temp\arduino_build_412894/CubeCell-Board_REGION_EU868_RGB_1.cyacd’: [Errno 2] No such file or directory: ‘C:\Users\willh\AppData\Local\Temp\arduino_build_412894/CubeCell-Board_REGION_EU868_RGB_1.cyacd’
CubeCellflash.exe: error: argument file: can’t open ‘C:\Users\willh\AppData\Local\Temp\arduino_build_412894/CubeCell-Board_REGION_EU868_RGB_1.cyacd’: [Errno 2] No such file or directory: ‘C:\Users\willh\AppData\Local\Temp\arduino_build_412894/CubeCell-Board_REGION_EU868_RGB_1.cyacd’

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

1 Like

thats my fault.
i have forgotten the other platform.txt file.
will fix it this evening and write here when its done.

i am just heading home so give me about 3hours than the fix will be online and you need to make a git pull

Hi there, solved it myself, thanks for your attention, fine if you can update the instructions however :slight_smile: so that the next guy will install with ease…

Is there any lora node examples to study for ths board?

Best Regards

/ A

LoRa & LoRaWAN examples:

Thanks, but i dont have the “LORA” examples in my ex. dir…

Just downloaded the structure from github an hr ago, but there seem to be a number of ways to handle this, and now i´m stuck with multiple .h files LOL. isent it wonderful haha

Think i´ll uninstall the whole lot and start over, wich path is the right one to choose on github to get everything correctly installed for the CubeCell dev. board?

BR
/A

Sorry one more question, can you use the web ide in some way or is it just the wininstall that is the right choice?

Maybe the new document page will make sense to you:
https://heltec-automation-docs.readthedocs.io/en/latest/cubecell/index.html

We are collating and transferring all the documents to the readthedocs platform

1 Like

I have now come across the same error, following the tutorial (https://github.com/HelTecAutomation/ASR650x-Arduino/blob/master/InstallGuide/debian_ubuntu.md):

"No such file or directory: ‘/tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd’

‘’’
Using library OneWire at version 2.3.5 in folder: /home/peter/Arduino/libraries/OneWire
Using library DallasTemperature at version 3.8.0 in folder: /home/peter/Arduino/libraries/DallasTemperature
/home/peter/.arduino15/packages/CubeCell/tools/gcc-arm-none-eabi/8-2019-q3/bin/arm-none-eabi-size -A /tmp/arduino_build_321730/oneWireSearch.ino.hex
Sketch uses 30957 bytes (23%) of program storage space. Maximum is 131072 bytes.
/home/peter/Arduino/hardware/CubeCell/CubeCell/tools/CubeCellflash/CubeCellflash -serial /dev/ttyUSB0 /tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd
usage: CubeCellflash [-h] -serial PORT file
CubeCellflash: error: argument file: can’t open ‘/tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd’: [Errno 2] No such file or directory: ‘/tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd’
CubeCellflash: error: argument file: can’t open ‘/tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd’: [Errno 2] No such file or directory: ‘/tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd’
‘’’

What is the solution ?..

can you paste all the details, looks like CubeCell_Board_REGION_EU868_RGB_1.cyacd is not created, maybe you are missing ‘CubeCellelftool’

INSTALLNG OF CUBECELL SOFTWARE:

‘’’
peter@peter:~/arduino-1.8.13/hardware$ mkdir -p ~/Arduino/hardware/CubeCell
peter@peter:~/arduino-1.8.13/hardware$ cd ~/Arduino/hardware/CubeCell
peter@peter:~/Arduino/hardware/CubeCell$
peter@peter:~/Arduino/hardware/CubeCell$
peter@peter:~/Arduino/hardware/CubeCell$ git clone https://github.com/HelTecAutomation/ASR650x-Arduino.git CubeCell
Cloning into ‘CubeCell’…
remote: Enumerating objects: 161, done.
remote: Counting objects: 100% (161/161), done.
remote: Compressing objects: 100% (111/111), done.
remote: Total 4007 (delta 71), reused 103 (delta 36), pack-reused 3846
Receiving objects: 100% (4007/4007), 17.48 MiB | 2.67 MiB/s, done.
Resolving deltas: 100% (2040/2040), done.
Checking connectivity… done.
peter@peter:~/Arduino/hardware/CubeCell$ cd CubeCell/tools
peter@peter:~/Arduino/hardware/CubeCell/CubeCell/tools$
peter@peter:~/Arduino/hardware/CubeCell/CubeCell/tools$ python get.py
System: Linux, Info: Linux-4.15.0-112-generic-x86_64-with-Ubuntu-16.04-xenial
Platform: x86_64-pc-linux-gnu
Downloading CubeCellelftool-0.0.1-linux.tar.gz
100% totalsize: 9.51M
Done
Extracting CubeCellelftool-0.0.1-linux.tar.gz
Downloading CubeCellflash-0.0.1-linux.tar.gz
100% totalsize: 10.21M
Done
Extracting CubeCellflash-0.0.1-linux.tar.gz
Downloading gcc-arm-none-eabi-8-2019-q3-update-linux.tar.gz
100% totalsize: 118.08M
Done
Extracting gcc-arm-none-eabi-8-2019-q3-update-linux.tar.gz
Done
peter@peter:~/Arduino/hardware/CubeCell/CubeCell/tools$
‘’’

====================
COMPILING IN THE ARDUINO IDE:

‘’’
Arduino: 1.8.13 (Linux), Board: “CubeCell-Board(HTCC-AB01), REGION_EU868, CLASS_A, ABP, OFF, UNCONFIRMED, OFF, ON, ACTIVE, Freq && DIO”

/home/peter/arduino-1.8.13/arduino-builder -dump-prefs -logger=machine -hardware /home/peter/arduino-1.8.13/hardware -hardware /home/peter/.arduino15/packages -hardware /home/peter/Arduino/hardware -tools /home/peter/arduino-1.8.13/tools-builder -tools /home/peter/arduino-1.8.13/hardware/tools/avr -tools /home/peter/.arduino15/packages -built-in-libraries /home/peter/arduino-1.8.13/libraries -libraries /home/peter/Arduino/libraries -fqbn=CubeCell:CubeCell:CubeCell-Board:LORAWAN_REGION=5,LORAWAN_CLASS=0,LORAWAN_NETMODE=1,LORAWAN_ADR=1,LORAWAN_UPLINKMODE=1,LORAWAN_Net_Reserve=0,LORAWAN_AT_SUPPORT=0,LORAWAN_RGB=1,LORAWAN_DebugLevel=2 -vid-pid=10C4_EA60 -ide-version=10813 -build-path /tmp/arduino_build_321730 -warnings=none -build-cache /tmp/arduino_cache_549682 -prefs=build.warn_data_percentage=75 -verbose /home/peter/Desktop/archive_3/elektronik_addings_aug/oneWireSearch/oneWireSearch.ino
/home/peter/arduino-1.8.13/arduino-builder -compile -logger=machine -hardware /home/peter/arduino-1.8.13/hardware -hardware /home/peter/.arduino15/packages -hardware /home/peter/Arduino/hardware -tools /home/peter/arduino-1.8.13/tools-builder -tools /home/peter/arduino-1.8.13/hardware/tools/avr -tools /home/peter/.arduino15/packages -built-in-libraries /home/peter/arduino-1.8.13/libraries -libraries /home/peter/Arduino/libraries -fqbn=CubeCell:CubeCell:CubeCell-Board:LORAWAN_REGION=5,LORAWAN_CLASS=0,LORAWAN_NETMODE=1,LORAWAN_ADR=1,LORAWAN_UPLINKMODE=1,LORAWAN_Net_Reserve=0,LORAWAN_AT_SUPPORT=0,LORAWAN_RGB=1,LORAWAN_DebugLevel=2 -vid-pid=10C4_EA60 -ide-version=10813 -build-path /tmp/arduino_build_321730 -warnings=none -build-cache /tmp/arduino_cache_549682 -prefs=build.warn_data_percentage=75 -verbose /home/peter/Desktop/archive_3/elektronik_addings_aug/oneWireSearch/oneWireSearch.ino
Using board ‘CubeCell-Board’ from platform in folder: /home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5
Using core ‘asr650x’ from platform in folder: /home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5
Detecting libraries used…
/home/peter/.arduino15/packages/CubeCell/tools/gcc-arm-none-eabi/8-2019-q3/bin/arm-none-eabi-g++ -DREGION_EU868 -DARDUINO=10813 -DACTIVE_REGION=LORAMAC_REGION_EU868 -DLORAWAN_CLASS=CLASS_A -DLORAWAN_NETMODE=false -DLORAWAN_ADR=false -DLORAWAN_UPLINKMODE=false -DLORAWAN_NET_RESERVE=false -DAT_SUPPORT=1 -DLoraWan_RGB=1 -DLoRaWAN_DEBUG_LEVEL=2 -DCY_CORE_ID=0 -DCONFIG_LORA_USE_TCXO “-DCONFIG_MANUFACTURER=“ASR”” "-DCONFIG_DEVICE_MODEL=“6501"” "-DCONFIG_VERSION=“v4.0"” -D__ASR6501__ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/src/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/inc/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/device/asr6501_lrwan/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/device/sx126x/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/mac/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/mac/region/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/system/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/system/crypto/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/port/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/port/include/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/PSoC4/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/cores/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/Serial/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/Wire/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/SPI/ -mcpu=cortex-m0plus -mthumb -g -gdwarf-2 -w -Os -mapcs-frame -mthumb-interwork -Wall -ffunction-sections -ffat-lto-objects -Os -fno-common -fno-builtin-printf -fno-builtin-fflush -fno-builtin-sprintf -fno-builtin-snprintf -Wno-strict-aliasing -c -fno-exceptions -fexceptions -fno-rtti -w -x c++ -E -CC -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x /tmp/arduino_build_321730/sketch/oneWireSearch.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for OneWire.h: [OneWire@2.3.5 OneWire@2.3.5]
ResolveLibrary(OneWire.h)
-> candidates: [OneWire@2.3.5 OneWire@2.3.5]
/home/peter/.arduino15/packages/CubeCell/tools/gcc-arm-none-eabi/8-2019-q3/bin/arm-none-eabi-g++ -DREGION_EU868 -DARDUINO=10813 -DACTIVE_REGION=LORAMAC_REGION_EU868 -DLORAWAN_CLASS=CLASS_A -DLORAWAN_NETMODE=false -DLORAWAN_ADR=false -DLORAWAN_UPLINKMODE=false -DLORAWAN_NET_RESERVE=false -DAT_SUPPORT=1 -DLoraWan_RGB=1 -DLoRaWAN_DEBUG_LEVEL=2 -DCY_CORE_ID=0 -DCONFIG_LORA_USE_TCXO “-DCONFIG_MANUFACTURER=“ASR”” "-DCONFIG_DEVICE_MODEL=“6501"” "-DCONFIG_VERSION=“v4.0"” -D__ASR6501__ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/src/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/inc/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/device/asr6501_lrwan/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/device/sx126x/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/mac/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/mac/region/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/system/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/system/crypto/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/port/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/port/include/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/PSoC4/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/cores/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/Serial/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/Wire/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/SPI/ -mcpu=cortex-m0plus -mthumb -g -gdwarf-2 -w -Os -mapcs-frame -mthumb-interwork -Wall -ffunction-sections -ffat-lto-objects -Os -fno-common -fno-builtin-printf -fno-builtin-fflush -fno-builtin-sprintf -fno-builtin-snprintf -Wno-strict-aliasing -c -fno-exceptions -fexceptions -fno-rtti -w -x c++ -E -CC -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x -I/home/peter/Arduino/libraries/OneWire /tmp/arduino_build_321730/sketch/oneWireSearch.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for DallasTemperature.h: [DallasTemperature@3.8.0]
ResolveLibrary(DallasTemperature.h)
-> candidates: [DallasTemperature@3.8.0]
/home/peter/.arduino15/packages/CubeCell/tools/gcc-arm-none-eabi/8-2019-q3/bin/arm-none-eabi-g++ -DREGION_EU868 -DARDUINO=10813 -DACTIVE_REGION=LORAMAC_REGION_EU868 -DLORAWAN_CLASS=CLASS_A -DLORAWAN_NETMODE=false -DLORAWAN_ADR=false -DLORAWAN_UPLINKMODE=false -DLORAWAN_NET_RESERVE=false -DAT_SUPPORT=1 -DLoraWan_RGB=1 -DLoRaWAN_DEBUG_LEVEL=2 -DCY_CORE_ID=0 -DCONFIG_LORA_USE_TCXO “-DCONFIG_MANUFACTURER=“ASR”” "-DCONFIG_DEVICE_MODEL=“6501"” "-DCONFIG_VERSION=“v4.0"” -D__ASR6501__ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/src/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/inc/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/device/asr6501_lrwan/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/device/sx126x/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/mac/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/mac/region/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/system/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/system/crypto/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/port/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/port/include/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/PSoC4/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/cores/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/Serial/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/Wire/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/SPI/ -mcpu=cortex-m0plus -mthumb -g -gdwarf-2 -w -Os -mapcs-frame -mthumb-interwork -Wall -ffunction-sections -ffat-lto-objects -Os -fno-common -fno-builtin-printf -fno-builtin-fflush -fno-builtin-sprintf -fno-builtin-snprintf -Wno-strict-aliasing -c -fno-exceptions -fexceptions -fno-rtti -w -x c++ -E -CC -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x -I/home/peter/Arduino/libraries/OneWire -I/home/peter/Arduino/libraries/DallasTemperature /tmp/arduino_build_321730/sketch/oneWireSearch.ino.cpp -o /dev/null -DARDUINO_LIB_DISCOVERY_PHASE
Using cached library dependencies for file: /home/peter/Arduino/libraries/OneWire/OneWire.cpp
Using cached library dependencies for file: /home/peter/Arduino/libraries/DallasTemperature/DallasTemperature.cpp
Generating function prototypes…
/home/peter/.arduino15/packages/CubeCell/tools/gcc-arm-none-eabi/8-2019-q3/bin/arm-none-eabi-g++ -DREGION_EU868 -DARDUINO=10813 -DACTIVE_REGION=LORAMAC_REGION_EU868 -DLORAWAN_CLASS=CLASS_A -DLORAWAN_NETMODE=false -DLORAWAN_ADR=false -DLORAWAN_UPLINKMODE=false -DLORAWAN_NET_RESERVE=false -DAT_SUPPORT=1 -DLoraWan_RGB=1 -DLoRaWAN_DEBUG_LEVEL=2 -DCY_CORE_ID=0 -DCONFIG_LORA_USE_TCXO “-DCONFIG_MANUFACTURER=“ASR”” "-DCONFIG_DEVICE_MODEL=“6501"” "-DCONFIG_VERSION=“v4.0"” -D__ASR6501__ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/src/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/inc/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/device/asr6501_lrwan/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/device/sx126x/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/mac/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/mac/region/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/system/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/system/crypto/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/port/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/port/include/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/PSoC4/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/cores/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/Serial/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/Wire/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/SPI/ -mcpu=cortex-m0plus -mthumb -g -gdwarf-2 -w -Os -mapcs-frame -mthumb-interwork -Wall -ffunction-sections -ffat-lto-objects -Os -fno-common -fno-builtin-printf -fno-builtin-fflush -fno-builtin-sprintf -fno-builtin-snprintf -Wno-strict-aliasing -c -fno-exceptions -fexceptions -fno-rtti -w -x c++ -E -CC -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x -I/home/peter/Arduino/libraries/OneWire -I/home/peter/Arduino/libraries/DallasTemperature /tmp/arduino_build_321730/sketch/oneWireSearch.ino.cpp -o /tmp/arduino_build_321730/preproc/ctags_target_for_gcc_minus_e.cpp -DARDUINO_LIB_DISCOVERY_PHASE
/home/peter/arduino-1.8.13/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c+Âąkinds=svpf --fields=KSTtzns --line-directives /tmp/arduino_build_321730/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch…
/home/peter/.arduino15/packages/CubeCell/tools/gcc-arm-none-eabi/8-2019-q3/bin/arm-none-eabi-g++ -DREGION_EU868 -DARDUINO=10813 -DACTIVE_REGION=LORAMAC_REGION_EU868 -DLORAWAN_CLASS=CLASS_A -DLORAWAN_NETMODE=false -DLORAWAN_ADR=false -DLORAWAN_UPLINKMODE=false -DLORAWAN_NET_RESERVE=false -DAT_SUPPORT=1 -DLoraWan_RGB=1 -DLoRaWAN_DEBUG_LEVEL=2 -DCY_CORE_ID=0 -DCONFIG_LORA_USE_TCXO “-DCONFIG_MANUFACTURER=“ASR”” "-DCONFIG_DEVICE_MODEL=“6501"” "-DCONFIG_VERSION=“v4.0"” -D__ASR6501__ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/src/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/board/inc/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/device/asr6501_lrwan/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/device/sx126x/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/mac/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/mac/region/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/system/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/loramac/system/crypto/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/port/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/port/include/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/PSoC4/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/cores/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/Serial/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/Wire/ -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/SPI/ -mcpu=cortex-m0plus -mthumb -g -gdwarf-2 -MMD -w -Os -mapcs-frame -mthumb-interwork -Wall -ffunction-sections -ffat-lto-objects -Os -fno-common -fno-builtin-printf -fno-builtin-fflush -fno-builtin-sprintf -fno-builtin-snprintf -Wno-strict-aliasing -c -fno-exceptions -fexceptions -fno-rtti -I/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x -I/home/peter/Arduino/libraries/OneWire -I/home/peter/Arduino/libraries/DallasTemperature /tmp/arduino_build_321730/sketch/oneWireSearch.ino.cpp -o /tmp/arduino_build_321730/sketch/oneWireSearch.ino.cpp.o
Compiling libraries…
Compiling library “OneWire”
Using previously compiled file: /tmp/arduino_build_321730/libraries/OneWire/OneWire.cpp.o
Compiling library “DallasTemperature”
Using previously compiled file: /tmp/arduino_build_321730/libraries/DallasTemperature/DallasTemperature.cpp.o
Compiling core…
Using precompiled core: /tmp/arduino_cache_549682/core/core_3c88290774c6e86aa909d623f7accf0f.a
Linking everything together…
/home/peter/.arduino15/packages/CubeCell/tools/gcc-arm-none-eabi/8-2019-q3/bin/arm-none-eabi-gcc -Wl,–start-group -L/tmp/arduino_build_321730 -mcpu=cortex-m0plus -mthumb -mthumb-interwork -L/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/PSoC4 -T/home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/PSoC4/cm0plusgcc.ld -lstdc++ -lm /home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/cores/asr650x/projects/CubeCellLib.a -Wl,-Map,/tmp/arduino_build_321730/oneWireSearch.ino.map -specs=nano.specs -Wl,–gc-sections -Wl,–wrap=printf -Wl,–wrap=fflush -Wl,–wrap=sprintf -Wl,–wrap=snprintf -g -ffunction-sections -Os -ffat-lto-objects -o /tmp/arduino_build_321730/oneWireSearch.ino.elf /tmp/arduino_build_321730/sketch/oneWireSearch.ino.cpp.o /tmp/arduino_build_321730/libraries/OneWire/OneWire.cpp.o /tmp/arduino_build_321730/libraries/DallasTemperature/DallasTemperature.cpp.o -lm /tmp/arduino_build_321730/…/arduino_cache_549682/core/core_3c88290774c6e86aa909d623f7accf0f.a -Wl,–end-group
/home/peter/.arduino15/packages/CubeCell/tools/CubeCellelftool/0.0.1/CubeCellelftool /home/peter/.arduino15/packages/CubeCell/tools/gcc-arm-none-eabi/8-2019-q3/bin/arm-none-eabi-objcopy /tmp/arduino_build_321730/oneWireSearch.ino.elf /tmp/arduino_build_321730/oneWireSearch.ino.hex /tmp/arduino_build_321730/CubeCell-Board_REGION_EU868_RGB_1.cyacd
Multiple libraries were found for “OneWire.h”
Used: /home/peter/Arduino/libraries/OneWire
Not used: /home/peter/.arduino15/packages/CubeCell/hardware/CubeCell/0.0.5/libraries/OneWire
Using library OneWire at version 2.3.5 in folder: /home/peter/Arduino/libraries/OneWire
Using library DallasTemperature at version 3.8.0 in folder: /home/peter/Arduino/libraries/DallasTemperature
/home/peter/.arduino15/packages/CubeCell/tools/gcc-arm-none-eabi/8-2019-q3/bin/arm-none-eabi-size -A /tmp/arduino_build_321730/oneWireSearch.ino.hex
Sketch uses 30957 bytes (23%) of program storage space. Maximum is 131072 bytes.
/home/peter/Arduino/hardware/CubeCell/CubeCell/tools/CubeCellflash/CubeCellflash -serial /dev/ttyUSB0 /tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd
usage: CubeCellflash [-h] -serial PORT file
CubeCellflash: error: argument file: can’t open ‘/tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd’: [Errno 2] No such file or directory: ‘/tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd’
CubeCellflash: error: argument file: can’t open ‘/tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd’: [Errno 2] No such file or directory: ‘/tmp/arduino_build_321730/CubeCell_Board_REGION_EU868_RGB_1.cyacd’

‘’’

===============
CONTENT OF THE FOLDERS:

Strange it seems you are at board manager version 0.0.5 while I’m on 1.0.0 … (check boards manager) secondly can you check if there is anything left in the build directory - in your dump it is /tmp/arduino_build_321730/ but this can change after fresh rebuilts. You can trying to build the cyacd file yourself by “/home/peter/.arduino15/packages/CubeCell/tools/CubeCellelftool/0.0.1/CubeCellelftool /home/peter/.arduino15/packages/CubeCell/tools/gcc-arm-none-eabi/8-2019-q3/bin/arm-none-eabi-objcopy /tmp/arduino_build_321730/oneWireSearch.ino.elf /tmp/arduino_build_321730/oneWireSearch.ino.hex /tmp/arduino_build_321730/CubeCell-Board_REGION_EU868_RGB_1.cyacd” and see what happens …

I start to see a difference between the build file and the used file:

If you go a few lines up and take that one before “Multiple libraries were found for “OneWire.h”” - you will find the file created with a “-” between words ‘CubeCell’ and ‘Board’ in the file … while the flashing is requesting the file name with a “_”. … Here next to each other:

CubeCell-Board_REGION_EU868_RGB_1.cyacd
CubeCell_Board_REGION_EU868_RGB_1.cyacd

      ^
  HERE is the difference.

Yes, that is the problem.

I can flash manually from terminal by doing:

/home/peter/Arduino/hardware/CubeCell/CubeCell/tools/CubeCellflash/CubeCellflash -serial /dev/ttyUSB0 /tmp/arduino_build_321730/CubeCell-Board_REGION_EU868_RGB_1.cyacd

  • If you try the same; Remember that the build number is random; the ‘321730’. So adjust that for you build to test it.

Is that a bug?.. Or is it due to me having changed from using Arduino IDE preferences (https://docs.heltec.cn/download/package_CubeCell_index.json) to manual Github download and install ???..

Also remember to close the monitor window in the Arduino IDE during manual flashing, othervise you get “serial.serialutil.SerialException: [Errno 16] could not open port /dev/ttyUSB0: [Errno 16] Device or resource busy: ‘/dev/ttyUSB0’”.

I do not know why my posts where flagged as spam by “community members”.

Maybe someone can help me with information.

Is someone angry at me and want to spoil my profile?..

I will leave them hidden. I have solved my problem. If the “system” wants to hide things, I will not change it.

Your post was marked as spam because you posted more than one post with the same link in it.
That is a automatic filter
I have restored your posts