Forum Discussion

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

Problems uploading flash memory -- part 2

Hi,

I used the Nios II EDS sof2flash program in the Quartus II 9.1 License Edition to convert a sof file to flash format.

I attempted to use the Board Update Portal and the Nios II EDS to program the flash memory with the flash file on my Stratix IV GX FPGA development board (device EP4SGX230KF40C2N).

After the file loads 100% successfully into the flash memory, I turn the rotary switch (SW2) on the board from position 0 to 1, then power cycle the board, but an error occurs and red LED D27 comes on. I tried again to program the flash memory and when complete, I pressed the CONFIGN button (S1), but I still get the same error.

By the way, the sof file is targeted to my specific device and the Mega Cores used in this sof file are all fully licensed.

But we noticed that the size of the flash file created by Nios II EDS is 28 MB and the User Hardware portion of the flash memory is only 12MB. Looks like we're getting this error because I'm trying to make fit a flash file that's too large for the allotted memory space?

How do I reduce the size flash file created by Nios II?

Thanks,

Eric

-------------------------------------------------------

Electronics Engineer

Microwave and Communication Systems Branch

NASA Goddard Space Flight Center, Code 567

8800 Greenbelt Road, Greenbelt, Maryland 20771, USA

Building 25, Room S054, Mail Code 567.3

Phone: (301)-286-3439 Email: eric.j.harris@nasa.gov

-------------------------------------------------------

29 Replies