Forum Discussion

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

Working with Nios II and SDK

Hi,

I make a new design and are going to use legacy SDK in conjuction with a Cyclone II (2C20Q240). The main reason is to use Plugs instead of LWIP and RTOS.

I want to flash my executable Nios code. But there seems no tool available from altera. I tried elf2flash, but it doesn''t work.

Has anybody an idea how it can be done?

Thanks

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Minu,

    > I want to flash my executable Nios code. But there seems no tool available

    > from altera.

    Use nios2-flash-programmer.

    > I tried elf2flash, but it doesn''t work.

    Please be more specific.

    > Has anybody an idea how it can be done?

    Yes, elf2flash and nios2-flash-programmer. You should review the documentation.

    Regards,

    --Scott
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Scott,

    after posting my message I grubbed more in the altera documentation.

    First it seemed I do not have success. I could not download the .flash-files. I took the USB-Blaster instead of the ByteBlasterMV. After that I could download the .flash-files.

    I made some tests with my own Quartus- and Nios-Projects and it worked!

    I had to spend a couple days running this stuff on Nios SDK Shell. Because of using Plugs I inted to use Legacy SDK instead of IDE Nios II.

    I am making a desing with Cyclon II 2c20Q240 FPGA (it's a new one). Now I have to wait for the Quartus version 5.1 service pack 1. I hope I will be able using the Lecacy SDK with this new versions.

    Regards

    Armin