Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHippo thank you very much . i have write and read a file in CF card.
the case is over?? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif I summary it if you want to use the CF card in nios2. 1. You need to download the CF examples, http://forum.niosforum.com/downloads/cflash/cf5_0.zip (http://forum.niosforum.com/downloads/cflash/cf5_0.zip) Use the 2C35's sof and ptf in the examples design. In kernel config, select drivers->ata->altera CF <*> Include IDE/ATA-2 DISK support (NEW) select the native language support in menuconfig 2. Mount it mount -t vfat /dev/hda1 /mnt 3. when you write a file in card of cf ,you should make sure to be saved. so you to do "umount /mnt Beacuse I have only 2 month to learn the linux . hippo give me more help . thank you very much .