|
MC9S12HY64 Datasheet, PDF (169/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers | |||
|
◁ |
Background Debug Module (S12SBDMV1)
Table 5-4. Hardware Commands (continued)
Command
Opcode
(hex)
Data
Description
WRITE_BD_WORD CC 16-bit address Write to memory with standard BDM ï¬rmware lookup table in map.
16-bit data in Must be aligned access.
WRITE_BYTE
C0 16-bit address Write to memory with standard BDM ï¬rmware lookup table out of map.
16-bit data in Odd address data on low byte; even address data on high byte.
WRITE_WORD
C8 16-bit address Write to memory with standard BDM ï¬rmware lookup table out of map.
16-bit data in Must be aligned access.
NOTE:
If enabled, ACK will occur when data is ready for transmission for all BDM READ commands and will occur after the write is
complete for all BDM WRITE commands.
5.4.4 Standard BDM Firmware Commands
Firmware commands are used to access and manipulate CPU resources. The system must be in active
BDM to execute standard BDM ï¬rmware commands, see Section 5.4.2, âEnabling and Activating BDMâ.
Normal instruction execution is suspended while the CPU executes the ï¬rmware located in the standard
BDM ï¬rmware lookup table. The hardware command BACKGROUND is the usual way to activate BDM.
As the system enters active BDM, the standard BDM ï¬rmware lookup table and BDM registers become
visible in the on-chip memory map at 0x3_FF00â0x3_FFFF, and the CPU begins executing the standard
BDM ï¬rmware. The standard BDM ï¬rmware watches for serial commands and executes them as they are
received.
The ï¬rmware commands are shown in Table 5-5.
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
Freescale Semiconductor
169
|
▷ |