M32R Debugger and Trace | 8
©
1989-2023
Lauterbach
Quick Start
Starting up the debugger is done as follows:
1.
Select the device prompt for the ICD Debugger and reset the system.
The device prompt
B::
is normally already selected in the
. If this is not the
case, enter
B::
to set the correct device prompt. The
command is only necessary if you do
not start directly after booting the TRACE32 development tool.
2.
Specify the CPU specific settings.
The default values of all other options are set in such a way that it should be possible to work without
modification. Please consider that this is probably not the best configuration for your target.
3.
Set up data for electrical interface.
Normally the default value is 10.0 MHz, but the it can be increased up to 25 MHz.
4.
Inform the debugger about read only and none-readable address ranges (ROM, FLASH).
The
information is necessary to decide where on-chip breakpoints must be used. On-
chip breakpoints are necessary to set program breakpoints to FLASH/ROM. The sections of FLASH
and ROM depend on the specific CPU and its chip selects. Accesses to invalid addresses can cause
unrecoverable bus errors. To avoid bus errors from the debugger side use the subcommands of MAP
to define inaccessible memory areas. Bus errors can be removed by executing SYStem.Up. Make
sure that there isn’t any TRACE32 window open which accesses to a inaccessible memory that is not
masked out, otherwise the bus error can occur again.
B::
RESet
<cpu_type>
MAP.DenyAccess
MAP.NoDenyAccess <range>
MAP.BOnchip <range>