Go - Execute User Code; Gt - Execute To Address - Axiom CML-5485 Hardware User Manual

Application board for freescale mcf5485 mcu
Table of Contents

Advertisement

C M L - 5 4 8 5
U S E R
M A N U A L
1000 = 4K bytes, 2000 = 8K bytes, 8000 = 32K bytes, 10000 = 64 K bytes.
To erase the complete internal flash, the command is:
fl erase F0000000 80000
To erase all user sectors of the external flash, the command is:
fl erase FFE40000 1C0000
GO – Execute user code
Usage:
GO <addr>
The GO command executes target code starting at address addr. The value for addr may be
an absolute address specified as a hexadecimal value, or a symbol name.
If no argument is provided, the GO command begins executing instructions at the current
program counter.
When the GO command is executed, all user-defined 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 that causes control
to be handed back to dBUG.
The GO command is repeatable.
Examples:
To execute code at the current program counter, the command is:
go
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

GT - Execute To Address

Usage:
GT addr
The GT command inserts a temporary software 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
V 1 . 0
30
0 6 / 2 2 / 0 5

Advertisement

Table of Contents
loading

Table of Contents