USBDM
V4.12
|
USBDM is a debugger hardware interface for a range of Freescale microcontrollers.
It is designed to work with Freescale's Codewarrior software under Windows and Linux. More recently basic support for Coldfire and Kinetis with the Codesourcery Tool chain or ARM Ltd GNU Tools for ARM has been added. A set of stand-alone programmers are also provided.
The attached files provide a port of a combined TBDML/OSBDM/TBLCF code to various processors.
The primary motivation for doing this was to produce a single BDM that could be used with the following processors:
Other features have also been added compared to the original TBDML/OSBDM designs.
This site contains links to Version 4 of the following:
The following two designs & variations use the MC9S08JS16CWJ (20 pin SOIC).
This chip is USB2 Full speed and supports initial programming over USB without needing a BDM.
Minimal design - Supports HCS12, HCS08 and Coldfire V1 Minimal design - Supports HCS12, HCS08, Coldfire V1 and Kinetis (via SWD)
Minimal design - Supports Coldfire V2,3,4, Kinetis(via JTAG) and DSC (M56F80xx only)
The following designs use the MC9S08JM60CLD (44 pin LQFP).
This chip is USB2 Full speed and requires a HCS08 BDM for programming the device.
USBDM-CF - Supports HCS12, HCS08, RS08 & Coldfire V1, V2, V3 & V4, Kinetis(via JTAG) and MC56F80xx
The following design use the MK20DX128 present on various Freescale FREEDOM boards (Arduino form factor).
This chip is USB2 Full speed and the chips on the Freedom boards include a pre-rogrammer bootloader (OpenSDA) that allows installation of USBDM without a programmer.
USBDM_OpenSDA - Supports various Freescale Freedom boards
Please note that these designs are obsolete.
The JB16 chip used in these designs have a ROM firmware flaw which makes it impossible to reprogram the chip firmware. When the chip is in bootloader mode it fails to enumerate properly under Windows 7 or 8 and later updates of WIN-XP. Because of this it is not possible to update the firmware which make it impractical to support them.
The USBDM software may still work to some extent but I cannot make any guarantees.
These versions were mainly produced to be compatible with the previous hardware versions of TBDML or OSBDM which were based on the MC908JB16. This is a USB low speed device. The provided firmware versions allow (some) of these devices to be updated to a combined TBDML/OSBDM. It also allows these to be used with the new Eclipse-based Codewarror which does not support the original osbdm or tbdml.
There are several hardware designs supplied :
BDM firmware versions are also supplied to support several existing hardware designs by other people:
The table below shows the support provided by each version and provides links to further information.
Description |
Current Design |
Device Support |
Features |
|||||
RS08 |
HCS08, HCS12, CFV1 |
Kinetis |
CFV2, CFV3, CFV4* |
DSC* |
Target Power |
Serial Port |
||
No |
|
X |
|
|
|
|
|
|
USBDM_CF_JMxxCLD |
No |
X |
X |
JTAG |
X |
X |
X |
|
USBDM_SER_JS16CWJ |
No |
|
X |
|
|
|
|
X |
USBDM_CF_SER_JS16CWJ |
No |
|
X |
JTAG |
X |
X |
|
|
USBDM_JMxxCLC |
No |
X |
X |
|
|
|
X |
|
USBDM_JMxxCLD |
No |
X |
X |
|
|
|
X |
|
No |
|
X |
|
|
|
|
|
|
Yes |
|
X |
SWD |
|
|
|
|
|
Yes |
|
X |
SWD |
|
|
X |
X |
|
Yes |
|
|
JTAG |
X |
X |
|
|
|
USBDM_CF_JMxxCLD_V3 |
Yes |
X |
X |
JTAG |
X |
X |
X |
X |
USBDM_OpenSDA |
Yes |
|
|
SWD |
|
|
|
X |
The bulk of the code is taken from the TBDML, OSBDM and TBLCF projects and I very much appreciate the effort involved in producing the original code. I hope this extension will be useful.
The hardware interface is based on TBDML, Freescale USBSPYDER08 and my own invention.
Any queries please post on the Freescale OSBDM Discussion Board.
I am aware of several companies producing commercial versions of USBDMs of various kinds:
Portions of this software is based on TBLCF software Portions of this software is based on OSBDM software Portions of this software is based on TBDML software USBDM Copyright (C) 2007-22 Peter O'Donoghue Opensource BDM (OSBDM) Copyright (C) ? Turbo BDM Light (TBDML) Copyright (C) 2005 Daniel Malik Turbo BDM Light ColdFire (TBLCF) Copyright (C) 2005 Daniel Malik This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA