Issue: Examples for the WisTrio Cellular RAK5010 Board not working
Setup: Arduino with RUI3 v4.0.0.0
Details: I compiled the various examples for the WisTrio Cellular RAK5010 Board, then flashed the resulting image to the RAK5010 and couldn’t get any serial communication with the board. I could then re-flash the latest firmware, and the module worked again. Something is wrong with the examples or the board definition.
I have another observation. I am working on windows with Arduino 1.8.19.
I decided to give it a try on my Linux machine, and the RAK5010 board is not available in the board manager. I also checked the RAK3172 which I also use, and its also not available on Linux.
Maybe Arduino is not the preferred way to develop custom code for these boards?
Thanks for the reply. Concerning the example, can you tell me how you compile the hex?
On my side, I am using Arduino 1.8.19 on windows, with the “RAKwireless RUI nRF Boards” v4.0.0. I compile the program, and the move the hex to my Raspberry Pi and program it using OpenOCD (same way I program the latest firmware earlier). Once this is done, the RAK5010 does not have a COM port and I can’t see any serial output.
If you tell me exactly how you proceed and which versions of the tools you run, I’ll try following your steps. There is probably something wrong in the Arduino board definition?
Thanks for providing the details. On creating the custom firmware using RUI3 API with Arduino IDE, you must use the uploader provided by the BSP. This will use the .bin file and not the .hex. I haven’t tried uploading generated firmware via OpenOCD. I strongly suggest to use Arduino IDE on uploading the custom firmware.
I am using Windows 11, Arduino 1.8.19 and RUI3 BSP version 4.0.0 on my previous test above.
Maybe I am missing something here. When I try to upload the custom firmware using Arduino, I get errors: "Serial: Device is either not in bootloader mode, or using an unsupported bootloader.
" followed by many “Serial: No Response: 0x45”.
I am using windows 11, Ardfuino 1.8.19, with the RAKwireless RUI nRF Boards version 4.0.1.
I selected the board “WisTrio Cellular RAK5010”, and then press “Upload” in Arduino.
I am not sure if you already uploaded this HEX firmware for rak5010 using openOCD. Can you confirm? This should allow you to send AT commands to RAK5010. If AT commands are successful, you should now be able to send custom firmware via Arduino.
Hi Carlrowan,
I have a RAK5010 and trying to do some customisation.
I just follow the steps provided here and end up getting the following errors.
2023-09-15 13:00:43,010 Serial: No ping response
Traceback (most recent call last):
File “nordicsemi/main.py”, line 1545, in
File “click/core.py”, line 1137, in call
File “click/core.py”, line 1062, in main
File “click/core.py”, line 1668, in invoke
File “click/core.py”, line 1668, in invoke
File “click/core.py”, line 1404, in invoke
File “click/core.py”, line 763, in invoke
File “nordicsemi/main.py”, line 1063, in serial
File “nordicsemi/main.py”, line 980, in do_serial
File “nordicsemi/dfu/dfu.py”, line 127, in dfu_send_images
File “nordicsemi/dfu/dfu.py”, line 88, in dfu_send_image
File “nordicsemi/dfu/dfu_transport_serial.py”, line 214, in open
pc_ble_driver_py.exceptions.NordicSemiException: No ping response after opening COM port
[44142] Failed to execute script ‘main’ due to unhandled exception!
CompletedProcess(args=[’/Users/aruns/Library/Arduino15/packages/rak_rui/tools/pc-nrfutil/v6.1.3/nrfutil’, ‘-v’, ‘-v’, ‘-v’, ‘dfu’, ‘serial’, ‘–package’, '/var/folders/z/bk_vrvw939j2wp4g4fpfkcjr0000gn/T/arduino_build_685304/sketch_sep15b.ino.zip’, ‘-p’, ‘/dev/cu.Bluetooth-Incoming-Port’, ‘-b’, ‘115200’], returncode=1)
Hi Carlrowan,
I am having RAK5010, hence I flashed the device with RAK5010_dfu_20210223065027.zip using nRF workflow Upgrading Firmware through DFU using BLE
Then, tried with at commands and it worked fine.
But Arduino code change couldn’t be pushed.
Do we need JTAG to be connected with the device for DFU to happen?
Thanks.