I have a Netgear DGN 2200 v1 router (first version) it is compatible with old versions of the openwrt firmware, but not with the latest ones because it has little ram memory. For this reason I downloaded the old compatible firmware "openwrt-15.05-brcm63xx-generic-96358VW-generic-squashfs-cfe.bin"
During the flash procedure, it hangs while loading the firmware file and from the command prompt of Putty it reads this string. CFE command error -21 other times instead command error -22
For the flash procedure I proceeded as follows:
enabled TFTP client on windows 10
I set the CH341A USB programmer to TTL (pin 2-3). I connected GND of the programmer to GND of the jtag pin GND of the Netgear DGN 2200 - TX of the programmer to RX of the router and Rx of the programmer to TX of the router.
I installed Putty and configured it to Serial - COM port 12 - baud 115200 - bit 8 - 1 - none . I set the IP of the network card of the PC like this:
IP address 192.168.0.100
I installed TFTP and clicked on TFTP Client and set the path where the firmware file is.
I checked in device manager that the programmer is connected to COM port 12.
After all the connections and settings I opened Putty and accessed the router then immediately while booting the router on the putty command prompt, I pressed a pc key to block the boot.
Putty's command prompt stopped booting and said CFE with the cursor blinking.
Up to here everything has gone well as well as the guides I have seen indicated. Then next to CFE and the flashing cursor I wrote:
"f 192.168.0.100:stable.bin" and hit enter.
(for easy of writing on the prompt I renamed the firmware: from "openwrt-15.05-brcm63xx-generic-96358VW-generic-squashfs-cfe.bin to "stable.bin"
the loading phase started but then the block with the following writing resulted:
" Loading failed : CFE error -21 - command status = -21"
I tried to put the IP to the network card 192.168.1.100 as some guides say
(even if the router doesn't have IP 192.168.1.0 but 192.168.0.1 and it can't even be changed from its webpage) for the sake of scruple, however, I tried with this IP and it stops immediately this time indicating that it can't find the firmware file and with the writing
" TFTP error File no found - Loading failed: CFE error -22 : command status -22"
I think I set the TFTP software wrong, but I don't know how to set it. How to solve the problem? Thank you