From: Stuart Wood Date: Wed, 25 Feb 2004 19:55:24 -0500 Subject: [U-Boot-Users] GDB-BDM for Coldfire Message-ID: <200402251955.24990.swood@rochester.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi All, I'm having trouble setting up the BDM interface for GDB. My target board is the M5282EVB. I've been following Bernard Kuhn's tutorial "U-Boot for Motorola Coldfire M5272C3 and M5282EVB" but I'm getting the following error when running GDB and setting the target. GNU gdb 5.2.1 Copyright 2002 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-bdm-elf". gdbinit.init:1: Error in sourced command file: Undefined target command: "bdm /dev/bdmcf0". Try "help target". The driver seems to be loaded. [root at localhost My_Preloader]# lsmod | grep bdm bdm 28104 0 (unused) [root at localhost My_Preloader]# ls -l /dev/bdmcf0 crw-rw-rw- 1 root root 34, 4 Feb 25 07:43 /dev/bdmcf0 Also I did change bdm.c line 1230 to 0xc05, /* BDM_REG_RAMBAR */ Any help would be appreciated! Also is the gdb patches been included in gdb-6.0? and does the BDM sourceforge project support the 5282? Thanks! Stuart