05-01-2018 06:44 AM - edited 05-01-2018 06:46 AM
I've designed a simple design on a FPGA board, each time it write some data in DDR and i use uart in SDK to print data out using xil_printf. I reset the system every second, it overwrite the data in DDR and then i print it out in the console again.
So my problem is:
1. How can i write the data in a txt file on my computer, instead of copy it from the console.
2.Is there some function other than sleep(), so that i can set an delay less than a second?
it should be easy, i googled, but don't find an answer...
thanks in advance.
05-01-2018 08:11 AM
Use a serial communications program that will log the output from your serial port. Kermit, Minicom, putty? You could even use a python script to listen to the port, with the right python module.
05-01-2018 05:45 PM