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++
12606 Discussions

problem when program is running in IDE

Altera_Forum
Honored Contributor II
1,129 Views

i create a small niosII system. I just want to let my lcd display some simple characters.I use the EP1S40 PRO development board. My niosII system includes a niosII5.0 , a sram as reset memory(1024 K bytes),a on chip ram as exception memory(64 K bytes) ,a simple lcd interface ,a tri-state bridge.The hardware and software are all ok,but when i run in IDE , 

the system give me some error messages as follows. What is the very reason?how to deal with it? 

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

Pausing target processor: OK 

 

Downloading 00100000 ( 0%) 

Downloaded 18KB in 0.2s (90.0KB/s) 

 

Verifying 00100000 ( 0%) 

Verify failed  

Leaving target processor paused
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
413 Views

Hi icesword, 

 

What do you have mapped at 0010_0000 ?
0 Kudos
Altera_Forum
Honored Contributor II
413 Views

I have the same problem. If i try to run the programm ("hello world") then i get this message: 

 

---- 

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

Processor is already paused 

Reading System ID at address 0x021008C8: verified 

 

Downloading 02000000 ( 0%) 

Downloaded 21KB in 0.2s (105.0KB/s) 

 

Verifying 02000000 ( 0%) 

Verify failed  

Leaving target processor paused 

--- 

 

at the address 0x0200_0000 is the sram. 

 

If i have after some tries success with the download then i get this message: 

 

--- 

ios2-terminal: Warning: The JTAG cable you are using is not supported for Nios 

nios2-terminal: II systems. You may experience intermittent JTAG communication 

nios2-terminal: failures with this cable. Please use a USB Blaster revision B 

nios2-terminal: cable or another supported cable. Please refer to the file 

nios2-terminal: errata.txt included in the Nios II development kit documents 

nios2-terminal: directory for more information. 

 

nios2-terminal: connected to hardware target using JTAG UART on cable 

nios2-terminal: "USB-Blaster [USB-0]", device 1, instance 2 

nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) 

--- 

 

and no "Hello from Nios II!" output in terminal window.  

Before somebody say that i should use a "USB Blaster revision B", i'm using a USB Blaster Rev. B
0 Kudos
Altera_Forum
Honored Contributor II
413 Views

Hi, 

 

You will need to check what the peripheral/memory device at that failed location you have. Most development boards come with reference designs; are you using a reference design provided by the board manufacturer? 

 

Once I found this error, it was caused by a bad SDRAM configuration, memory write cycles seemed to work OK but verification failed. 

 

You will also need to check your NIOS Eclipse project debug configuration.
0 Kudos
Altera_Forum
Honored Contributor II
413 Views

 

--- Quote Start ---  

originally posted by aclogic@Aug 2 2005, 04:07 AM 

i have the same problem. if i try to run the programm ("hello world") then i get this message: 

 

---- 

using cable "usb-blaster [usb-0]", device 1, instance 0x02 

processor is already paused 

reading system id at address 0x021008c8: verified 

 

downloading 02000000 ( 0%) 

downloaded 21kb in 0.2s (105.0kb/s) 

 

verifying 02000000 ( 0%) 

verify failed                       

leaving target processor paused 

--- 

 

at the address 0x0200_0000 is the sram. 

 

if i have after some tries success with the download then i get this message: 

 

--- 

ios2-terminal: warning: the jtag cable you are using is not supported for nios 

nios2-terminal: ii systems.  you may experience intermittent jtag communication 

nios2-terminal: failures with this cable.  please use a usb blaster revision b 

nios2-terminal: cable or another supported cable.  please refer to the file 

nios2-terminal: errata.txt included in the nios ii development kit documents 

nios2-terminal: directory for more information. 

 

nios2-terminal: connected to hardware target using jtag uart on cable 

nios2-terminal: "usb-blaster [usb-0]", device 1, instance 2 

nios2-terminal: (use the ide stop button or ctrl-c to terminate) 

--- 

 

and no "hello from nios ii!" output in terminal window.  

before somebody say that i should use a "usb blaster revision b", i'm using a usb blaster rev. b 

--- Quote End ---  

 

Check the pin assignments. 

dedicated pins connecting to off-chip components cannot be moved 

 

or check if you are trying to download to ext_flash (u5) 

you can write but verify fails due to block corruption
0 Kudos
Altera_Forum
Honored Contributor II
413 Views

 

