cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
764 Views
Registered: ‎12-06-2018

Use xsct mrd inside c source file

Jump to solution

I have an application that I can flash on zcu102 using JTAG, which bascically reads camera data and stores in DRAM. While debugging through xsct, I can use the mrd command and read the DRAM memory and dump it into a bin file. Now I have created a bootable SD card with standalone OS (included main.elf, fsbl and pwufw) doing the same thing but once everything is up and running, I would like the application to di it itself. Is there a document which helps me with using commands like mrd inside my source files (main function in my case)?

For now, after I run the program using xsct, at the end of the file, I use mrd to transfer data from DRAM to disk file. I want this to be done as part of main call. How can I achieve this?

 

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
stephenm
Xilinx Employee
Xilinx Employee
713 Views
Registered: ‎09-12-2007

No you can’t use XSCT commands in SW.

 

however, you can just use xil_io.h api to read data

View solution in original post

0 Kudos
1 Reply
stephenm
Xilinx Employee
Xilinx Employee
714 Views
Registered: ‎09-12-2007

No you can’t use XSCT commands in SW.

 

however, you can just use xil_io.h api to read data

View solution in original post

0 Kudos