newaetech / sonata-rp2040

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

Programming Firmware SPI flash #4

Open alex-dewar opened 3 months ago

alex-dewar commented 3 months ago

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

alex-dewar commented 3 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 3 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.