newaetech / sonata-rp2040

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

UF2 Bitstream Support #11

Open alex-dewar opened 1 month ago

alex-dewar commented 1 month ago

Change bitstream programming to be via UF2 file instead of the raw bitstream. Should allow a fix for https://github.com/newaetech/sonata-rp2040/issues/10 when it affects bitstream. Current thought is to use board family ID UF2 field to distinguish between firmware and bitstream.

Will need to write the entire bitstream to flash before programming the FPGA, as we can't store the whole bitstream in RAM.