
Hi! Recently tried flashing my Thunderbolt T480 chip and got this error:
sudo ./flashprog -p serprog:dev=/dev/ttyACM0,spispeed=32768 -E flashprog p1.4-2-g8d52575 on Linux 6.15.7-arch1-1 (x86_64) flashprog is free software, get the source code at https://flashprog.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). serprog: Programmer name is "pico-serprog" Found Macronix flash chip "MX25L8005/MX25L8006E/MX25L8008E/MX25V8005" (1024 kB, SPI) on serprog. Erasing flash chip... FAILED at 0x0000200b! Expected=0xff, Found=0x7f, failed byte count from 0x00000000-0x000fffff: 0x225 ERASE FAILED! FAILED! Your flash chip is in an unknown state. Please report this to the mailing list at flashprog@flashprog.org or on IRC (see https://www.flashprog.org/Contact for details), thanks! When I did two reads and checked the sums with 1M speed, I got these equal hashes:
sha512sum ~/Projects/libreboot-t480/t480tb*.bin 4026210a96ea50b85458e54e405e81f972210db4c7882be6c3fad3f750657d76602c4c63d3e0e525923784c1e74059a687cd62e649b7f299367ebf19f4597065 /home/user/Projects/libreboot-t480/t480tb1.bin 4026210a96ea50b85458e54e405e81f972210db4c7882be6c3fad3f750657d76602c4c63d3e0e525923784c1e74059a687cd62e649b7f299367ebf19f4597065 /home/user/Projects/libreboot-t480/t480tb2.bin
My wires are a bit longer (a bit longer than 30 cm) but I've lowered the speed significantly to compensate for this. What could I be missing?