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
