cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
275 Views
Registered: ‎05-05-2017

Read device DNA using xsdb

Task at hand: Read out device DNA of Zynq chips using either xsdb or hw_server.

I'm aware that a script exists for Vivado in batch mode, but I'm already using xsdb in my setup and don't want to add another tool. A possible way would be to send tcf commands directly, like:

 tcf send_command $::xsdb::curchan Xicom_v1.00 efuseRead <remaining_args>

but as there is no user documentation and tcf is pretty much considered Xilinx internal, I have no clue how <reminaining_args> should look like.

Ideas appreciated!

Tags (3)
0 Kudos
4 Replies
Highlighted
Moderator
Moderator
235 Views
Registered: ‎06-05-2013

Re: Read device DNA using xsdb

Try the below command for HW_server:-

get_property REGISTER.EFUSE.FUSE_DNA [lindex [current_hw_device ]]

-Harshit
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
194 Views
Registered: ‎05-05-2017

Re: Read device DNA using xsdb

Hello Harshit,

thanks for your answer!

I'm not sure if I understand what you mean by "command for HW_Server". Commands that are directly send to hw_server over socket connection (port 3121) look quite different from what I've seen from wireshark captures - and I didnt' succeed sending the command you've written over telnet either.

Using vivado -batch works, but as I mentionted, it is out of question. It's either pure hw_server or xsdb. Could you shed some light on this?

Thanks

Marc

0 Kudos
Highlighted
Moderator
Moderator
146 Views
Registered: ‎06-05-2013

Re: Read device DNA using xsdb

Hi Marc,

I used the above command after connecting the device to the Vivado HW manager. Let me know if this AR https://www.xilinx.com/support/answers/64178.html works for you.

Thanks
Harshit
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Visitor
Visitor
103 Views
Registered: ‎05-05-2017

Re: Read device DNA using xsdb

Hi Harshit,

thanks for your reply.

The commands work if I either use Vivado in batch or tcl mode (vivado -batch, vivado -tcl), but as I have clearly stated above, using vivado in any mode is out of question. It's a) another layer of complexity, b) a different tool than I'm already using (xsdb + hw_server) and c) it takes waaaay to long to start.

I'm looking for a solution that is blazingly fast (at least in Xilinx world order, let's say below 1s) and I'm willing to go as deep as necessary, e.g. using xcf commands directly.

Best

Marc

0 Kudos