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

NIOS II Debugger Error

Altera_Forum
Honored Contributor II
3,141 Views

I'm using the NIOS II IDE version 9.0 SP2. My design includes a NIOS II processor with the JTAG Debug Module set to Level 1. I've build the design and programmed the corresponding .pof file into the device. 

 

In the NIOS II IDE, when I try to Debug NIOS II HW, it appears that I connect to the debugger, as I get the following messages: 

 

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

Processor is already paused 

Reading System ID at address 0x00000270: verified 

Listening on port 1923 for connection from GDB: 59saccepted 

 

However, I then get the following messages: 

 

mi_cmd_stack_list_frames: No stack. 

No symbol "new" in current context. 

Warning: 

Cannot insert breakpoint 1. 

Error accessing memory address 0x16714: Unknown error 4294967295. 

 

Has anyone seen this error before, and know how I can fix it? I've seen posts for similar errors in the forum, but they don't have any responses.
0 Kudos
9 Replies
Altera_Forum
Honored Contributor II
1,162 Views

Error accessing memory address 0x16714: Unknown error 4294967295. 

 

What resides at the above address (0x16714)? If it's flash, you won't be able to set a break point there without adding "hardware breakpoints" to your Nios II CPU and re-building in SoPC Builder. Otherwise...I dunno. 

 

Cheers, 

 

--slacker
0 Kudos
Altera_Forum
Honored Contributor II
1,162 Views

Thanks, that helped. I rebuilt with the JTAG Debug Module set to Level 2. Now, I no longer get the warning about not being able to set breakpoint 1, or the error trying to access memory address 0x16714. However, the debugger still doesn't appear to be working properly. Instead of suspending execution at main(), it says that execution is suspended, but that the 'symbol is not available'. The resume button seems to have no effect, and if I try to step thru the code, I get an error message that says: 

 

Cannot find bounds of current function 

 

Anyone have any ideas what I might be doing wrong?
0 Kudos
Altera_Forum
Honored Contributor II
1,162 Views

I'm currently facing the same issue. Any input would be appreciated!

0 Kudos
Altera_Forum
Honored Contributor II
1,162 Views

I set the JTAG Debug Module to Level 2,but I meet the same difficult, the error as follows: 

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

Processor is already paused 

Reading System ID at address 0x08021050: verified 

Listening on port 1172 for connection from GDB: 59s58s57s56s55s54s53s52s51s50s49s48s47s46s45s44s43s42s41s40s39s38s37s36s35s34s33s32s31s30s29s28s27s26s25s24s23s22s21s20s19s18s17s16s15s14s13s12s11s10s 9s 8s 7s 6s 5s 4s 3s 2s 1stimed out 

Leaving target processor paused 

 

Can you tell me why? 

Thank you!
0 Kudos
Altera_Forum
Honored Contributor II
1,162 Views

Hi, 

 

I have the same problem with my custom board. I use quartus 9.1sp1. 

I have errors in my external sram : 

"Cannot insert breakpoint 3. 

Error accessing memory address 0x2205730: Unknown error 4294967295." 

Or  

"symbol is not available",  

Or watchdog timeout in debug mode : "Execution is suspended because of error. Watchdog has expired. Target detached.". 

 

Did you find the cause of your problems ? How do you fix it ? 

 

Thanks for you help.
0 Kudos
Altera_Forum
Honored Contributor II
1,162 Views

can anyone help me?

0 Kudos
Altera_Forum
Honored Contributor II
1,162 Views

Hi everyone 

"symbol is not available" in nios debug by quartus 9.0 and nios 9.0. 

can anyone give me some advice? 

thanks for your help!
0 Kudos
Altera_Forum
Honored Contributor II
1,162 Views

any one can give some advices

0 Kudos
Altera_Forum
Honored Contributor II
1,162 Views

 

--- Quote Start ---  

any one can give some advices 

--- Quote End ---  

 

Hi, 

Can you please help me out i am getting an stack exception .The value of a variable is changing to some garbage value 22616 while debugging.
0 Kudos
Reply