--- Quote Start ---  

originally posted by ppk031000+aug 2 2005, 06:34 pm--><div class='quotetop'>quote (ppk031000 @ aug 2 2005, 06:34 pm)</div> 

--- quote start ---  

<!--quotebegin-aclogic@Aug 2 2005, 04:07 AM 

i have the same problem. if i try to run the programm ("hello world") then i get this message: 

 

---- 

using cable "usb-blaster [usb-0]", device 1, instance 0x02 

processor is already paused 

reading system id at address 0x021008c8: verified 

 

downloading 02000000 ( 0%) 

downloaded 21kb in 0.2s (105.0kb/s) 

 

verifying 02000000 ( 0%) 

verify failed                     

leaving target processor paused 

--- 

 

at the address 0x0200_0000 is the sram. 

 

if i have after some tries success with the download then i get this message: 

 

--- 

ios2-terminal: warning: the jtag cable you are using is not supported for nios 

nios2-terminal: ii systems.  you may experience intermittent jtag communication 

nios2-terminal: failures with this cable.  please use a usb blaster revision b 

nios2-terminal: cable or another supported cable.  please refer to the file 

nios2-terminal: errata.txt included in the nios ii development kit documents 

nios2-terminal: directory for more information. 

 

nios2-terminal: connected to hardware target using jtag uart on cable 

nios2-terminal: "usb-blaster [usb-0]", device 1, instance 2 

nios2-terminal: (use the ide stop button or ctrl-c to terminate) 

--- 

 

and no "hello from nios ii!" output in terminal window.  

before somebody say that i should use a "usb blaster revision b", i&#39;m using a usb blaster rev. b 

--- Quote End ---  

 

Check the pin assignments. 

dedicated pins connecting to off-chip components cannot be moved 

 

or check if you are trying to download to ext_flash (u5) 

you can write but verify fails due to block corruption [/b] 

--- Quote End ---  

 

hey if it works then check if your stdout is mapped to jtag ? 

 

in project system library properties
0 Kudos
Altera_Forum
Honored Contributor II
413 Views

Hi frinds, 

1, Check your address assignmrnt, and you could use auto assignment! then build it again  

2, I have ever meet a problem, Byte blaster II is not good for debugging, which is always error, But Byte BlasterMV is very good. my experience only for refererce! 

Best Regards, 

FeiWu
0 Kudos
Altera_Forum
Honored Contributor II
413 Views

I am using USB BLASTER.It still can&#39;t work .help!!!

0 Kudos
Altera_Forum
Honored Contributor II
413 Views

Sounds like a problem with the hardware design. 

 

- Check to make sure you have the correct timing for the memory you are targetting. 

- Check to make sure you have the proper board layout for the memory that is giving you problems (traces, shorts, solder balls on the pins, etc...) 

- If you are using a Nios development board make sure Unused I/O are set as input tristate pins 

- Make sure you are meeting timing in your design and have taken offchip timing into consideration 

 

Those are a few things that pop to mind. If that doesn&#39;t get you through the woods post again and hopefully someone will think of a solution for you.
0 Kudos
Altera_Forum
Honored Contributor II
413 Views

Hello all, 

 

I am re-releasing a custom development board that was running with 5.0(FULL) now with 5.1(Web). 

 

I get the infamous: 

 

Verify failed  

Leaving target processor paused 

 

Normally, I would also suspect hardware as a first option. However, I switched PCs and re-ran my 5.0(FULL) and my development board is working fine. So Hardware IS NOT ALWAYS A CULPRIT HERE. 

 

What I did to port 5.0 Full to 5.1(Web) 

 

1. Delete old NiosII Core 5.0 (Licensed) and insert time-limited 5.1 core(Reset my processorrs characteristics : fast, no tightly coupled memory, etc.) 

2. Loaded Virgin machine with 5.1(Web) , 5.1(Megacores) and NiosII5.1 eval(time-limited) 

3. Had to edit qsf because I had incremental compiles set and Web5.1 does not support. 

 

 

So now with 5.1 (Web) 

-Recompile worked fine. 

-Program of device successful 

 

Run SW 

-SYSID verification okay 

 

- Get Processor paused message( Verify Failed) 

 

 

Any thoughts? 

 

Thanks, 

-Baycool
0 Kudos
Reply