Forum Discussion

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

Problem with flash programmer

Hi,

I am sure it is a beginner problem but I am not able to find an answer in the help of NiosII.

I would like to program my FPGA (http://www.altera.com/products/devkits/altera/kit-dsp-2s60.html) with a .sof file.

So I create a new project hello_world with a niosII_stratixII_2s60\full_featured SOPC builder.

then I go to the flas progammer, I choose my project. Project and SOPC builder are recognized.

Then I select the box "Program FPGA configuration data into harware-image region of flash memory". I disselect "Program software project into flash memory).

I choose my .sof file

Then I choose my hardware Image, I have two choices: factory U5+0xC00000 or user: U5 + 0x800000.

I choose the second ( but it dosnt work with the 2 configurations).

I switch on my board,

Then I click on Program flash.

Building and conversion to flah file are OK.

then he tells me:

"#  Programming flash with the FPGA configuration
$SOPC_KIT_NIOS2/bin/nios2-flash-programmer --device=1 --sidp=0x021108C8 --id=203
2497071 --timestamp=1145613411 --base=0x00000000 full_featured.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. "

I had a look to the ug_nios2_flash_programmer:

Probable Cause
The flash programmer is unable to connect with a Nios II JTAG debug
module inside the FPGA.
Suggested Actions
■ Make sure that the FPGA is running a valid flash programmer target
design. If not, you need to configure the FPGA using the Quartus II
programmer. See “Flash Programmer Target Design” on page 1–3.

What does that mean???

I had a look on page 1-3 and they say to use the full featured SOPC builder (as i did).

I have tried some others configurations but none allow me to go further than the config I have described.

Can someone help me ?

19 Replies