I am following the guide: RAK11720 WisDuo LPWAN+BLE Module Quick Start Guide | Documentation Center
I connected BOOT to VDD and connected GND to RST briefly.
After selecting Ambiq SPL as programmer and clicking to burn bootloader, I get this error
Connecting with Corvette over serial port /dev/cu.usbserial-210...
RESET RAK11720 BOARD!!!
Sending Hello.
Received response for Hello
Received Unknown Message
msgType = 0x7720
Length = 0x7469
['0x54', '0x65', '0x73', '0x74', '0x20', '0x77', '0x69', '0x74', '0x68', '0x20', '0x48', '0x49', '0x47', '0x48', '0x20', '0x61', '0x6e', '0x64', '0x20', '0x4c', '0x4f', '0x57', '0xd', '0xa', '0x53', '0x65', '0x74', '0x74', '0x69', '0x6e', '0x67', '0x20', '0x74', '0x6f', '0x20', '0x48', '0x49', '0x47', '0x48', '0x2c', '0x20', '0x61', '0x6e', '0x64', '0x20', '0x77', '0x61', '0x69', '0x74', '0x69', '0x6e', '0x67', '0x20', '0x35', '0x20', '0x73', '0x65', '0x63', '0x6f', '0x6e', '0x64', '0x73', '0xd', '0xa', '0x53', '0x65', '0x74', '0x74', '0x69', '0x6e', '0x67', '0x20', '0x74', '0x6f', '0x20', '0x4c', '0x4f', '0x57', '0x2c', '0x20', '0x61', '0x6e', '0x64', '0x20', '0x77', '0x61', '0x69', '0x74']
!!!Wired Upgrade Unsuccessful!!!....Terminating the script
Traceback (most recent call last):
File "uart_wired_update.py", line 353, in <module>
File "uart_wired_update.py", line 42, in main
File "uart_wired_update.py", line 185, in connect_device
NameError: name 'exit' is not defined
[13286] Failed to execute script 'uart_wired_update' due to unhandled exception!
Failed to burn bootloader: uploading error: exit status 1
I am using Arduino IDE 2.3.3 on a Macbook with MacOS Sonoma 14.7
Looking at the error message it looks like something wrong in the uart_wired_update.py script, but I cannot find this file to look into it.
I did eventually find it here:
Seems its using exit() when it should be sys.exit().
But this error comes when the flashing has already failed, as I now understand it failed due to “Received Unknown Message”
