Altera_Forum
Honored Contributor
15 years agoStoring user data in EPCS64
I am using EPCS64 configuration device in my project along with cyclone 3 fpga.
I want to store some data at run time in unused space of EPCS64(left over space after configuration data) as I am not using any other flash in my design. when I tried to write in some location as specified in Nios II Software Developer's Handbook using functions --alt_write_flash( alt_flash_fd* fd,int offset,const void* src_addr,int length) and
--alt_read_flash( alt_flash_fd* fd,int offset,void* dest_addr,int length )
flash configuration data is getting corrupted. Please can anybody tell me how to write user data in EPCS64 without corrupting configuration data.(i,e at what address location I have to write in EPCS64?) Also please tell me at what address space EPCS64(8 MB) gets mapped to in 32 bit address space.