Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

reading zipfile from flash memory

altera cyclone ii 2c35 de2 board.

what is the base address for CFI flash memory?i have programmed the zip file onto flash memory,i want to read that file from flash memory.

i am getting the error " cannot read file1.txt ".

i am bit confused about which file i have to program onto flash,please tell me either it is .zip file or .flash file.

The procedure that I followed:

1 I have created nios ii soft core using these components nios ii,jtag uart,sram,system id,timer,tristate bridge,cfi flash

2 NIOS II SOFTWARE: File new ->new c++ app->zip file system

zip_filesystem_0_syslib->properties zip_filesystem_0_syslib->system library->software component ->altera read zip only file system ->specified a zip file to include in the HAL file system

Then I builded the project

3 The have downloaded USB_API file on to the DE2 board and I have used de2 control panel for programming the .zip file onto flash

I downlaoded the sopc file onto the board and run nios ii software

I am getting above error

please let me know if my procedure is wrong

GOD BLESS YOU
No RepliesBe the first to reply