Altera_Forum
Honored Contributor
9 years agoQuery FPGA device ID from Linux
We have a board that accepts both an Cyclone V SX or ST part, and also one with more or less logic. Given device availability varies considerably, we have some boards built with one part and some with another. Before getting it to update it's own firmware, we would therefore need to know what FPGA part is on the board, so that it can get the correct flavour build for that board. Is there any way within Linux to query the FPGA ID code or similar? I've had a look through the FPGA Manager but none of the registers suggest they report the device ID. Does the HPS have access to the JTAG port, and if so, is there a Linux driver to access it to run a simple IDCODE query?
Cheers, Simon