On 1/19/10 4:01 AM, Carl-Daniel Hailfinger wrote:
Dediprog SF100 support.
Reverse engineered from USB logs. I never touched that programmer nor did I ever see the associated software. Disabled by default until it is complete. The driver needs to be hooked up to the SPI core before it will do anything besides init and diagnostics.
I successfully reverse engineered all commands, but some are still somewhat magic. Logs from "flashrom -p dediprog -V" are appreciated.
Probe and read should work, erase/write is expected to explode. The programmer will set voltage to 0 on exit.
Thanks a lot to Stefan Reinauer and Patrick Georgi for providing USB logs and for testing the result.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
MacPro:flashrom stepan$ ./flashrom -p dediprog flashrom v0.9.1-r869 Calibrating delay loop... OK. Found chip "ST M25P32" (4096 KB, SPI) at physical address 0xffc00000. No operations were specified.
Aside from the physical address making not much sense (for any non-direct programmer)
MacPro:flashrom stepan$ ./flashrom -p dediprog -r testimage.rom flashrom v0.9.1-r869 Calibrating delay loop... OK. Found chip "ST M25P32" (4096 KB, SPI) at physical address 0xffc00000. Reading flash... ^C
The reading does not seem to work yet, even after several minutes, the image is still zero bytes.
Stefan