How to update firmware after online update fails

After clicking https://developers.aceinna.com/code/apps the python driver tries to load a firmware but fails. Now the green LED keeps flashing rapidly on the EVM and Python driver cannot find the board anymore.

Downloading Bootloader 1.1.1 and flashing using ST-LINK allows the Python driver to find the board, but it does not connect to https://developers.aceinna.com/ (UPGRADE button in https://developers.aceinna.com/code/apps greyed out)

From https://developers.aceinna.com/code/apps it allows you to download the bin file e.g. OpenRTK330L_GNSS_RTK_INS_v23.05.bin but there is no instructions on how to use ST-LINK to apply this downloaded file to the EVM.

I just paid like $500 to get this EVM 2 days ago from Mouser, and already got stuck while trying my best to follow the instructions. A single click of the "UPGRADE" button on https://developers.aceinna.com/code/apps on one of the "OFFICIAL" app caused all this trouble. Due to the complete lack of technical support I am seriously considering returning the whole thing to Mouser.

Serial number:

barcode (serial number?) 2075000294
module P/N 8350-3021-01
Information from https://developers.aceinna.com/devices/owned when it was working:
OpenRTK330L
SN: 2075000294
Part Number: 5020-3021-01
Firmware Version: 23.01
Last Connected Time: 2021-07-13 21:38:00

Please send me the firmware recovery file along with instructions.

If the green LED always flash, when it powers on, it means the device is in bootloader. We may do some steps to get it back.

  1. Send JA command to switch to app mode. The raw command should be 0x55, 0x55, 0x4a, 0x41, 0x00, 0xf5, 0x9d

  2. Upgrade firmware with command line.

Steps to upgrade OpenRTK330L_GNSS_RTK_INS_v23.05.bin

  • Power off and on your device.
  • Open python driver with specified parameters. Webserver_Win32_2.5.0.exe -c {the actual COM port} --cli. Wait for the device connected.
  • Use command upgrade {the firmware path}
  • Wait for the upgrade progress finished.

Thanks I got these:

[Info] Python driver version: 2.5.0

Connected OpenRTK with UART on COM3

Device: OpenRTK330L OpenRTK330LI 5020-3021-01 1.0.7 SN:2075000294
Firmware: BootLoader v1.1.1
Failed to extract app version information from unit.
The supported application list is ['RAWDATA', 'RTK', 'RTK_INS'].
To keep runing, use INS configuration as default.
You can choose to place your json file under execution path if it is an unknown application.
OpenRTK log GNSS UART COM4
OpenRTK log DEBUG UART COM5

upgrade OpenRTK330L_GNSS_RTK_INS_v23.05.bin
Done>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]100.00%
Restarting app ...
Upgrade fail. The device lost.

The orange/green LED now slowly flash like it did before. But I cannot connect the Python. After I unplug the power and plug in again, no lights come on, not even the rapidly flashing green LED. What do I do?

The orange/green LED now started to flash after power cycle like it did before, but still Python driver does not connect:

(base) C:\Users\breez\python-openimu>python main.py -b 115200 --console-log
[Info] Python driver version: 2.5.0
2021-07-15 00:35:35,621 - INFO: try to use last connected port COM3 115200
[Info] Websocket server is started on port 8000
2021-07-15 00:35:40,568 - INFO: start to connect serial port
2021-07-15 00:35:40,571 - INFO: try to use connected port COM6 in history
2021-07-15 00:35:40,571 - INFO: try COM6:115200
2021-07-15 00:35:40,572 - INFO: try to use connected port COM5 in history
2021-07-15 00:35:40,573 - INFO: try to use connected port COM4 in history
2021-07-15 00:35:40,573 - INFO: try COM5:115200
2021-07-15 00:35:40,573 - INFO: try to use connected port COM3 in history
2021-07-15 00:35:40,584 - INFO: try COM4:115200
2021-07-15 00:35:45,116 - INFO: try COM3:115200
2021-07-15 00:35:50,580 - INFO: try to use last connected port COM3 115200
2021-07-15 00:35:55,569 - INFO: start to connect serial port
2021-07-15 00:35:55,571 - INFO: try to use connected port COM6 in history
2021-07-15 00:35:55,571 - INFO: try COM6:115200
2021-07-15 00:35:55,572 - INFO: try to use connected port COM5 in history
2021-07-15 00:35:55,573 - INFO: try to use connected port COM4 in history
2021-07-15 00:35:55,573 - INFO: try COM5:115200
2021-07-15 00:35:55,573 - INFO: try to use connected port COM3 in history
2021-07-15 00:35:55,573 - INFO: try COM4:115200
2021-07-15 00:36:00,305 - INFO: try COM3:115200
2021-07-15 00:36:05,793 - INFO: try to use last connected port COM3 115200
2021-07-15 00:36:10,716 - INFO: start to connect serial port
2021-07-15 00:36:10,719 - INFO: try to use connected port COM6 in history
2021-07-15 00:36:10,719 - INFO: try COM6:115200
2021-07-15 00:36:10,720 - INFO: try to use connected port COM5 in history
2021-07-15 00:36:10,721 - INFO: try to use connected port COM4 in history
2021-07-15 00:36:10,721 - INFO: try COM5:115200
2021-07-15 00:36:10,721 - INFO: try to use connected port COM3 in history
2021-07-15 00:36:10,722 - INFO: try COM4:115200
2021-07-15 00:36:15,306 - INFO: try COM3:115200

OK, now it works after I remove the "-b 115200 "

Do I need to apply the calibration data since I erased everything using ST-LINK?
I went to https://developers.aceinna.com/devices/owned/2075000294 clicked "DOWNLOAD" under "Calibration Data" but got
"There is some error while generate download link. " Can you fix it? Also please let me know the instruction to apply the downloaded calibration data.

@zhihengcao ,please give me your email address .I will share you the whole bin.

zhihengcao@gmail.com

Please also help me with my other thread to get the INS to work to get higher than 1Hz fix update rate.

@zhihengcao ,I have send you the bin file ,check it ,please.

Wants to fix windows update error 80092004, yes it might looks like difficult and frustrating, just calm down, you are here because, we have the attached the solution attached in the link, you can go through it, find the easiest solution ever. We have explained it in a way that everybody can read, understand and apply to fix the said error.

Hello,
same issue here, after failed online update, green LED keeps fast flashing. Only Bootloader is flashable via ST-Link.
But no connection via python driver. With all options / baud rates etc.
RTK GNSS INS App does not flash because of Memory bigger than flash memory...
The demo App loads via ST-link but still no connection via USB python.

Can you help me out?
Device: OpenRTK330L OpenRTK330LI 5020-3021-01 SN:2075000361
Thanks

Any one found a solution for device not booting and green light flashing please ?

@song-yi-wei said in How to update firmware after online update fails:

How to send a ```
JA commande please ?

This post is deleted!

@isat-engineerYou can try to use UartAssist.exe to send JA CMD

Log in to reply