gigcon Posted July 1, 2016 Report Share Posted July 1, 2016 Is it possible to read the Device DNA on Xilinx Spartan 3E or 6 on Papilio boards? Thanks. Quote Link to comment Share on other sites More sharing options...
Jaxartes Posted July 2, 2016 Report Share Posted July 2, 2016 I expect so, though I haven't tried it. The Spartan6 FPGA, at least, can read its own "Device DNA" with the DNA_PORT primitive according to http://www.xilinx.com/support/documentation/user_guides/ug380.pdf. It sounds like maybe Spartan3E can't according to http://www.xilinx.com/support/documentation/user_guides/ug332.pdf. I don't know if reading it via JTAG boundary scan over the USB connection will work, but that also seems like a possibility. Quote Link to comment Share on other sites More sharing options...
Jaxartes Posted July 3, 2016 Report Share Posted July 3, 2016 The "papilio-prog" command line tool displays the device DNA when I use it to load a bitfile on a Papilio Pro (Spartan6). Source code is in the "papilio_prog" subdirectory of https://github.com/GadgetFactory/Papilio-Loader. Example (underlining added): user@host:~ $ sudo ~/bin/papilio-prog -vf fpga_robots_game.bit Using built-in device list JTAG chainpos: 0 Device IDCODE = 0x24001093 Desc: XC6SLX9 Created from NCD file: fpga_robots_game.ncd;UserID=0xFFFFFFFF Target device: 6slx9tqg144 Created: 2016/06/25 15:02:07 Bitstream length: 2724832 bits Uploading "fpga_robots_game.bit". DNA is 0x59aa4afe43849eff Done. Programming time 684.9 ms USB transactions: Write 176 read 8 retries 7 Quote Link to comment Share on other sites More sharing options...
gigcon Posted July 3, 2016 Author Report Share Posted July 3, 2016 Hi Jaxartes, Good catch! I can see that as well when programming my Papilio DUO. This is very convenient. Thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.