newaetech / sonata-rp2040

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

Check CRC Embedded in Bitstream #6

Open alex-dewar opened 3 months ago

alex-dewar commented 3 months ago

I believe the Xilinx bitstreams should have a CRC at some point in them. According to https://support.xilinx.com/s/question/0D52E00007IPj2FSAT/crc-verification-in-the-bitstream?language=en_US this is CRC32C.

Currently the firmware does a CRC over the entire bitstream to verify that the flash write worked correctly, but it would be nice to verify the CRC embedded in the bitstream as well.