M52233DEMO and GDB
Alex Parkinson
okalex at gmail.com
Wed Jan 31 21:12:28 UTC 2007
Hi all,
I'm trying to debug a simple "Hello, World!" program using GDB and the P&E
USB MultiLink BDM located on the M52233DEMO board. I've compiled the
program and run GDB as shown below, but I'm unable to connect to the BDM
properly. The drivers seem to be installed properly, but I keep getting an
error stating "Cannot find a matching debug device". I'm not sure if this
is due to the fact that I'm specifying the M52235EVB, despite the fact that
I'm actually using the M52233DEMO, or if there's a different problem. I'm
pretty new to all of this, so any guidance (or even some info on where I can
learn this on my own) would be greatly appreciated.
Thanks,
Alex Parkinson
C:\Work\Personal\Coldfire\Hello>m68k-elf-gcc -mcpu=52235 -o hello -T
m52235evb-ram-hosted.ld hello.c
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 pe: m52235evb
Remote debugging using | m68k-elf-sprite pe: m52235evb
m68k-elf-sprite:error:Cannot find a matching debug device
Remote communication error: No error.
(gdb) target remote | m68k-elf-sprite pe: m52233demo
A program is being debugged already. Kill it? (y or n) y
Remote communication error: No error.
Remote debugging using | m68k-elf-sprite pe: m52233demo
m68k-elf-sprite:error:Cannot find a matching debug device
Remote communication error: No error.
(gdb)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/coldfire-gnu-discuss/attachments/20070131/05a05daf/attachment.html>
More information about the coldfire-gnu-discuss
mailing list