[484] in linux-announce channel archive

home help back first fref pref prev next nref lref last post

gdb bdm patch for CPU32 under Linux

daemon@ATHENA.MIT.EDU (Lars Wirzenius)
Sat Apr 22 13:21:33 1995

Date: Sat, 22 Apr 1995 18:14:14 +0300
From: Lars Wirzenius <wirzeniu@cc.helsinki.fi>
To: linux-activists@niksula.hut.fi, linux-announce@vger.rutgers.edu

X-Mn-Key: announce

From: magin@lpr.e-technik.tu-muenchen.de (Gunter Magin)
Subject: gdb bdm patch for CPU32 under Linux
Organization: Lehrstuhl f. Prozessrechner, Techn. Univ. Muenchen, Germany
Summary: Announcement of patches to enable gdb-4.13 as a remote debugger for motorola microcontroller with CPU32(+) via background debug mode
Keywords: crossdebugging, crossdevelopment, embedded controller, device driver, motorola, background debug mode, gnu, gdb, mc68332, linux, hardware
Newsgroups: comp.os.linux.announce
Approved: linux-announce@news.ornl.gov (Lars Wirzenius)
Followup-to: comp.os.linux.development.apps

Hi everybody,

I have just put my patches to gdb-4.13 to enable cross debugging of a
CPU32-target (e.g. 68332) via Background Debug Mode on

	ftp.fta-berlin.de:/incoming/gdb-bdm-patches.tar.gz

Within the next days they will be moved to 

	ftp.fta-berlin.de:/pub/crossgcc/gdb-bdm-patches.tar.gz

where other things related to crossdevelopment with the GNU toolchain
can be found.

See the appended extract from the release notes.

Comments are welcome, especially if you find these patches useful.
gm

================================================================================
These are the patches for gdb-4.13 to enable remote debugging for a 683xx
target with BDM under Linux.

BDM (Background Debug Mode) is a special debugging mode for (CPU32{+})
based microcontroller. These controllers are equipped with some pins
especially for debugging purpose. With BDM it is possible to debug an
embedded controller without using any processor resources like serial
interfaces or memory space or special hardware.

Motorola published an hardware interface from a PC's parallel port to the
serial lines of BDM. It consists of just two 74HC chips. With this
interface and the software patches supplied with this, you can perform
source level debugging on an embedded target. Thanks to M.Schraut 
(schraut@lpr.e-technik.tu-muenchen.de) for the device driver.

We have used this software setup successfully with a Highscreen Notebook
486DX-33 and Slackware 2.1, kernel versions from 1.1.72 to 1.2.4, and a
Motorola BCC target board. The target code is generated with a GNU
toolchain, i.e. gcc-2.6.3 and binutils-2.5.1, after applying the cross-patch
available from ftp.cygnus.com:/pub/embedded. The C-Libarary for the target
is newlib-1.6 with modified target stubs for the bcc. Newlib-1.6 is also
available from ftp.cygnus.com:/pub/embedded. Alternatively they are
available at ftp.fta-berlin.de:/pub/crossgcc. GNU-sources are available
at most ftp servers near you.

================================================================================
-- 
Gunter Magin                                  magin@lpr.e-technik.tu-muenchen.de
Lehrstuhl fuer Prozessrechner                   Technische Universitaet Muenchen
Tel. +49-89-2105-3558                                      Fax. +49-89-2105-3555

--
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember Keywords: and a short description of the software.


home help back first fref pref prev next nref lref last post