Skip to content
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

FMC NAND Flash Driver #40

Open
5 tasks
EvanLF6768 opened this issue May 6, 2024 · 0 comments
Open
5 tasks

FMC NAND Flash Driver #40

EvanLF6768 opened this issue May 6, 2024 · 0 comments

Comments

@EvanLF6768
Copy link
Contributor

EvanLF6768 commented May 6, 2024

To persistently store information such as logs, the OBC will have NAND flash storage connected via the FMC. A driver which allows interfacing with the storage with a regular file API is required. Little FS appears to be the easiest solution for this. Additionally, to integrate better with out code, files should be able to be treated as an OutputPort.

To externally interact with the storage, the OBC should present itself as a USB mass storage device. On Linux FUSE drivers are available to make interaction easy, but on other platforms this is less ergonomic (we should not put effort into solving this issue). Concurrent access of the block device could cause errors, so running the Little FS and USB mass storage interfaces should be mutually exclusive. Full system operation while in mass storage mode is not a requirement.

Checkpoints

  • Freestanding proof of concept with raw IO
  • Freestanding proof of concept with little fs
  • Integration into codebase
  • Files as OutputPort
  • USB mass storage device interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant