CubeCell Firmware Upload

I’m exploring the ASR6501 for future project and I’ve compiled and loaded the Arduino Lora Library example on one of the CubeCell Capsule and it is working fine,

I’m not using any programmer with Arduino IDE but using RX,TX(Serial Interface) to upload the Firmware on CubeCell Capsule,

so, is there any other tool(except Programmer or Arduino IDE) is available to load the Firmware over the CubeCell Capsule by using RX,TX line(Serial Interface) of capsule?

You can use vscode or my Configurator to upload firmware files.

By the way uploading firmware with the serial interface is the normal way

1 Like

you can even upload via command line.

CubeCellflash.exe -serial COM? filename.cyacd

you find the CubceCellflash.exe file in the tools directory of the board library

Thank you for the reply

I’ve tried both way 1) configurator 2) CubeCellflash.exe but every time failing to load the FW

CubeCell bootloader is giving following error every time when FW is loading process start

20.02.20 10:35:28: bootloader start

20.02.20 10:35:42: using your own Firmware …
20.02.20 10:35:42: Downloading Firmware done
20.02.20 10:35:42: Flashing Firmware …
20.02.20 10:35:46: Initialising bootloader.
20.02.20 10:35:46: Silicon ID 0x256a11b5, revision 0.
20.02.20 10:35:46: Verifying rows.
20.02.20 10:35:46: Array 0: first row 34, last row 511.
20.02.20 10:35:46: Unhandled error: Row 22 in array 0 out of range. Aborting.

any thoughts on this? why bootloader is not accepting FW?

How do you compile the firmware file?
You need the compiled firmware with a cyacd file extension

I’m using .cyacd file,
I’ve compile my source in PSoC creator 4.2 version

Are you shure you compiled it for the asr6501 mcu?

i’m using LM502(Dragino) source and compile it with PSoC creator 4.2 version and uploading it to CubeCell, LM502 is using ASR6501 mcu

here i am out.

i can only help with the supported development environments like arduino IDE or vscode

that’s fine,
can you please share how to update the bootloader of CubeCell?

why do you need to change the bootloader?
the bootloader is working fine.

Hi @LoraCube

The boot loader of CubeCell can’t be update by users, this will easily cause system crashes and can’t be restore.

Alright. so, would you please provide details how can [cores/asr650x] compiled?
means there is no project file with the source so, will it be possible to compile full source available on following path?

(https://github.com/HelTecAutomation/ASR650x-Arduino/tree/master/cores/asr650x)

this github resource is for using the arduino IDE.
Heltec did a lot work to make the ASR650X working with the arduino world.

you can development and compile firmwares for the CubeCell range of product using the arduino IDE or any other IDE that supports the arduino development like VScode.

ok, i’m new with the ARDUINO IDEbut i’ve compiled MPU9250 example,
But there is no API available which can provide microseconds since the board(cubecell) has booted,
so, would you please let me know the API which can provide microseconds since the board(cubecell) has booted?

There is no micros function implemented by now