
T W R - 9 S 1 2 G 1 2 8
J U N E 2 , 2 0 1 0
U S E R G U I D E
7
SOFTWARE DEVELOPMENT
Software development requires the use of a compiler or an assembler supporting the
HCS12(X) instruction set and a host PC running a debug interface. CodeWarrior Development
Studio is supplied with this board for application development and debug. Refer to the
supporting CodeWarrior documentation for details on use and capabilities.
NOTE:
OSBDM is not functional at this time and will provide power to the
board only. Updated OSBDM firmware is expected in August 2010 to
support the HCS12 target. An external BDM is required to program
and debug the target MCU.
DEVELOPMENT SUPPORT
Application development and debug for the target TWR-S12 board is supported through the
Open-Source Background Debug Mode (OSBDM) interface or an external BDM interface
connector. The OSBDM is fully supported in CodeWarrior and provides direct, non-intrusive
access to the target device internals. While in BDM mode, no internal resources are used.
Code stepping and break-points are fully supported.
Connection between a host PC and the target device is provided via a mini-B, USB connector.
The OSBDM is capable of providing power to the target board eliminating the need for external
power. Please note that power supplied by the OSBDM is limited by the USB specification.
When powered through the OSBDM, total current draw, including the OSBDM, TWR-S12
board, and Tower System must remain less that 500mA. Otherwise, the USB bus will cause
the host PC to disconnect the board. Damage to the host PC, target board, or Tower System
may result if this current limit is violated.
NOTE:
OSBDM is not functional at this time and will provide power to the
board only. Updated OSBDM firmware is expected in August 2010 to
support the HCS12 target. An external BDM is required to program
and debug the target MCU.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from