Forum Discussion
Altera_Forum
Honored Contributor
20 years agoFor the record, tying pin 9 of the Compact flash card socket to ground (for IDE mode) has made no difference to the board that won't run.
A few more details for anyone interested ---- The hardware design is based on the std_1s40 CF example but fitted to the statix 1s10 on the Nios development board (Stratix edition). The LCD connections have been moved to J15 so as not to interfere with the CF. The cf_testutils where first run to check for correct card read/write at the lower level. Then an eCos library was build with the five components required for CF support (FAT filesystem, Disk Device Drivers, File IO, Block Cache & access Lib, Linux compatibility) added to the basic nios template. Then a project was built (using Nios IDE) with the fileio1.c CF test example. The code runs from dram, ie reset address, exception vetors, text and data etc all in dram. On one board everything works. On the other board other projects work and the cf_testutils works. However when the project with fileio1.c is run, execution gets stuck in some initialization in the Block Cache & access library code. Any advice on this would be welcome.