Re: [coldfire-gnu-discuss] Connecting to a Coldfire target using P&E USB Coldfire Multilink.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldfire-gnu-discuss] Connecting to a Coldfire target using P&E USB Coldfire Multilink.



Claude Sylvain wrote:
Hello Steve,

Maybe the following can help you.

I installed the Coldfire GNU toolchain on a machine that run under Windows XP professionnal SP2.
I'm using Linux, but here goes...
I can connect to a M52235EVB using P&E USB Coldfire Multilink using the following operations:

1) From the command line, execute GDB:
    m68k-elf-gdb <elf_file>
$  m68k-elf-gdb
GNU gdb (CodeSourcery Sourcery G++ 4.1-30) 6.5.50.20061105-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-pc-linux-gnu --target=m68k-elf".
For bug reporting instructions, please see:
<URL:mailto:coldfire-gnu-discuss@xxxxxxxxxxxxxxxx>.
(gdb)

So far, so good.
2) From GDB, type:
    target remote | m68k-elf-sprite pe://USBMultilink m52235evb
(gdb)  target remote | m68k-elf-sprite pe://USBMultilink m52235evb
Remote debugging using | m68k-elf-sprite pe://USBMultilink m52235evb
m68k-elf-sprite:error:Cannot load P&E DLL
Remote communication error: Connection reset by peer.
(gdb)

Linux doesn't use DLL's, does it?
3) From GDB, type:
    load


Remark:
GDB seems to have a lot of difficulty when executing the "load" command. Most of the time the command will fail. It seem that waiting some time before doing a "load" command can help. Maybe there are some parameters that can be set in "sprite" that can resolve this issue.

Claude.