This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

problems with gdb on EKC-LM3S9B92.



I would like to debug the hello program that comes with the stellarisware examples.

I compiled the program hello and was able download it into the board and use the rs232 term to get back "Hello World!"

But I am not able to debug the device. The following is what I attempted:

C:\StellarisWare\boards\ek-lm3s9b92\hello\gcc>"c:\Program Files (x86)\CodeSourcery\Sourcery_CodeBench_for_Stellaris_EABI\bin\arm-stellaris-eabi-gdb.exe" hello.axf
GNU gdb (Sourcery CodeBench 2011.07-43) 7.2.50.20100908-cvs
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-mingw32 --target=arm-stellaris-eabi".
For bug reporting instructions, please see:
<https://support.codesourcery.com/GNUToolchain/>...
Reading symbols from c:\stellarisware\boards\ek-lm3s9b92\hello\gcc\hello.axf...(no debugging symbols found)...done.
(gdb) target remote | arm-stellaris-eabi-sprite\
armusb:///?speed=2 lm3s9b92
error starting child process 'arm-stellaris-eabi-spritearmusb:///?speed=2 lm3s9b92': CreateProcess: No such file or directory
| arm-stellaris-eabi-spritearmusb:///?speed=2 lm3s9b92: No child processes.
(gdb) target remote | arm-stellaris-eabi-sprite armusb:///?speed=2 lm3s9b92
Remote debugging using | arm-stellaris-eabi-sprite armusb:///?speed=2 lm3s9b92
arm-stellaris-eabi-sprite: error: E009. Invalid USB Handle.
arm-stellaris-eabi-sprite: waiting for GDB connection, to pass error along
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Quit (expect signal SIGINT when the program is resumed)
(gdb)

Any ideas?

James

  • Hi James ,

    I am also facing same problem with sourcery code bench,But my case is different from you .I am trying to run Nucleus application on BeagleBone board using code bench IDE apllication has built with out errors.

    But while launching it is showing same gdb error which you have menetioned,here I am attaching error image .

    If you solved this error Can you help on thih?????

    Thanks

    Ram

  • Hi ram,

         You will probably get a faster response, if you post this at the appropriate Sitara ARM or CCS Forum. As you can see above, this is the Tiva ARM Forum.

    -kel