Forum Discussion
Altera_Forum
Honored Contributor
15 years agoalt_flash_open_dev
following is my code: # include <stdio.h> # include <stdlib.h># include <string.h># include "system.h" # include "altera_avalon_pio_regs.h" # include "alt_types.h" # include "altera_avalon_perfor...
Altera_Forum
Honored Contributor
15 years agoCompile all in debug mode.
Place a breakpoint on alt_flash_open_dev function. Launch the program with "Debug as..." instead of "Run as... Wait until the breakpoint hits. Then step into the function and find the point where the driver generates the error.