Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

Downloading ELF Process failed

Altera_Forum
Honored Contributor II
8,697 Views

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 !
0 Kudos
24 Replies
Altera_Forum
Honored Contributor II
765 Views

Hi mikedsouze 

 

Thanks for your support. I have solved the problem.  

 

Thanks 

Rupok
0 Kudos
Altera_Forum
Honored Contributor II
765 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
765 Views

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.

0 Kudos
JMuri1
Beginner
765 Views

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

0 Kudos
Reply