AN2497 Freescale Semiconductor / Motorola, AN2497 Datasheet - Page 10

no-image

AN2497

Manufacturer Part Number
AN2497
Description
HCS08 Background Debug Mode versus HC08 Monitor Mode
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2497/D
Development Tools
10
HCS08 Background Debug Mode versus HC08 Monitor Mode
With background mode enabled (ENBDM = 1), the host can send the
BACKGROUND command to the BDC and change the operating mode from
user program to active background mode. At this point, all of the active
background mode and non-intrusive BDC commands can be used by the
debugger.
Alternatively, the MCU can switch from the user program to active background
mode by executing the BGND instruction after the host enables background
mode. If the background mode is not enabled (ENBDM = 0) when the CPU
comes to a BGND instruction, it will be treated as a NOP and program
execution will continue.
Finally, the MCU can switch from the user program to active background mode
after the host enables both background mode and breakpoints (BKPTEN = 1)
and then the CPU encounters a breakpoint set in the BDC breakpoint register
(BDCBKPT). As above, all active background mode and non-intrusive BDC
commands can then be used by the debugger.
HCS08 development tools using the BDC are currently available. P&E
Microcomputer Systems, Inc. (P&E) developed a BDM interface pod and cable
called BDM MULTILINK, which supports multiple voltages and frequencies.
This pod communicates to an MCU through a standard 6-pin BDM connector.
A standard IBM PC parallel port is used for communication between the host
and interface pod. (A USB version of the BDM MULTILINK is currently in
development.) The BDM MULTILINK supports the HCS08 and the HCS12
Families. For more information, please refer to P&E’s website
http://www.pemicro.com.
An upgraded version of P&E’s popular MON08 CYCLONE tool will also be
available to support the HCS08. The CYCLONE PRO has the capability to
perform standalone programming in addition to the debugging and
programming functions of the MULTILINK. The CYCLONE PRO connects to a
PC or host through a serial port, a USB port, or an Ethernet port.
HCS08 integrated development software is also available. Metrowerks’
CodeWarrior
environments that support debugging and FLASH programming in the
combination with the BDM MULTILINK. The Metrowerks website is
http://www.metrowerks.com.
Freescale Semiconductor, Inc.
For More Information On This Product,
(Figure
Go to: www.freescale.com
4) and P&E’s WinIDE provide complete development
MOTOROLA

Related parts for AN2497