UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor helena
Visitor
933 Views
Registered: ‎02-08-2018

How to use data from file in a bare metal application?

Jump to solution

I'm using Zybo board for a project and I have a binary file with the input data for the algorithm I'm using. The application is bare metal, I'm not using any OS (or can). I've read in a few posts that the UART could be used to do this but I can't get it to work. I needed to put the data from the files in memory and in the end I need to export the output into a file as well.

 

I'd truly appreciate if anybody could help me.

0 Kudos
1 Solution

Accepted Solutions
Scholar hbucher
Scholar
1,352 Views
Registered: ‎03-22-2016

Re: How to use data from file in a bare metal application?

Jump to solution

@helena you can use the console XSCT to read from file and write to memory

See page 26

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_2/ug1208-xsct-reference-guide.pdf

vitorian.com --- We do this for fun. Always give kudos. Accept as solution if your question was answered.
I will not answer to personal messages - use the forums instead.
Screenshot_20180219-114719.jpg
2 Replies
Scholar hbucher
Scholar
1,353 Views
Registered: ‎03-22-2016

Re: How to use data from file in a bare metal application?

Jump to solution

@helena you can use the console XSCT to read from file and write to memory

See page 26

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_2/ug1208-xsct-reference-guide.pdf

vitorian.com --- We do this for fun. Always give kudos. Accept as solution if your question was answered.
I will not answer to personal messages - use the forums instead.
Screenshot_20180219-114719.jpg
Visitor helena
Visitor
863 Views
Registered: ‎02-08-2018

Re: How to use data from file in a bare metal application?

Jump to solution

Thank you! This worked!