Intel: EPCS Flash Controller is used to write data to flash memory. Writing using alt_write_flash() will erase data at unintended locations. Why?
Nios II
Category: Nios® II
Tools: Nios® II EDS
device:-
alt_write_flash() Erases the target block and then writes data only to the specified offset address.
At that time, the data of the address not written is not written back.
Reference information
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2sw_nii5v2gen2.pdf
(Search for alt_flash_write or alt_flash_write_block.)
Experienced FAE
Free consultation is available.
From specific product specifications to parts selection, the Company FAE will answer your technical concerns free of charge. Please feel free to contact us.