Forum Discussion

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

Error creating session {R,T}xThread terminated W Nios II SBT debugger

Hi

I have so far had no luck in starting the debugger in Nios II SBT v10.0sp1

I have tried 2 boards (DE2-115) + (NEEK cyclone2c25), both with a quick build of the standard hello world project pr. turtorial guide.

every time I try to run debug as I get the following error message:

Error creating session

{R,T}xThread terminated

the console says:

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

Processor is already paused

Reading System ID at address 0x080001A8: verified

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

Leaving target processor paused

content in the error log is the following:

!ENTRY com.altera.sbtgui.launch 1 0 2010-12-02 22:20:34.793

!MESSAGE Executing: [C:\Windows\system32\cmd.exe, /C, C:/altera/10.0sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --sidp=0x80001a8 --id=0x3e1e5ebf --timestamp=1269914720 /cygdrive/c/altera/10.0sp1/projects/neek_standard/software/my_first_nios/my_first_nios.elf]

!ENTRY com.altera.sbtgui.launch 1 0 2010-12-02 22:20:38.711

!MESSAGE Executing: [C:\Windows\system32\cmd.exe, /C, C:/altera/10.0sp1/quartus\bin\cygwin\bin\bash.exe, -c, nios2-download '--cable=USB-Blaster on localhost [USB-0]' --device=1 --instance=0 --tcpport=auto --sidp=0x80001a8 --id=0x3e1e5ebf --timestamp=1269914720]

!ENTRY org.eclipse.cdt.debug.mi.core 4 150 2010-12-02 22:20:41.832

!MESSAGE Error creating session

!STACK 0

org.eclipse.cdt.debug.mi.core.MIException: {R,T}xThread terminated

at org.eclipse.cdt.debug.mi.core.MISession.postCommand(MISession.java:550)

at org.eclipse.cdt.debug.mi.core.MISession.postCommand(MISession.java:538)

at org.eclipse.cdt.debug.mi.core.MISession.initialize(MISession.java:329)

at org.eclipse.cdt.debug.mi.core.MISession.start(MISession.java:244)

at org.eclipse.cdt.debug.mi.core.AbstractGDBCDIDebugger.createSession(AbstractGDBCDIDebugger.java:81)

at com.altera.debug.cdi.gdb.plugin.Nios2GdbCdiDebugger.createSession(Nios2GdbCdiDebugger.java:61)

at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.debugAction(Nios2HardwareLaunchDelegate.java:261)

at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:124)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)

at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)

at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

!SUBENTRY 1 org.eclipse.cdt.debug.mi.core 4 150 2010-12-02 22:20:41.832

!MESSAGE {R,T}xThread terminated

!STACK 0

org.eclipse.cdt.debug.mi.core.MIException: {R,T}xThread terminated

at org.eclipse.cdt.debug.mi.core.MISession.postCommand(MISession.java:550)

at org.eclipse.cdt.debug.mi.core.MISession.postCommand(MISession.java:538)

at org.eclipse.cdt.debug.mi.core.MISession.initialize(MISession.java:329)

at org.eclipse.cdt.debug.mi.core.MISession.start(MISession.java:244)

at org.eclipse.cdt.debug.mi.core.AbstractGDBCDIDebugger.createSession(AbstractGDBCDIDebugger.java:81)

at com.altera.debug.cdi.gdb.plugin.Nios2GdbCdiDebugger.createSession(Nios2GdbCdiDebugger.java:61)

at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.debugAction(Nios2HardwareLaunchDelegate.java:261)

at com.altera.sbtgui.launch.hardware.Nios2HardwareLaunchDelegate.launch(Nios2HardwareLaunchDelegate.java:124)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)

at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)

at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:866)

at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1069)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

-----

I'm a bit newbee into the niosII eds tools and gdb so every input into getting the SBT debugger up and running will be welcome.

6 Replies

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

    Hi,

    I am using the Nios2 IDE 10.1SP1 on winxp system and had the same issue. It seems that after you install an additional plug-in on this Eclipse this error message occur.

    I deinstalled the nios2eds and reinstalled it again after that all works fine. For me it was not sufficient to deinstall the plug-in(s) only.

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

    I had the same problem NIOSII 10.1 SP1, it all started when I ran the Eclipse menu option Help>Check for updates. When I did this I received an update from one of the C++ developer patches from Eclipse and this seemed to cut the link to the Altera GDB debugger.

    Again the solution is to uninstall NIOS2eds and reinstall.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You may not have to uninstall & reinstall Nios2EDS. Click "Help", choose "Search" and enter "revert" for instructions on how to revert Eclipse to a previous configuration. That's how I eventually corrected my problem, which started after allowing Eclipse to update itself.

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

    Hm, same problem occoured for me today, after I've installed SVN plug-in. I need that plugin for libraries. Are there any chances to make it working without plug-in removal and/or reinstallation?

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

    --- Quote Start ---

    I had the same problem NIOSII 10.1 SP1, it all started when I ran the Eclipse menu option Help>Check for updates. When I did this I received an update from one of the C++ developer patches from Eclipse and this seemed to cut the link to the Altera GDB debugger.

    again the solution is to uninstall nios2eds and reinstall.

    --- Quote End ---

    That's what corrected the debugger issue for me as well. However, I still get errors in the error log that I didn't get before. :confused: