im-tomu / fomu-flash

Utilities to flash Fomu from a Raspberry Pi
BSD 3-Clause "New" or "Revised" License
18 stars 9 forks source link

Support DVT flash memory #4

Open xobs opened 5 years ago

xobs commented 5 years ago
fomu@fomu-jig:~ $ fomu-flash -i -t 4
Manufacturer ID: unknown (c2)
Memory model: unknown (28)
Memory size: unknown (15)
Device ID: 15
Serial number: ff ff ff ff
Status 1: 00
Status 2: ff
Status 3: 49
fomu@fomu-jig:~ $
ewenmcneill commented 5 years ago

Drive by observation (I spotted this issue while looking up something else): from the schematic it looks to me like the flash chip on the Fomu DVT is Macronix MX25R1635FZUIH0, and it appears https://github.com/im-tomu/fomu-flash/commit/38128157746c2d96e66a3eeddd84c5bb3568dc2a adds support for the Macronix MX25R1635F which based on the date seems to be added around the time that this issue was opened.

So maybe this issue can be closed? (Or perhaps clarified to say there's more specific support for that chip to be added, if it's actually going to be added -- I'm unclear if the same flash chip will be used on the production board, or if this flash chip support will be limited to the "not distributed, other issues found" DVT boards. If it's only on the DVT board, and the DVT board won't get any more support, those missing features possibly don't matter?)

Ewen

xobs commented 5 years ago

That's a very good observation!

I added support for that part when I had the test jig for all of a day. It has just enough support to validate that all four pins work -- i.e. QSPI functions as it should.

It doesn't have complete support, in that security pages don't necessarily work yet and I haven't spent much time with the final DVT boards. Hence this issue is a work-in-progress.