Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 討論

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

Altera_Forum
榮譽貢獻者 II
994 檢視

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 積分
1 回應
Altera_Forum
榮譽貢獻者 II
323 檢視

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.

回覆