Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHow to use an EPCS Flash
Hallo together, I'm actually trying to save data from NIOS II into an EPCS64 device. My system contains an EPCS controller. But now the confusion is complete, there are so many files for usin...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- ALTERA_AVALON_EPCS_FLASH_CONTROLLER_INSTANCE is a macro that create static structure v --- Quote Start --- ALTERA_AVALON_EPCS_FLASH_CONTROLLER_INSTANCE is a macro that create static structure var for epcs device. The behaviour you described is quite strange... I can't explain it... It still seems that all init following last TIMER init are empty... Try calling INSTANCE and INIT macro later in main(). --- Quote End --- Ok, I called the macros in main() and now it stops at the breakpoints. Sadly nothing changed. Maybe it is only a problem of presentment of eclipse, because the JTAG-UART for example (and anything elese which comes after EPCS Controller) works well. And this wouldn't be if the init wasn't called. Right? But with the call of the macros in main() I'm now able to debug the init. sequence. I will try that tomorrowar for epcs device. The behaviour you described is quite strange... I can't explain it... It still seems that all init following last TIMER init are empty... Try calling INSTANCE and INIT macro later in main(). --- Quote End --- Ok, I called the macros in main() and now it stops at the breakpoints. Sadly nothing changed. Maybe it is only a problem of presentment of eclipse, because the JTAG-UART for example (and anything elese which comes after EPCS Controller) works well. And this wouldn't be if the init. wasn't called. Right? But with the call of the macros in main() I'm now able to debug the init. sequence. I will try that tomorrow. Are there any other things to think about? Any other ideas why the open command always returns NULL? Because I can boot from this flash, it should work principally with this device!? Right?