Hi all,
I’m trying to flash an AmebaPro2 board. I’m trying to use the uartfwburn tool. I am on WSL2.
Erase works every time.
$ uartfwburn.linux -p /dev/ttyUSB0 -b 2000000 -e chip -U -x 32 -r
...
programing [========================================] 100% 81920/ 81920 bytes
programing done.
uboot ok
reset device
/dev/ttyUSB0 opened
reset device
erase success
Firmware write fails at the very end, after reporting 100%:
$ uartfwburn.linux -p /dev/ttyUSB0 -b 2000000 \
-f .../GCC-RELEASE/build/flash_ntz.bin -U -x 32 -r
xmodem tx 32K mode
/dev/ttyUSB0 opened
ping ok
ucfg ok
flash loader path .../Pro2_PG_tool_v1.4.3/flash_loader_nor.bin
Uart boot
programing [========================================] 100% 81920/ 81920 bytes
programing done.
uboot ok
reset device
/dev/ttyUSB0 opened
ping ok
ucfg ok
download to offset 0x0
masked area [0x0, 0x0]
dowload 0, [0x0, 0x4b2000]
programing [========================================] 100% 4947968/ 4947968 bytes
programing done.
fail for download 0
reset device
download fail
-
Tried on native Windows using uartfwburn.exe, same error.
-
Tried various bauds of
-b 115200,-b 921600,-b 2000000. -
With and without
-U. -
With and without
-r. -
-x 32and the default block size.’ -
Reinstalled FTDI drivers.
When i hit the reset button while monitoring output i can see this:
== Rtl8735b IoT Platform ==
[test mode PG]
Download Image over UART1[tx=4,rx=3] baud=115200
What could i be doing wrong?
Thanks!