newaetech / sonata-rp2040

rp2040 firmware for Sonata
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Programming Firmware SPI flash #4

Closed alex-dewar closed 3 months ago

alex-dewar commented 8 months ago

Allow programming of the firmware SPI flash. Will probably need to autodetect firmware vs. bitstream vs. OS files

alex-dewar commented 7 months ago

Could potentially use UF2 file format: https://github.com/microsoft/uf2

Would make it very easy to tell what is/isn't firmware, gives the file size, includes a checksum, etc.

marnovandermaas commented 7 months ago

Yes, this looks pretty nice. You could even use extension tags for a SHA2 checksum and to have a custom identifier for different types of files.