AN2104 Freescale Semiconductor, AN2104 Datasheet - Page 11

no-image

AN2104

Manufacturer Part Number
AN2104
Description
Using Background Debug Mode
Manufacturer
Freescale Semiconductor
Datasheet
Background Debug Mode Application Examples
In-Circuit
Programming
of Internal FLASH
AN2104
Two BDM application examples are given here in a step-by-step format.
This application example of the BDM explains how to perform in-circuit
programming of the internal FLASH memory of an MC68HC912B32
using P&E Microcomputer Systems’ Cable12 POD and software (see
Figure
evaluation board.
Freescale Semiconductor, Inc.
For More Information On This Product,
When in normal operating mode, another normal operating mode
can be accessed, but this can be done only once.
To change to the normal operating mode, when the part is in
special operating mode, a 1 (one) must be written twice to the
SMODN bit in the mode register.
When the part comes up in special single-chip mode, the BDM is
enabled and active.
When the part comes up in special single-chip mode, it accesses
the BDM ROM, not the normal memory mapped locations at
$FF00–$FFFF.
To perform hardware commands, the BDM does not need to be
active (see
To perform firmware commands, the BDM must be enabled and
active (see
The BDM does not operate in stop mode.
1). The target board for this example is the M68EVB912B32
Go to: www.freescale.com
Table
Table
1).
2).
Background Debug Mode Application Examples
Application Note
11

Related parts for AN2104