Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

NIOS II Debugger Error

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.

9 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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