Hello,
Recently I have bricked an Archer C20 V1 while trying to load OpenWRt on it using TFTP. The only way to recover it is to directly write the flash using SPI.
While I have some idea of soldering/desoldering as well as flashign MCUs with hex files, I have not handled a NOR flash yet. The NOR flash in the router is a MX25l6433f 8 Pin SOP.
While I do not have an SPI device for that kind of chips, what I can do is to write to it using my Raspberry Pi and FlashROM. However, to use FlashROM. first I need the layout file and the ROM file.
I am guessing that I need to do some manipulation with the OpenWRT bin file to create the ROM file (and the layout data is also probably hidden somewhere inside the bin file), but how? I do not know how either file is organized. Can you pls help?