USST-RADSAT-SK / software-and-command

Code and Documentation for USST’s RADSAT-SK in their first Canadian CubeSat Project
8 stars 0 forks source link

FRAM Simple File System #38

Open tyrelkostyk opened 3 years ago

tyrelkostyk commented 3 years ago

The FRAM chip won't be used for much, so I think that a simple hardcoded "File System" layer that has internal hardcoded Flash addresses, and then just provides a simple public API for reading private keys, etc.

matthew-buglass commented 3 years ago

Notes:

matthew-buglass commented 3 years ago

Planning Stuff:

matthew-buglass commented 3 years ago

Process:

  1. Initialize FRAM
  2. Write key and IV
  3. Pass _FRAMblockProtect.blockProtect = 1 (protects upper 1/4 of FRAM)
  4. Have a function to re-write
  5. Read from many places to get a consensus and redundancy
  6. Anything else?
matthew-buglass commented 3 years ago

Generalize to using all areas. FRAM, SD card(s) A few places. Get addresses later.