After semi-bricking a TEW-810DR, I've ordered a USB TTL interface cable which should arrive today. I'm trying to think through the flashing procedure.
The TEW-810DR will bring up a "Rescure" web interface which allows me to select and upload a factory firmware 5.6M image. After a "Success" message, the firmware apparently does not either get installed or does not boot.
I'm using Debian 10 with 2 different options for tftp servers (tftp-hpa or atftpd) and several terminal programs (screen, minicom, kermit)
I have the serial connection parameters:
and the total flash size
dev: size erasesize name
mtd0: 00800000 00010000 "ALL"
Both tftp servers have /srv/*** directories and are normally started by systemd. Any recommendations on which to choose and how to setup? How to convert 5.6MiB to hex?
My understanding is that I upload the renamed firmware image to RAM,
tftpboot 0x81000000 firm.bin
Erase the ~7.75mb flash
erase 0xbf020000 +(5.6MIB converted to hex)
Then copy from RAM -> flash
cp.b 0x81000000 0xbf020000 (5.6MIB converted to hex)
Thanks in advance for any replies