From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,980252f66116e46e,start X-Google-Attributes: gid10d4db,public From: magin@lpr.e-technik.tu-muenchen.de (Gunter Magin) Subject: gdb bdm patch for CPU32 under Linux Date: 1995/04/22 Message-ID: <3nb6fu$1co@myntti.helsinki.fi>#1/1 X-Deja-AN: 101602832 sender: wirzeniu@cc.helsinki.fi followup-to: comp.os.linux.development.apps content-type: text/plain; charset=ISO-8859-1 summary: Announcement of patches to enable gdb-4.13 as a remote debugger for motorola microcontroller with CPU32(+) via background debug mode organization: Lehrstuhl f. Prozessrechner, Techn. Univ. Muenchen, Germany keywords: crossdebugging, crossdevelopment, embedded controller, device driver, motorola, background debug mode, gnu, gdb, mc68332, linux, hardware mime-version: 1.0 newsgroups: comp.os.linux.announce 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.