Hi Nero.
I tried the procedure but aborted in the final step of flashing using DFU, because the confirmation popup asked for a *.dat file when trying to upload a hex file.
Let me try to clarify the situation.
I DO NOT have a Jlink programmer.
The rak5010 board is new, so it has the original .hex.
I want to burn the feather express bootloader as first step so in next steps I can program using serial port directly from Arduino IDE. (Is this correct?)
Sorry for the inconveniences. Not english speaker, and I donāt want to do something irreversible.
Can you (or anyone) detail how to?
Hi,
The original hex is suitable for RUI. RUI is different from Arduino. Means you canāt OTA other bootloader or application to the board. Because it is cryptographic during OTA. One bootloader corresponding one application and one DFU zip. If you want to use other bootloader, you must use a programmer like Jlink or DAP-link. Or you can use our RUI compile system. It will supply the DFU zip, HEX. Our firmware canāt guarantee non-RUI hex or DFU.
Hi @nero. Back again!
Finally I could flash the bootloader using a Raspberry PI and openocd.
Then, using Rak5010.rui from github, everything goes ok, compiling and flashing.
The problem Iām facing, is only receiving the:
****************************** Arduino on Rak5010 ******************************
bg96 power up!
message in serial terminal, and nothing else.
Could you tell me where to look?
Compiling with no errors, also when flashing. Following the steps as this post indicates.
Hi,
Do you modify the example code? After it starts up, it will power bg96 and scan all sensors on the boards. It looks like you are stuck here. If bg96 starts ok, the blue led on and red blink. Is it ok on your board? If ok, next to check sensors. In the setup(), you can delete sensors init one by one to find which sensor is not ok. It is important to exclude hardware problems.
OK, I see. Because the power up step is same as power off on bg96. So after download, youād better remove the usb and insert again. And then open serial tool.
Hi Nero. Finally I found a problem in PCA1006 variant file. Serial1 wasnāt declared properly.
With Raspberry Pi, could flash, and reflash correctly. Then using Arduino IDE to burn new firmwareās.