Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI'm sorry I have never used that kind of flash so I can't help you a lot more on this issue. The only flash I'm using is the EPCS. One strange thing though is this line:
--- Quote Start --- Platform: AR4080 (PowerPC P4080) IST board --- Quote End --- Are you sure this is the right platform? Did you install the Nios2eCos package and did you select the Nios2 platform? As for the link process, when using the eCos HAL tables it is important that the driver code is linked with the kernel in the main archive. If it is linked later (with the application, for example) without the -Wl,--whole-archive option, then gcc can strip some symbols that seem unused and will remove your structure from the table. But as long as your driver's cdl file is correctly read by the eCos build system, the driver should be linked with the kernel so this is a problem you aren't supposed to see.