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

RUN AS HARDWARE error

Altera_Forum
Honored Contributor II
1,767 Views

After I install Quartus5.0 Nios5.0,I find these errors comes out frequently. 

Using cable "ByteBlasterII ", device 1, instance 0x00 Processor is already paused Reading System ID at address 0x02000908: verified Downloading 01000020 ( 0%) Downloading 01010000 (98%)assertion "m_state == STATE_DEBUG" failed: file "nios2 debug.cpp", line 1695 Signal 6 

Using cable "ByteBlasterII ", device 1, instance 0x00 Pausing target processor: not responding. Resetting and trying again: assertion "m_state == STATE_DEBUG" failed: file "nio s2oci.cpp", line 226 Signal 6 

 

Using cable "ByteBlasterII ", device 1, instance 0x00 Processor is already paused Reading System ID at address 0x02000908: verified Downloading 01000020 ( 0%) Downloading 01010000 (96%) Downloaded 67KB in 1.9s (35.2KB/s) Verifying 01000020 ( 0%) Verify failed                       Leaving target processor paused
0 Kudos
13 Replies
Altera_Forum
Honored Contributor II
777 Views

Make sure your unused pins is set to 'all input, tri-state'; 

 

I used to come cross such problems which can be prvented in this way. 

 

It's not the fault of qt5.0. 

 

http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sleep.gif
0 Kudos
Altera_Forum
Honored Contributor II
777 Views

The fact : 

1. Using ByteBlasterII will cause those error. 

2. Using ByteBlasterMV turn out OK! 

 

I think it is the problem of "RUN AS" of Nios IDE .
0 Kudos
Altera_Forum
Honored Contributor II
777 Views

Does your reset address point to volatile memory such as DRAM?

0 Kudos
Altera_Forum
Honored Contributor II
777 Views

I reset address point to external Flash.

0 Kudos
Altera_Forum
Honored Contributor II
777 Views

Try slugging the TCK line with 33pF.

0 Kudos
Altera_Forum
Honored Contributor II
777 Views

The Byteblaster-II is designed and laid out very differently to Byteblaster/Byteblaster-MV (which were based around a 74244). 

 

I&#39;ve ended up slugging all of the JTAG signals (each with 33pF); I suspect that crosstalk from the TDI/TMS signals is occuring when the TCK signal goes low thus causing false clocking (which could be complete ballerks but it&#39;s the best reasoning I can conjure - I have experienced double-triggering on Cyclones that I didn&#39;t get on MAX devices before). 

 

I&#39;ve also widened the SRAM timings (ridiculously long for now - like 50/100ns) 

 

Also make sure there are no other devices on the bus fighting the SRAM when the JTAG debug module is trying to program it. 

 

One thing I did notice is that a 32-bit word write on a 16-bit device is done with 2 write pulses, but with chip select asserted throughout, with the A1 change between the write pulses. The reads are done with separate chip selects. I&#39;m pretty sure most memory devices can handle being operated in this way.
0 Kudos
Altera_Forum
Honored Contributor II
777 Views

hi mountain8848,  

 

you said " The fact : 

1. Using ByteBlasterII will cause those error. 

2. Using ByteBlasterMV turn out OK! 

 

I use byteblasterMV to try the run... function, but the niosII display jtag device can not surport this download cable, maybe the cyclone device only surport byteblasterII or usb blaster, how do you use byteblasterMV as a jtag cable?
0 Kudos
Altera_Forum
Honored Contributor II
777 Views

We had these messages very often too ... no cap no resistor helped. signaltap worked but flashprogrammer failed. 

 

The only solution we had to permanently fix this was to creat a new sopc target design from a clean folder.  

 

I don&#39;t know if you have moved from Q4.2 to 5.0 like we did. But here the SOPC target folder was created with Q4.2SP1 and then the design moved to Q5.0. we recompiled the sopc target with q5.0 but nothing fixed this mess. 

 

So try to create a complete new sopc target "mktarget....." with Q5.0 .. here this messages never appeared again.
0 Kudos
Altera_Forum
Honored Contributor II
777 Views

my project worked well in quarutsII 4.1 + niosII 1.0, and then I can download a big file to flash in quarutsII 5.0 + niosII 5.0! 

 

so your problem is not same as mine! 

 

but I can only run hello_led, and not run hello_world in condition of quartusII 5.0 and niosII 5.0!  

are there some changes in niosII 5.0?? 

 

very strange!!
0 Kudos
Altera_Forum
Honored Contributor II
777 Views

hmmm just that i understand you right ... 

 

you worked with q4.1 and nios 1.1 and then downloaded and updated to q5.0 nios5.0 , without a change in your design only just a recompile of the whole project ?
0 Kudos
Altera_Forum
Honored Contributor II
777 Views

no, i changed someting, or else i can not use flash programmer!

0 Kudos
Altera_Forum
Honored Contributor II
777 Views

Hmmmmm ... 

 

it was just an idea as we had exactly the same messages after we moved from Q4.2 to Q5.0 with a project that was created with q4.1 (with nios1.1) and we were unable to use the flashprommer too but quartus prommer via JTAG and signaltap worked. even the ide debugger worked !  

it was just the ide that had problems with our target using the flashprommer  

back to q4.2 and everything was fine.  

So we just created a new "mktarget..." board under q5.0 nios5.0 and those messages went away without a single change in our project except a recompile under q5.0 pointing to this new target board
0 Kudos
Altera_Forum
Honored Contributor II
777 Views

hi mountain8848,  

 

you said " The fact : 

1. Using ByteBlasterII will cause those error. 

2. Using ByteBlasterMV turn out OK! 

 

I use byteblasterMV to try the run... function, but the niosII display jtag device can not surport this download cable, maybe the cyclone device only surport byteblasterII or usb blaster, how do you use byteblasterMV as a jtag cable?
0 Kudos
Reply