Forum Discussion
Altera_Forum
Honored Contributor
20 years agoFAT on Compact Flash
Hello, I just found how to implement FAT file System on my Compact Flash without any OS, on the 1C20 Evaluation Kit and I think anybody is interresed by this subject. Sorry for my en...
Altera_Forum
Honored Contributor
19 years agoHi to all,
I discovered the effect but not the cause for the 1GB memory. When using the reading command IORD_ALTERA_AVALON_CF_IDE_DATA, only odd registers are read!!! So all the informations (sectors, cylinders, etc...) are completly wrong and nothing works. Maybe this is due to the use of CS1 and CS2 (chip select). Reading at http://www.freeweb.hu/vfx/avr/download/cf.asm (http://www.freeweb.hu/vfx/avr/download/cf.asm) I found out the CS1 should stay low and CS2 high in order to read even and odd bytes serially; but this is exactly what the NIOS2 board outputs... Please let me know if you have some ideas! Thank you, Davide