FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5287 Discussions

cycloneIII Dev Kit, Flash erase/write error

Altera_Forum
Honored Contributor II
823 Views

Hi, 

 

I have CycloneIII development board and running cycloneIII_3c25_start example. But Flash Erase and Write is not successful. Code is pasted below: 

 

alt_flash_fd* dFlashFD = alt_flash_open_dev(EXT_FLASH_NAME); 

if (!dFlashFD) { 

return 1; 

iRet =alt_erase_flash_block ( dFlashFD, 0x0FE0000, 0x20000); 

iRet = alt_write_flash(dFlashFD, 0x0FE0000, (const void* )&Data, 256); 

 

Both erase and write functions return 0, which indicate the calls are successful. But flash memory has not be written or changed in any way. 

(still in pattern of FF 00 FF FF 00 FF ). 

 

Please help. Thank you. 

OnePlusOne.
0 Kudos
0 Replies
Reply