|
Download installation files -- select “Version 4.x”, then “1. Installation_4_x” and finally “USBDM_4_x_Win.msi”. Run the installer. For a completely new system, first install the Codewarrior IDE and then the USBDM installer since the latter has to install the plugins for Codewarrior.
Install the USB driver as shown on this page.
Connect the USBDM to an available USB port on the PC with a micro-usb cable (not included). For best operation, don't use USB hubs but connect directly to a USB port on the PC.
If Windows does not prompt for the driver or the driver installation fails, open the Windows Device Manager, select the LibUSB subtree, right-click on the USBDM and select “Update Driver”, then proceed as above.
Go to installation files -- select“Version 4.x”, then “1. Installation_4_x” and finally “USBDM_Linux_4_x.tar.gz”
Extract the archive then execute the command “Install_USBDM”.
If upon launching the debugger in Codewarrior 10.1/10.2 there are error messages about missing library modules, these need to be installed manually.
With Ubuntu 11.04, for example, the following modules need to be installed as shown:
sudo apt-get install tcl8.5 libwxgtk2.8-0 libwxgtk2.8-dbg libstdc++5 libxerces-c3.1
Sample Debugger configuration dialog in Codewarrior 10.1/10.2
The USBDM module has the connectors for the various targets arranged at different angles, so it can be plugged directly onto the target board without requiring cables.
The connector for the Kinetis targets has a pitch of 0.05" (1.27mm). All others are 0.1" pitch (2.54mm).
The pin-outs are shown in a top-view as they appear on the target pcb.
BDM module for HC(S)08, HC(S)12, Coldfire V1 (and RS08 for those modules which include this option) :
The Coldfire V2-4 connection uses a 10-pin connector:
Optionally pin 1 can be connected to the target's "all_pst" signal, but this is not required.
Can be used on targets with a 20-pin connector, just use the "left-most" 10.
Kinetis 10-pin connector:
Can be used on targets with a 20-pin connector, just use the "left-most" 10.
DSC connector:
Caution: there must not be any electric potential between the target pcb and the PC otherwise the PC and / or target board could be damaged.
Usage with Codewarrior 4 - 7
Usage with Codewarrior 10 Eclipse
Usage with CodeSourcery
The options for providing 3.3V or 5V to the target processor should only be enabled if there is no simultaneous supply active on the target board! If the USBDM is used to provide target power, the target device should not draw more than 400mA.
When new versions of the firmware become available, install the newer dlls as above. The firmware can easily be updated using the Bootloader utility provided in the installation files, along with the required flashimages.
Open Source USBDM software developed and maintained by PGO
For firmware questions, see the USBDM JM60 Discussion forum by PGO
|