Problem with GDB - M52233DEMO - newbie

drakula drakulaj at seznam.cz
Thu May 17 19:36:31 UTC 2007


Hi,
Im newbie in programming with your toolchain. I tried to load my Hello World to my processor via GDB and i got this error:

D:\robot\test>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://USBMultilink/PE6013619
Remote debugging using | m68k-elf-sprite pe://USBMultilink/PE6013619
m68k-elf-sprite:Opening P&E USBMultilink port 1 (USB1 : USB-ML-CF REF : Embedded
 ColdFire Debug (PE6013619))
m68k-elf-sprite:Missing config file; this may not work
m68k-elf-sprite:Target reset
0x00000000 in ?? ()

It needs some Config file? Im not sure if its ok, that Im using -mcpu=52235 instead  52233. 

If I tried load it shows me:

(gdb) load
Loading section .text, size 0x3058 lma 0x20000000
m68k-elf-sprite:Memory write verification failed; config file error?
Loading section .data, size 0x814 lma 0x20003058
Start address 0x20000400, load size 14444
Transfer rate: 115552 bits/sec, 4814 bytes/write.


Compiling command is: 

m68k-elf-gcc -mcpu=52235 -o hello -T m52235evb-ram-hosted.ld hello.c


Thanks Jirka 



More information about the coldfire-gnu-discuss mailing list