Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

[SoC]Reading a .txt file from SD in kid DE1/DE2?

Altera_Forum
Honored Contributor II
995 Views

I'm doing a project about tranfer file ".txt" from kit FPGA DE1 to PC via UART . How can I read data in ".txt" from SDCard(FAT32) using SOC Nios II ?  

Please, giving me some advice or document about it ! 

Thank for reading !
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
324 Views

I think there are some examples of reading files from SD on the DE1 CD. Take that as a starting point and add code to print the content of your file to the console UART. You may need to change from a jtag uart to a UART in the FPGA connected to the RS232 port on the board. You will need a DB9 to USB adapter to see the results on your PC.

0 Kudos
Reply