02-23-2017 09:08 PM
I am using zc702 board to process a large mount of data. After the arm core is start, I need to write these data to the DDR on board so that the PL side can fetch these data and process them. The only way I know to write DDR by arm core is using Xil_Out function. But the data is too much to write them one by one. Is there a way to load data from a file (I have stored all the data to a text file) to DDR or any other solutions to do the DDR initialization.
02-26-2017 09:48 PM
02-27-2017 08:04 PM
The way I use dump/restore is through these steps:
1 - Select Processor: "Name= Xilinx Hardware Server"
Bottom window, I expand APU and select Core #0 and click OK
2 - Browse for my file
3 - Select restore memory button
Fill the Start Address & Size in Bytes
And it's there when I check the memory contents with the "Memory View"
08-30-2019 08:18 AM
I am looking for an answer to this
Restore option requires ascii file as a input file to be restored. Can you please post a sample code to generate the ascii file from a file containing a list of hex values to be loaded into DDR
08-30-2019 09:09 AM
08-30-2019 09:26 AM
Thanks for letting me know about this/
What is the format of file that is passed with dow
dow -file <file> <address>
in the dow description, says ELF
how do I change a file with hex values into ELF file
08-30-2019 10:00 AM
This would be a bin/hex file. If you are using the ELF then you would not use the -data switch as the tools will place the elf in the correct memory location based on the linker information.
What file are you looking to copy?
08-30-2019 11:53 AM
I wish to copy all filter weights of a neural network to DDR
These weights (in serveral hundred MBs) are converted from 32 bit float to the corresponding hex representations
If I say:
dow -data <filename> <address>
where filename being "weights.hex", will it work in a quicker way compared to the restore option from SDK gui?
08-30-2019 09:32 PM
dow -file test.hex 0x0
does not work with xsct
if there is a file , the command is
dow -data test.hex 0x0
this does not load hex values exactly into the memory
but encodes it in ascii while writing to DDR
please help, what is the exact command to enter a hex file using dow?