-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EEPROM #100
Comments
Thanks for checking out the project. There's no EEPROM emulation in today's BSP. You're the first to ask about it, and there hasn't been a plan to add it until someone would use it. I'm happy to mentor you or anyone in contributing a FlexSPI driver, and EEPROM emulation based on that driver. |
Unfortunately I have very little experience with embedded world and with Rust, although I am interested in how one would go about developing such a functionality. I believe this is implemented here: https://github.com/PaulStoffregen/cores/blob/master/teensy4/eeprom.c and this should be used as a reference while porting? I came across this library while researching components for a future hobby project that can be written in Rust. I think Teensy is a great platform and having good tooling and libraries is essential. I hope I can help in some way. |
Yup, the EEPROM module may be a good reference implementation. We'll notice that we're using the FlexSPI peripheral throughout that code to emulate EEPROM memory. The i.MX RT reference manual describes how the peripheral works. Rather than using macros for registers, we could use the If you want something working quickly, it might be easier to integrate the EEPROM code directly into the BSP, then create a Rust wrapper around the C code. c0f1fcd shows what that might look like. |
Hi all - I attempted to modify Ian's You can see my updates here: https://github.com/dstric-aqueduct/teensy4-rs/tree/proto/eeprom The steps taken were:
Building for both boards is successful, but data written to the Teensy 4.1 does not persist between power cycles. I'm wondering if anyone can spot my error? |
Hi there, thanks for all the great work!
I can't seem to find any information about reading and writing from / to EEPROM. Is this something that is on the roadmap, or am I looking in the wrong place?
Thanks
The text was updated successfully, but these errors were encountered: