Forum Discussion
Altera_Forum
Honored Contributor
20 years agoAccesing PC files from UART
Hi everybody, I am working in a project that requires sending datas stored in an internal register implemented into the FPGA to a file in a PC (W-XP). I think the best way is using the UART (11...
Altera_Forum
Honored Contributor
20 years agohi Roberto,
you should stick to the functions in stdio.h! the functions from altera you mentioned are meant for use with the legacy sdk. You will find more information about accessing the Nios 2 uart in the software developer's handbook and the embedded peripherals handbook. In order to store data to your pc you need a terminal program that reads the data from the pc's serial port and writes it into a file. --wolf