Forum Discussion
Altera_Forum
Honored Contributor
12 years agoOk guys.. i got it going... there are host of API's available in the controllers "altera_avalon_epcs_flash_controller.h" and flash "sys/alt_flash.h"
alt_epcs_flash_erase_block(p_epcs_fd,addr); alt_epcs_flash_write_block(p_epcs_fd, 0, addr, &def_ctr, sizeof(def_ctr)); alt_read_flash(p_epcs_fd, addr, &def_ctr_rd, sizeof(def_ctr_rd)); you can refer threads below... http://www.alteraforum.com/forum/showthread.php?t=27724 http://www.alteraforum.com/forum/showthread.php?t=18461