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

Processor paused, no errors

Altera_Forum
Honored Contributor II
1,243 Views

I'm seeing the "leaving processor paused" message however there are no errors. 

 

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

Pausing target processor: OK 

Reading System ID at address 0x008508B8: verified 

Initializing CPU cache (if present) 

OK 

 

Downloading 01000020 ( 0%) 

Downloading 01010000 (83%) 

Downloaded 77KB in 1.2s (64.1KB/s) 

 

Verifying 01000020 ( 0%) 

Verifying 01010000 (83%) 

Verified OK  

Leaving target processor paused" 

 

I see this quite regularly and have asked Altera about it but there has been limited help. One possible problem is that the PLL hasn't locked, but I've brought the signal out to a pin and it is showing locked (high).  

 

I'm using NIOS II v6.0 build 93 on a Stratix development board (EP1S10). The FPGA image is loaded onto the board. I'm also using the logic analyzer but everything looks ok there too. 

 

Any ideas why the processor would be paused when there are no errors? 

 

Thanks in advance for the insight. 

 

James.
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
563 Views

Did you get an answer for that james?

0 Kudos
Altera_Forum
Honored Contributor II
563 Views

 

--- Quote Start ---  

originally posted by jamesw2@Sep 19 2006, 08:47 AM 

i'm seeing the "leaving processor paused" message however there are no errors. 

 

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

pausing target processor: ok 

reading system id at address 0x008508b8: verified 

initializing cpu cache (if present) 

ok 

 

downloading 01000020 ( 0%) 

downloading 01010000 (83%) 

downloaded 77kb in 1.2s (64.1kb/s) 

 

verifying 01000020 ( 0%) 

verifying 01010000 (83%) 

verified ok                         

leaving target processor paused" 

 

i see this quite regularly and have asked altera about it but there has been limited help.  one possible problem is that the pll hasn't locked, but i've brought the signal out to a pin and it is showing locked (high).   

 

i'm using nios ii v6.0 build 93 on a stratix development board (ep1s10).  the fpga image is loaded onto the board.  i'm also using the logic analyzer but everything looks ok there too. 

 

any ideas why the processor would be paused when there are no errors? 

 

thanks in advance for the insight. 

 

james. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18354) 

--- quote end ---  

 

--- Quote End ---  

 

 

What setting do you have in IDE Run/Debug Lauch target? There is a setting that will cause the IDE to download, but not run the software. 

 

Cheers, 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
563 Views

hi! 

 

i had the same problem. maybe i can help you out! 

in my case the verification didn&#39;t work. and i had the same console output. 

 

so try this steps: 

 

 

goto menu -> Run ->Run... (it&#39;s the run setup) 

 

on the main page uncheck "Validate Nios II system ID before software download" 

 

click apply, run 

 

greetz Andreas
0 Kudos
Altera_Forum
Honored Contributor II
563 Views

in main tab:  

the check button "validate nios ii system id before software download" is unchecked and disabled (i can´t click it) 

 

-- 

in target connection tab:  

jtag cable selected is USB-Blaster 

jtag device is 1 EP2S180 and... 

 

"nios ii terminal comunication device":  

none <do not launch NIOS II Terminal>  

and there´s no other option 

 

"host com port" is disabled 

 

-- 

in common tab: 

type of lauch configuration set to Local 

launch in background disabled 

 

That´s all i guess 

Thanks 

 

Gabriel
0 Kudos
Altera_Forum
Honored Contributor II
563 Views

 

--- Quote Start ---  

originally posted by gabrielferreira@Jan 18 2007, 11:53 AM 

In main tab:[/b]  

the check button "validate nios ii system id before software download"  is unchecked and disabled (i can´t click it) 

 

-- 

in target connection tab:  

jtag cable  selected is USB-Blaster 

jtag device  is 1 EP2S180 and... 

 

"nios ii terminal comunication device":  

none <do not launch NIOS II Terminal>  

and there´s no other option 

 

"host com port"  is disabled 

 

-- 

in common tab: 

type of lauch configuration set to Local 

launch in background disabled 

 

That´s all i guess 

Thanks 

 

Gabriel 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20690) 

--- Quote End ---  

[/b] 

--- Quote End ---  

 

 

 

Is that the configuration that download but does not start the software?
0 Kudos
Altera_Forum
Honored Contributor II
563 Views

I don´t know if this was the problem, but it seems to be solved. 

 

I opened the SOPC Builder (by double-clicking it in quartus) and added a jtag component in it. re-generated the system, and recompiled the project in quartus. 

 

Then, in NIOS II IDE, Run > Run.. 

In Target Connection Tab 

NIOS II Terminal communication device: jtag_uart_0 <stdin/stdout/stderr> 

 

This option was not avaiable before 

 

Thanks and hope to help somebody in the future
0 Kudos
Altera_Forum
Honored Contributor II
563 Views

Gabriel, 

 

So you had two issues then: 

 

1. You didn&#39;t have a stdin/stdout device in your system 

- a UART or JTAG_UART would address this. 

- you added a jtag_uart 

 

2. You still don&#39;t, unless I&#39;m missing something, have a sysid peripheral in your system. 

- This is recommended practice and it doesn&#39;t consume significant resources. 

 

Cheers, 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
563 Views

G&#39;day James, 

 

I get the same thing with my laptop. A desktop machine that I have seems to run fine thou with the same hardware, FPGA image and software. 

 

I have found a work around (sorta) is to terminate the nios2-gdb-server.exe process when the system hangs, also need to manually terminate nios2-terminal when you&#39;re done. You need to be relative quick about it otherwise things seem to time out and thats the end of it. 

 

I&#39;ve related symptom of this I also noticed is that when running nios2-terminal from a nios command line session, Ctrl-C does not properly terminate the application. It recognizes the Ctrl-C message and then just stops. Again terminating the process seems to make everything run okay. And again the desktop machine runs fine. 

 

There is some traffic in the cygwin lists that suggest there&#39;s a problem with cygwin and some DELL machines that could be the issue. 

 

I&#39;ve filed the issue with Altera tech support.  

 

Regards 

Phil
0 Kudos
Altera_Forum
Honored Contributor II
563 Views

Well at least for me I&#39;ve found the cause of the system hanging after verifying the download. 

 

An exception was occuring in mclsp.dll!DLLUnregisterServer which is part of McAfee&#39;s Privacy service.  

 

I found disabling / stopping the service was insufficient to fix it. Completely uninstalling it did the job. 

 

Your mileage may vary. 

 

Phil
0 Kudos
Reply