[coldfire-gnu-discuss] M52233DEMO and GDB
Carlos O'Donell
carlos at codesourcery.com
Wed Jan 31 22:06:54 UTC 2007
On Wed, Jan 31, 2007 at 04:42:06PM -0500, Alex Parkinson wrote:
> Thanks for the quick response. Using -i shows that the board is listed as
> m52230demo. When I enumerate the device in gdb, I no longer get the
> "Cannot find a matching debug device" error, but I still get a statement
> that says "Remote communication error: no error". Am I doing this
> properly?
Please read Chapter 3 of the Getting Started guide. If you find
anything is missing please contact the list.
Two things to note:
> C:\Work\Personal\Coldfire\Hello>m68k-elf-sprite -i
> CodeSourcery ColdFire Debug Sprite (Sourcery G++ Lite 4.1-32)
> ccs: [timeout=<n>&speed=<n>] CCS Adaptor
> ccs://$Host:$Port/$Chainpos - CCS address
> pe: [speed=<n:0-31>&memory-timeout=<n:0-99>] P&E Adaptor
> pe://USBMultilink/PE6011570 - USB1 : USB-ML-CF REF : M52230DEMO
> (PE6011570)
The device URL is "pe://USBMultilink/PE6011570"
> C:\Work\Personal\Coldfire\Hello>m68k-elf-gdb hello
> GNU gdb (Sourcery G++ Lite 4.1-32) 6.6.50.20061124-cvs
> Copyright (C) 2006 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for
> details.
> This GDB was configured as "--host=i686-mingw32 --target=m68k-elf".
> For bug reporting instructions, please see:
> <URL: https://support.codesourcery.com/GNUToolchain/>.
> ..
> (no debugging symbols found)
> (gdb) target remote | m68k-elf-sprite -i pe: m52230demo
> Remote debugging using | m68k-elf-sprite -i pe: m52230demo
You should use:
"target remote | m68k-elf-sprite pe://USBMultilink/PE6011570 <XML board
file|builtin board file>"
Chapter 3 in our Getting Started guide covers this usage in detail.
Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos at codesourcery.com
(650) 331-3385 x716
More information about the coldfire-gnu-discuss
mailing list