Forum Discussion

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

Downloading ELF Process failed

PC:

Altera 10.0sp1, Nios IDE10.0sp1; Win7 32bit ultimate Chinese edition

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

when i use on chip memory,every goes well.but when i use sdram controller,try many times,the same error.

Using cable "USB-Blaster [USB-0]", device 1, instance 0x00

Processor is already paused

Reading System ID at address 0x00000000: verified

Initializing CPU cache (if present)

OK

Downloading 01000000 ( 0%)

Downloading 01003D58 (63%)

Downloaded 16KB in 0.2s (80.0KB/s)

Verifying 01000000 ( 0%)

Verify failed between address 0x1000000 and 0x1002723

Leaving target processor paused

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

the log:

Downloading ELF Process failed,An exception stack trace is not available.

Failed Executing: [nios2-download, '--cable=USB-Blaster on localhost [USB-0]', --device=1, --instance=0,

CPU master group not set.

CPU architecture type not set.

...

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

what should i do?thank you !

24 Replies

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

    Hi mikedsouze

    Thanks for your support. I have solved the problem.

    Thanks

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

    Hello Rupok,

    Can you share your solution ?

    I've the similar problem and can't resolve it since 3 days.

    I've tried 2 different projects - one with On-Chip memory, other with SDRAM.

    The result is the same in both cases - downloading begins ... then fails suddenly.

    Here is the message in console:

    Using cable "DE-SoC [USB-1]", device 2, instance 0x00

    Pausing target processor: not responding.

    Resetting and trying again: FAILED

    Leaving target processor paused

    Thanks in advance.

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

    check the resets and clock signals to the core CPU. I'd say there is a good chance either that it's not receiving any clock or that it's stuck in reset. For example with the wrong polarity defined on the reset input.

  • JMuri1's avatar
    JMuri1
    Icon for New Contributor rankNew Contributor

    Hi,

    I found out that I had not moved one of the keys on my MAX 10 board up to the correct position. By moving key 9 to the up position Nios II was able to upload the ELF file without a problem.

    /James