adamgreen / mri

MRI - Monitor for Remote Inspection. The gdb compatible debug monitor for Cortex-M devices.
Apache License 2.0
155 stars 58 forks source link

arm-none-eabi-gdb - unrecognized item "timeout" in "qSupported" #10

Closed jcatterson closed 8 years ago

jcatterson commented 8 years ago

I am getting the following error using LPC1768

Ignoring packet error, continuing... warning: unrecognized item "timeout" in "qSupported" response

firmware=21164&configuration=4

which arm-none-eabi-gdb gives me the binary built from gcc4mbed A Serial PC HelloWorld program prints successfully with screen

screen /dev/tty.usbmodem1412 230400

Although sending $#00 does not return anything.

arm-none-eabi-gdb FileTest.elf --baud 230400 -ex "set target-charset ASCII" -ex "set print pretty on" -ex "set remotelogfile mri.log" -ex "target remote /dev/tty.usbmodem1412"

GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20151217-cvs Copyright (C) 2015 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=x86_64-apple-darwin --target=arm-none-eabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from FileTest.elf...done. Remote debugging using /dev/tty.usbmodem1412 Ignoring packet error, continuing... warning: unrecognized item "timeout" in "qSupported" response Ignoring packet error, continuing... Ignoring packet error, continuing...

--and from time-to-time I get this: at the end Bogus trace status reply from target: timeout

I would appreciate any help, I'm looking forward to using this debugger

jcatterson commented 8 years ago

Resolved. I was deploying the elf file onto the device rather than the .bin