Hello Daniel,
Thank you very much. Problem solved!
Best regards,
Emiliano
Em 30/07/2018 07:27, Daniel Thompson escreveu:
On Sun, Jul 29, 2018 at 05:59:24AM -0000, awokd via flashrom wrote:
On Fri, July 27, 2018 8:11 pm, Emiliano A. Veiga wrote:
Hello dear,
I've try to program an SPI flash from Macronix MX25V1635F and receive the following mensage from flashrom:
Calibrating delay loop... OK. Found Macronix flash chip "unknown Macronix SPI chip" (0 kB, SPI) on ft2232_spi. === This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE The test status of this chip may have been updated in the latest development version of flashrom. If you are running the latest development version, please email a report to flashrom@flashrom.org if any of the above operations work correctly for you with this flash part. Please include the flashrom output with the additional -V option for all operations you tested (-V, -Vr, -VE, -Vw), and mention which mainboard or programmer you tested. Please mention your board in the subject line. Thanks for your help! Read is not working on this chip. Aborting.
Can you help with this?
Don't see that in the list of supported chips. You might have to add the flash chip definition, but I'm not exactly sure how to do that...
There basically a big table in flashchips.c .
It's relatively easy to add new chips providing it is safe for Emiliano to experiment (e.g. if flashrom does something "bad" it won't brick an expensive board).
Basically look through the parts table looking for a chip that is as similar as possible to the one you have and clone it, then work through the datasheet updating the various fields. flashrom is coded pretty defensively which helps... when I tried this it found several of my mistakes during its initial sanity checks.
Daniel.