cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hsuh6
Visitor
Visitor
364 Views
Registered: ‎04-28-2020

How do I write binary file or text file with data onto memory using JTAG AXI Master IP.

Hi, I am trying to find the best way to populate DDR4 memory on our ZCU102 board.

I found that JTAG AXI Master may be suitable for this purpose. I look through the manuals, but what I could only see was how to write/read just a line of data from Tcl script. To write huge data onto memory, we need to write binary file or text file filled with data.

 

My question is, is there any way we can write binary file through Tcl script? For example, something like below would be helpful.

ex) create_hw_axi_txn wr_txn [get_hw_axis hw_axi_1] -address 00000000 -data data_to_write.mem -len 8 -size 32 -type write

We need to specify file "data_to_write.mem" to write large data onto DDR4 memory/BRAMs

 

Thank you!

0 Kudos
Reply
1 Reply
stephenm
Moderator
Moderator
261 Views
Registered: ‎09-12-2007

One way to do it is to use the XSCT. For example

dow -data <file> <address>