M5251C3 Evaluation Board Users Guide, Rev. 0
Freescale Semiconductor
2-13
To execute code at the C function main(), the command is:
go _main
To execute code at the address 0x00040000, the command is:
go 40000
2.4.12
GT (Execute To)
Usage: GT addr
The GT command inserts a temporary breakpoint at addr and then executes target code starting at the
current program counter. The value for addr may be an absolute address specified as a hexadecimal value,
or a symbol name.
When the GT command is executed, all breakpoints are inserted into the target code, and the context is
switched to the target program. Control is only regained when the target code encounters a breakpoint,
illegal instruction, or other exception which causes control to be handed back to dBUG.
Examples:
To execute code up to the C function bench(), the command is:
gt _bench
2.4.13
IRD (Internal Register Display)
Usage: IRD <module.register>
This command displays the internal registers of different modules inside the MCF5xxx. In the command
line, module refers to the module name where the register is located and register refers to the specific
register to display.
The registers are organized according to the module to which they belong. The available modules on the
MCF5xxx are CS, DMA0, DMA1, DMA2, DMA3, DRAMC, PP, MBUS, SIM, TIMER1, TIMER2,
UART0 and UART1. Refer to the
MCF5407 Reference Manual
for more information on these modules
and the registers they contain.
Example:
ird sim.rsr
2.4.14
IRM (Internal Register Modify)
Usage: IRM module.register data
This command modifies the contents of the internal registers of different modules inside the MCF5xxx. In
the command line, module refers to the module name where the register is located and register refers to
the specific register to modify. The data parameter specifies the new value to be written into the register.
The registers are organized according to the module to which they belong. The available modules on the
MCF5xxx are CS, DMA0, DMA1, DMA2, DMA3, DRAMC, PP, MBUS, SIM, TIMER1, TIMER2,
Summary of Contents for freescale M5251C3
Page 1: ...Document Number M5251C3UG Rev 0 05 2006 M5251C3 Evaluation Board Users Guide ...
Page 6: ...M5251C3 Evaluation Board Users Guide Rev 0 vi Freescale Semiconductor ...
Page 18: ...M5251C3 Evaluation Board Users Guide Rev 0 1 12 Freescale Semiconductor ...
Page 42: ...M5251C3 Evaluation Board Users Guide Rev 0 2 24 Freescale Semiconductor ...
Page 68: ...M5251C3 Evaluation Board Users Guide Rev 0 B 6 Freescale Semiconductor ...