SPI flash

It's all about the code!
Post Reply
User avatar
Site Admin
Posts: 12185
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

SPI flash

Post by AndreyB »

How are planning to use external (SPI) flash?

While JEST216 standard exists looks like it covers only part of the protocol and hw-specific driver is still needed? ChibiOS seems to have Micron N25Q128 which is now obsolete. Open question if there are any newer Micron chips with compatible commands.
1) Common commands are common to most devices.
2) Erase/suspend is not a standard feature, its status bits are placed in different registers depending on manufacturer.
3) Program/erase status bits are not placed in a standard way, this is very annoying.

On the forum they also have a version of same driver for Cypress S25FL116/132/162 which is also obsolete. Also open question if any Cypress is compatible.

But even if we get external flash working, what is the big picture plan? Do we plan to format that chip as FAT32 and implement USB mass storage access via USB? Or else? Do we plan our totally custom persistence layer? How do we plan to access the data persisted on flash? I assume mostly logs?
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239
Post Reply