Forum Discussion

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

error -- Flash & NIOS2

Hello to all,

i built a stand alone electronics with an EP2C8 fpga and an 2MB flash-ram. I flashed my EPCS4 device with my current design. By the way, i purchased a license for MegaCore functions and i have installed the license.

Now i want to flash the ram with the NIOS2 Flash Programmer, but it doesn't work. I got always the same error message.:(

#!/bin/sh# # This file was automatically generated by the Nios II IDE Flash Programmer.# # It will be overwritten when the flash programmer options change.#

cd C:/altera/FPGA_Projecte/Prj_ARCUS-ORBITER_FlashTest/software/hello_world_0/De

bug

# Creating .flash file for the project

"$SOPC_KIT_NIOS2/bin/elf2flash" --base=0x00200000 --end=0x3fffff --reset=0x40200

0 --input="hello_world_0.elf" --output="cfi_flash.flash" --boot="C:/altera/81/ip

/altera/nios2_ip/altera_nios2/boot_loader_cfi.srec"

# Programming flash with the project

"$SOPC_KIT_NIOS2/bin/nios2-flash-programmer" --base=0x00200000 --sidp=0x00405010

--id=1624484866 --timestamp=1246526067 "cfi_flash.flash"

There are no Nios II processors available which match the values specified.

Please check that your PLD is correctly configured, downloading a new SOF

file if necessary.

Have you guys any suggestions to solve this problem???

Many thank's for your help...

Manuel

22 Replies