greatscottgadgets / apollo

microcontroller-based FPGA / JTAG programmer
BSD 3-Clause "New" or "Revised" License
61 stars 29 forks source link

Add a method to read the 64-bit UID of the configuration flash chip #40

Closed martinling closed 5 months ago

martinling commented 5 months ago

This PR adds a read_flash_uid method to ECP5CommandBasedProgrammer, which uses the READ_UID command (0x4B) to read out the 64-bit UID of the FPGA's configuration flash.

Tested on Cynthion r1.4.