Forum Discussion
Altera_Forum
Honored Contributor
21 years agoProblem Writing CFI FLASH Using NIOS HAL
I'm trying to get the alt_write_flash and alt_erase_flash functions working. When I try to open the FLASH device specified in my system.h using the alt_flash_open_dev function it always ret...
Altera_Forum
Honored Contributor
21 years agoThe init function is called from alt_sys_init.c - which is automatically generated to match the hardware described in your system.ptf file.
You don't have to call it, and yes it is the function which registers the flash.