Menu

#38 Consider Adding EEPROM or SD Card

0.2.0
closed
nobody
None
Hardware
2022-11-02
2022-01-05
No

Kenneth MacCallum 2021-02-04 07:44:31 PST
If the SFDQ had an eeprom, then this could be used both for non-volatile storage, but also for a secure way to update firmware.

  • transfer the new firmware to eeprom in chunks until complete
  • then CRC it to ensure it's correct
  • then invoke bootloader
  • I believe bootloader can load new code directly from certain eeproms

Kenneth MacCallum 2021-02-04 08:13:18 PST
Actually, the built in bootloader cannot load from eeproms. Still, it feels more secure to first load the new code onto a local eeprom and then load into flash, instead of doing it over the uart.

Discussion

  • Harrison Fletcher

    Leaving this ticket open for investigation into booting from SPI flash. Potentially made possible by the addition of an SD card on SPI3 in rev X7.

     
  • Kenneth MacCallum

    • status: open --> closed
     

Log in to post a comment.