Forum Discussion

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

Usb blaster nios and eclipse?

Guys, how can I download .elf to the board. I can not find usb blaster in eclipse. How can I find it? it can be found on quartus 12.1. any clues? thx

Please see attachment...

10 Replies

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

    Your FPGA project with Nios is compiled and configured to FPGA ?

    This window in Properties shows only accessible Nios-es in current "live" configuration.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    only accessible Nios-es in current "live" configuration....

    Do you mean after I configure FPGA chip, I can see the chip here and upload the C code into it ? thanks
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes, Nios is soft-processor, unlike "hard" ARM in SoC, its core(s) will be added in QSys to Quartus project, configured in detail and compiled to .sof | .rbf.

    Default configuration in boards usually not contain any Nios-es.

    And if your loaded configuration really contain Nios, may try reboot of Windows to see normal system.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    So I upload NIOS to EP4CE10 first and after that I upload again the LED test code into it, eclipse will detect itself if EP4CE10 has NIOS already ? I put the configuration in EPCS16 ? thanks

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

    Your questions is very strange. My questions on Rus-Eng is analogous ? :)

    You is experienced Nios-user or beginner ?

    In 2nd variant please describe in details all our actions to debug Nios program, readed documents and your board with FPGA.

    With default configuration (or empty) Nios-Eclipse-IDE can't see any Nios core, and "alien" cores with different from .sopcinfo parameters can't used for debugging.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm beginner for Nios....

    Here's what I've got from the board DVD

    General Process is as follows:

    1. Copy the Nios II processors (Quartus II projects) to your computer, which are located in "DVD_ALTERA_EN\data\program\EP4CE6\nios\Quartus II Project".

    2. Launch Nios II IDE

    1) Create a new Nios II project.

    2) Config the Nios processor by specifying the PTF file directory on the "Select Target Hardware" section. The PTF file directory depends on where you placed the Nios II processors in step 1.

    3) Copy the corresponding c code in "DVD_ALTERA_EN\data\program\EP4CE6\nios\Nios II C Code" into the new project.

    4) Build the new Nios II project.

    3. Connect the development board to the PC through a download cable.

    4. Back to the Nios II IDE

    1) Download the Nios II processor to the FPGA, select"Tools->Quaters II Programmer" to download the sof file.

    2) Run the Nios II project (right click the makefile, select "Run ->Run As->2 Nios II Hardware", it may takes several minutes). When download completed, the demo code should starts to run automatically.

    What do you reckon ?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    May try all operations on other PC ? Reinstall Altera-s all on current...

    If exist precompiled .sof for this project and is downloaded to FPGA, Eclipse MUST see its Nios !