USBDM JM60 Quickstart Installation Guide


Hardware Connection

The flat ribbon cable that connects the USBDM to the target uses a standard BDM connector. Pin 1 (BKGD) has a red line.
Grip the device by the edges of the pcb, not on the top and bottom, so as not to excert any pressure on the components.

bdm header

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.

Optional Serial Port:
The USBDM implements a CDC class virtual COM port. The 5 v TTL level leads can be connected to a SCI on the target board to be accessed as a virtual COM port on the PC. The red lead is the USBDM’s Tx line and should be connected to the target’s Rx pin. The brown lead is the USBDM’s Rx line and should be connected to the target’s Tx pin. The PC's baud settings must match the target's settings.


Software version 4.x installation for Windows:

Download installation files -- select “Version 4.x”, then “1. Installation_4_x” and finally “USBDM_4_x_Win.msi”. Run the installer.
2) Connect the USBDM to a USB port. Grip the device by the edges of the pcb, not on the top and bottom, so as not to excert any pressure on the components.
Install the USB driver as shown on this page.
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. The CDC-class virtual COM port is installed similarly, from the same location. (Detailed driver installation instructions)


Software version 4.x for Linux:

Got 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


Debugger usage documentation:

Usage with Codewarrior 4 - 7
Usage with Codewarrior 10 Eclipse
Usage with CodeSourcery


Setting the debug target in Codewarrior 4-7 projects

  • In the Codewarrior target popup, depending on the mcu, select “HCS08 Open Source BDM” (rsp. CFV1 for Coldfire V1, or "TBDML" for HCS12 targets):

    Target popup

    If the Open Source BDM is not shown, select any target except “Simulation” and launch the Debugger.
    The Hiwave debugger will open, and the connection will fail. Cancel the connection dialog and select the menu “Component -> Set Connection...”:

    Set Connection Menu

    In the Connection dialog you can now select the Open Source BDM:

  • HCS08 Open Source BDM for HCS08 targets
  • CFV1 Open Source BDM for Coldfire V1 targets
  • TBDML for HCS12 targets.

    Connection Dialog

    The Hiwave debugger remembers the correct debug target selection, so the preceeding steps only need to be done once for any project.

    For CF1 processors, the Codewarrior 6.2 IDE does not display “CF1 Open Source BDM” in the target selection popup, but the settings are correctly maintained in the Hiwave debugger all the same.

    bdm dialog Once the debug target has been correctly set, the connection dialog shows the options for providing 3.3V or 5V to the target processor – this 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 100mA.

    When new versions of the firmware become available, install the newer dlls as above.

    Open Source USBDM software put together and maintained by PGO

  • For firmware questions, see the USBDM JM60 Discussion forum by PGO

  • Return to USBDM JM60 product page
  •  
     
       
          © 2011 Issole Informatique, France -                             Prices shown are without Value Added Tax where applicable in EU Countries.