Debug SupportMCF5272 ColdFire ® Integrated Microprocessor User’s Manual, Rev. 3Freescale Semiconductor 5-195.5.3 BDM Command SetTable 5-17 summarizes the BDM command set. Subsequent paragraphs contain detailed descriptions ofeach command. Issuing a BDM command when the processor is accessing debug module registers usingthe WDEBUG instruction causes undefined behavior.Unassigned command opcodes are reserved by Freescale. All unused command formats within anyrevision level perform a NOP and return the illegal command response.Table 5-17. BDM Command SummaryCommand Mnemonic Description CPUState11 General command effect and/or requirements on CPU operation:- Halted. The CPU must be halted to perform this command.- Steal. Command generates bus cycles that can be interleaved with bus accesses.- Parallel. Command is executed in parallel with CPU activity.Section Command(Hex)Read A/Dregisterrareg/rdregRead the selected address or data register and returnthe results through the serial interface.Halted 5.5.3.3.1 0x218 {A/D,Reg[2:0]}Write A/Dregisterwareg/wdregWrite the data operand to the specified address or dataregister.Halted 5.5.3.3.2 0x208 {A/D,Reg[2:0]}Read memorylocationread Read the data at the memory location specified by thelongword address.Steal 5.5.3.3.3 0x1900—byte0x1940—word0x1980—lwordWrite memorylocationwrite Write the operand data to the memory locationspecified by the longword address.Steal 5.5.3.3.4 0x1800—byte0x1840—word0x1880—lwordDumpmemory blockdump Used with READ to dump large blocks of memory. Aninitial READ is executed to set up the starting address ofthe block and to retrieve the first result. A DUMPcommand retrieves subsequent operands.Steal 5.5.3.3.5 0x1D00—byte0x1D40—word0x1D80—lwordFill memoryblockfill Used with WRITE to fill large blocks of memory. An initialWRITE is executed to set up the starting address of theblock and to supply the first operand. A FILL commandwrites subsequent operands.Steal 5.5.3.3.6 0x1C00—byte0x1C40—word0x1C80—lwordResumeexecutiongo The pipeline is flushed and refilled before resuminginstruction execution at the current PC.Halted 5.5.3.3.7 0x0C00No operation nop Perform no operation; may be used as a null command. Parallel 5.5.3.3.8 0x0000Read controlregisterrcreg Read the system control register. Halted 5.5.3.3.9 0x2980Write controlregisterwcreg Write the operand data to the system control register. Halted 5.5.3.3.10 0x2880Read debugmoduleregisterrdmreg Read the debug module register. Parallel 5.5.3.3.11 0x2D {0x42DRc[4:0]}2 0x4 is a three-bit field.Write debugmoduleregisterwdmreg Write the operand data to the debug module register. Parallel 5.5.3.3.12 0x2C {0x4 2DRc[4:0]}