Forum Discussion
Altera_Forum
Honored Contributor
20 years agoProblem with Flash alt_flash_open_dev()
Problems with: alt_flash_open_dev() I am running the memtest.c program that Altera provides with the Nios II IDE. It runs as expected when testing RAM but I have problems when testing Flash....
Altera_Forum
Honored Contributor
20 years agoJimbo,
You've got a couple of debug options, though what you're trying to do should certainly work: 1. Step through the initialization code for the CFI Flash (ext_flash) in your system. It's called from within alt_sys_init.c, which, in turn, is a part of your System Library project. 2. Try to program your flash, using the command line tool (not through the GUI). You should be able to get a lot more information here. Best Regards, and Best of Luck. - slacker