-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
Support for logging via NAND flash #22490
Comments
First step would be to add it to NuttX, I think. Right @davids5? |
@j-chen-opteran have a look at https://lists.apache.org/thread/kh5t6fn24q97d3qxzthksld4l3jtw27c and see if this offers any indication it has been worked on, or added. |
Appreciate the quick replies! Did some digging in the direction @davids5 pointed. It appears NuttX itself has partial support for NAND flash and I'm happy to have a crack at implementing this. However I see that PX4 submodules NuttX - this is a bit new to me and I'd like to start the right way. I assume code changes has to be done in the NuttX repo first? Thanks |
@j-chen-opteran - the process can be done 2 ways, really in 2 differing orders.
In the end all the works should go upstream and get back ported. |
Hi @j-chen-opteran, are you working on this? I can try to help. I don't have a lot of experience in that field, but I'm eager to learn. |
Is anyone working on this? If I understand correctly, V1.3 of the KakuteH7 mini even has 1GBit/128Mb of NAND Flash, would be a shame to let that go to waste. |
@sstroobants contributions welcome. |
I would love to, but I'm afraid I lack the skills to develop something as embedded as this. If I find time I might try to see what is possible, but a first glance in the NuttX documentation makes me believe it has to be built from the ground up. |
Again, I'd love for this to work and would want to spend some time on this. I do lack the skills to start on this however so if there is anyone that wants to help me with this, that'd be much appreciated. |
@sstroobants it depends what actual hardware you're talking about, but potentially everything you need should be in place as of #23424. |
@dagar thanks for the response. I am not exactly sure what you mean. The problem (I think), is support for NAND flash in NuttX and LittleFS which are both not (fully) implemented. Again, my knowledge on these low-level things is very limited so correct me if I'm wrong. |
Describe problem solved by the proposed feature
Describe your preferred solution
Describe possible alternatives
Ardupilot contains a driver that uses the NAND flash chip over SPI:
https://github.com/ArduPilot/ardupilot/blob/c5b9f5051f997ec3f0f223380f912f5f51de641f/libraries/AP_Logger/AP_Logger_W25N01GV.cpp#L8
Something like this could be feasible.
Additional context
No response
The text was updated successfully, but these errors were encountered: