Flashrom & AVRDude support (only legacy mode)

Help us test and improve support for AVRDude and Flashrom (legacy mode)

Firmware files & more info:

Give us feedback!

4 Likes

This is amazing! I hope to be done with the rp2350 debug today and will address this next.

3 Likes

Flashed the firmware. ~@Dreg please take a look at the chat Need some assistance here.~
EDIT: Nevermind I figured it out.

areyouloco@studio:~$ sudo flashrom -p buspirate_spi:dev=/dev/serial/by-id/usb-Bus_Pirate_Bus_Pirate_5_32420B0B33CC62E4-if02,spispeed=8M -r a
flashrom 1.4.0 on Linux 6.10.3-amd64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Found Macronix flash chip "MX25L6405" (8192 kB, SPI) on buspirate_spi.
Found Macronix flash chip "MX25L6405D" (8192 kB, SPI) on buspirate_spi.
Found Macronix flash chip "MX25L6406E/MX25L6408E" (8192 kB, SPI) on buspirate_spi.
Found Macronix flash chip "MX25L6436E/MX25L6445E/MX25L6465E" (8192 kB, SPI) on buspirate_spi.
Found Macronix flash chip "MX25L6473E" (8192 kB, SPI) on buspirate_spi.
Found Macronix flash chip "MX25L6473F" (8192 kB, SPI) on buspirate_spi.
Multiple flash chip definitions match the detected chip(s): "MX25L6405", "MX25L6405D", "MX25L6406E/MX25L6408E", "MX25L6436E/MX25L6445E/MX25L6465E", "MX25L6473E", "MX25L6473F"
Please specify which chip definition to use with the -c <chipname> option.
areyouloco@studio:~$ sudo flashrom -p buspirate_spi:dev=/dev/serial/by-id/usb-Bus_Pirate_Bus_Pirate_5_32420B0B33CC62E4-if02,spispeed=8M -c "MX25L6436E/MX25L6445E/MX25L6465E" -r a
flashrom 1.4.0 on Linux 6.10.3-amd64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Found Macronix flash chip "MX25L6436E/MX25L6445E/MX25L6465E" (8192 kB, SPI) on buspirate_spi.
Reading flash... done.
areyouloco@studio:~$ sudo flashrom -p buspirate_spi:dev=/dev/serial/by-id/usb-Bus_Pirate_Bus_Pirate_5_32420B0B33CC62E4-if02,spispeed=8M -c "MX25L6436E/MX25L6445E/MX25L6465E" -r a2
flashrom 1.4.0 on Linux 6.10.3-amd64 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Found Macronix flash chip "MX25L6436E/MX25L6445E/MX25L6465E" (8192 kB, SPI) on buspirate_spi.
Reading flash... done.
areyouloco@studio:~$ diff a a2
areyouloco@studio:~$ echo $?
0

So seems like it worked i used hexedit to see whats inside and looks like some binary data. It’s from some 1000 year old router.

2 Likes

But I had to go to SPI mode first to check the pinout on the LCD and then back to legacy binmode and then flashrom. Confirmed working.

2 Likes

thx for your feedback @AreYouLoco

the LCD minor issue will be fixed in a future PR

1 Like