Transcription of Tutorial - Using the USBDM - Free
1 Tutorial - Using the USBDM Author: Joel - MyFreescaleWebPage Last revision of this document: of 2014-10-19. MyFreescaleWebPage Tutorial - Using the USBDM 2 Table of contents Revisions .. 2 Introduction .. 3 1 Download the USBDM installation files .. 6 2 Installation of the USBDM .. 8 3 Flashing the USBDM firmware .. 15 Flashing the USBDM firmware with an external tool .. 15 Flashing the USBDM firmware with the internal bootloader of the HCS08JS16 microcontroller 15 4 Updating the USBDM firmware .. 18 5 programming microcontrollers.
2 21 Using standalone programmer .. 21 Using Freescale CodeWarrior .. 23 Target microcontroller "secured" - programming failed .. 24 Conclusion .. 25 Appendix - Uninstalling the USBDM .. 26 Revisions Version Date Changes 2013-02-26 First release ( USBDM ) 2013-05-08 Update ( USBDM ) 2013-06-02 Update ( USBDM - Released due to some issues with ) 2013-10-13 Update ( USBDM for CodeWarrior ) 2014-05-04 Update ( USBDM for CodeWarrior ) 2014-06-01 First programming of the target microcontroller added 2014-10-19 Update ( USBDM for CodeWarrior ) MyFreescaleWebPage Tutorial - Using the USBDM 3 Introduction The USBDM is an open source programming cable for Freescale microcontrollers released by PGO.
3 Several hardware versions are available depending of the targets you want to program. All source files, firmware, schematics are available on MyFreescaleWebPage proposes its own USBDM . It is based on "USBDM_SWD_JS16 CWJ" schematic from PGO and is able to program HCS08, HCS12, Coldfire V1 and Kinetis SWD microcontrollers. This makes it a very good choice if you want to begin with Freescale microcontrollers! This cheap but powerful USBDM is provided with BDM, SWD and USB cables. You can get it on the following page: TheUno and BigBrother evaluation boards are based on the USBDM with an additional serial port used to communicate with the target.
4 MyFreescaleWebPage Tutorial - Using the USBDM 4 The following USBDM (found on eBay) is able to program RS08, HCS08, HCS12, CFV1, CFV2, CFV3, CFV4, Kinetis and DSC microcontrollers and is able to supply the target with or 5V voltage. MyFreescaleWebPage Tutorial - Using the USBDM 5 This other USBDM (also found on eBay from BlackBoxStudio seller at ) is compatible with HCS08, HCS12 and CFV1 microcontrollers. This Tutorial explains how to use the USBDM : installation, update, programming the target with standalone software and Freescale CodeWarrior. If you want to use your USBDM with CodeWarrior, you must first installed CodeWarrior and then the USBDM .
5 A Tutorial is available on my website at in you need help. MyFreescaleWebPage 1 Download the USBDM installation files Today the last USBDM release is page: The drivers are available on the following page: Tutorial - Using the USBDM the USBDM installation files he last USBDM release is The installation files are available on Sourceforge on the drivers are available on the following page: 6 . The installation files are available on Sourceforge on the et/projects/ USBDM /files/Version% MyFreescaleWebPage Download the USBDM Installer and the right USBDM Drivers according to your computer.
6 Tutorial - Using the USBDM Download the USBDM Installer and the right USBDM Drivers according to your computer. 7 Download the USBDM Installer and the right USBDM Drivers according to your computer. MyFreescaleWebPage 2 Installation of the USBDM Please note that it is recommend to remove your previous USBDM insversion. See "Appendix - Uninstalling the USBDM To install the USBDM , execute the installer. A wizard is displayed. Click "Next Tutorial - Using the USBDM the USBDM Please note that it is recommend to remove your previous USBDM installation before installing the last Uninstalling the USBDM " for more details.
7 Xecute the installer. Next". 8 tallation before installing the last MyFreescaleWebPage Accept the License Agreement and click It is possible to custom the (Eclipse Special Edition the USBDM installation Tutorial - Using the USBDM Accept the License Agreement and click "Next". It is possible to custom the installation. I have only verified that the installer detected (Eclipse Special Edition ) has shown on the following screenshot. Click . 9 I have only verified that the installer detected my CodeWarrior has shown on the following screenshot. Click "Next" to MyFreescaleWebPage Click "Install".)
8 The setup takes several minutes to complete. Tutorial - Using the USBDM several minutes to complete. 10 MyFreescaleWebPage The installation ends. Click "Finish It's now time to install the USBDM configuration (Windows XP or not Tutorial - Using the USBDM Finish" to close the wizard. It's now time to install the USBDM Drivers. Execute the right USBDM Drivers installer according to your or not, x86 or x64 operating system). 11 USBDM Drivers installer according to your MyFreescaleWebPage A wizard is displayed. Accept the License Agreement and click The wizard install the USBDM Drivers.
9 Tutorial - Using the USBDM A wizard is displayed. Accept the License Agreement and click "Install". wizard install the USBDM Drivers. 12 MyFreescaleWebPage Window can't verify the publisher of the driver software. Validate the installation. The installation takes only some few seconds. The wizard says thatUSBDM. Click "OK". Tutorial - Using the USBDM Window can't verify the publisher of the driver software. Validate the some few seconds. The wizard says that it is now possible to 13 Window can't verify the publisher of the driver software. Validate the installation.
10 It is now possible to connect the MyFreescaleWebPage Click "Finish" to close the wizard. The installation is finished. USBDM Tutorial - Using the USBDM to close the wizard. USBDM shortcuts are available in the start menu. 14 MyFreescaleWebPage Tutorial - Using the USBDM 15 3 Flashing the USBDM firmware The microcontroller of the USBDM must be programmed with the right USBDM firmware. The table below present several USBDM versions and their features. Description Based On Supported Devices & Features Firmware USBDM_JS16 CWJ HCS08JS16 HCS08, HCS12, CFV1 USBDM_JS16 CWJ_V4 USBDM_SER_JS16 CWJ HCS08JS16 HCS08, HCS12, CFV1 - Serial Port USBDM_SER_JS16 CWJ_V4 USBDM_SWD_JS16 CWJ HCS08JS16 HCS08, HCS12, CFV1, Kinetis USBDM_SWD_JS16 CWJ_V4 USBDM_SWD_SER_JS16 CWJ HCS08JS16 HCS08, HCS12, CFV1, Kinetis - Target Power, Serial Port USBDM_SWD_SER_JS16 CWJ_V4 USBDM_CF_JS16 CWJ HCS08JS16 CFV2, CFV3, CFV4, Kinetis, DSC USBDM_CF_JS16 CWJ_V4 USBDM_CF_SER_JS16 CWJ HCS08JS16 HCS08, HCS12, CFV1, CFV2, CFV3, CFV4, Kinetis.