|
This is the standard USB-BDM programmer and background debug module featuring the faster JM60 microprocessor. (MC9S08JM60CLD)
It provides a USB interface to flash-program and debug HCS08, HC12, HCS12 and CF1 microprocessors with single-wire BKGD BDM background connection.
A separate 5v TTL-level SCI interface can be connected to Rx and Tx on the target board to provide a virtual COM port on the PC for input-output (implemented as CDC - ACM)
51 x 22 mm pcb with gold-finished contacts (66 mm long incl. usb connector)
(the device comes preprogrammed with USBDM v 4.9 firmware
fully integrated with Codewarrior 4 to 7 and 10.1/10.2 on Windows,
and Codewarrior 10.1/10.2 on Linux)
The full-speed USB interface gives it a speed equal to if not greater than more costly commercial solutions.
It improves on the alternative "OSBDM" derivative which is a similar device in that it can provide 3.3V or 5V power to the target device conveniently configured via software in the HiWave connection configuration panel.
The firmware from PGO on the Freescale Community Forum is made available under the open source GNU GPL license.
The hardware implentation presented here differs in that it omits the 12V programming voltage needed for RS08 devices, and instead adds external pads to all the unused pins of the JM60 44-pin processor such that this hardware can be reprogrammed to be used as a variety of USB devices, such as a low-cost USB oscilloscope ! The Freescale website provides sample code and a free PC GUI application for viewing the incoming waveforms of such a device.
The Rx and Tx pins of the JM60 are brought out and can be connected to a SCI interface on the target board (5v TTL logic). To enable virtual COM port on the PC side, the firmware has to be compiled with the CDC capability enabled. (Currently shipping devices have this by default. Older parts can easily upgrade by using the Bootloader.exe utility to flash this firmware 4.9 with serial port function enabled.)
Firmware flashing procedure
See the driver installation documentation for details on setting the PC configuration -- it is implemented as a CDC-ACM class that is natively recognized by Linux, Mac OS-X and Windows 7. (Only the serial port works on Mac OS-X, there are presently no drivers for the debugger.)
At high baud rates above 115000 baud, the JM60 doesn't match the standard values closely enough, so a baud rate has to be selected that divides out evenly on both the target and the JM60 24MHz bus clock. For example 250000 baud works well if the target supports it.
On the PC, "putty.exe" is a freeware terminal emulation program that supports such arbitrary baud rates.
The device comes with a standard 6-pin BDM cable and in enclosed in a transparent, elastic sleeve for protection.
• Installation procedure overview
• Works for HCS08 Open Source BDM
• CFV1 Open Source BDM
• TBDLM - Turbo BDM Light
• Standalone S-Record flash utility for rapid programming of target devices without Codewarrior
• The device comes preprogrammed with USBDM v 4.9 firmware:
- USBDM v 4.x Documentation
- Codewarrior 10.1/10.2 usage
- USBDM v 4.x Downloads
• For firmware questions, see the USBDM JM60 Discussion forum by PGO
To reprogram this device for other appications, a free C compiler and IDE with Processor Expert hardware configuration wizard and debugger can be downloaded from Freescale:
Codewarrior HCS08 Special Edition (32k code size limit)
|