My wio terminal is stuck on “Burn RTL8720 fw” and wouldn’t accept any code flashed to it from arduino
here is how I got to this point
when i got my new wio terminal I connected it put it in the setup mode, uploaded the “rtl8720_update_v2.uf2” to it
I then downloaded RTL8720 Firmware Releases · Seeed-Studio/seeed-ambd-firmware · GitHub
I then ran # python3 ambd_flash_tool.py erase
Output was
Done in 0.157 seconds
writeWord(addr=0xe000ed0c,value=0x5fa0004)
wait…
wait…
wait…
Flashing…
All images are sent successfully!
Image tool closed!
Success!
Burn RTL8720 fw appeared on the screen again
I then ran #python3 ambd_flash_tool.py flash -d ~/Downloads/20210519-seeed-ambd-firmware-rpc-v2.1.3
Output
Verify successful
Done in 0.151 seconds
writeWord(addr=0xe000ed0c,value=0x5fa0004)
wait…
wait…
wait…
copy img to workspace…
Flashing…
All images are sent successfully!
Image tool closed!
Success!
i then put the unit back in flash mode and tried to flash a sample code and got this error
Uploading using selected port: /dev/cu.usbmodem141201
/Users/badrtharwat/Library/Arduino15/packages/Seeeduino/tools/bossac/1.8.0-48-gb176eee/bossac -i -d --port=cu.usbmodem141201 -U -i --offset=0x4000 -w -v /var/folders/_k/h_npx9kx3gv4zzp4wxm6f_zw0000gn/T/arduino_build_860150/TFT_Meters.ino.bin -R
java.io.IOException: Cannot run program “/Users/badrtharwat/Library/Arduino15/packages/Seeeduino/tools/bossac/1.8.0-48-gb176eee/bossac”: error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:485)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
at processing.app.SketchController.upload(SketchController.java:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$UploadHandler.run(Editor.java:2061)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:247)
at java.lang.ProcessImpl.start(ProcessImpl.java:134)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
… 11 more
An error occurred while uploading the sketch
I reset the unit and i got “Burn RTL8720 fw” on the screen
any idea how i can resolve this?
as a note earlier I flashed wioterminal-aziot-example.uf2 while testing some scenario with Azure iot central