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 Ilan-g7,
I am starting to learn Altera Nios CPU, so I am probably doing silly things. Past days I realized that /prueba/test.txt is not recognized by the FPGA inside my PC, but it is considered a file path in the own FPGA. As there is no file in such FPGA it has no sense for it. Reading Altera's manuals I found a set of instructions to manage the UART: nr_uart_txcr nr_uart_txhex, etc, etc... This week I'll try to use them but I do not know if this way is the correct. When I am capable of sending datas from the FPGA to the PC I suppose I'll need a program in the PC to open a virtual console in order to store datas in a file. well, if you have some experience in this task or can help me clarifying concepts would be great!!! Thanks. Roberto.