Debugger Tutorial | 9
©
1989-2024 Lauterbach
2. Some cores require additional settings before the communication can be established. You can
set these options from the SYStem windows [C]. For details, refer to the Processor Architecture
Manual.
3. Establish the communication between the debugger and the core. The most common way is to
select the mode Up [D].
If Up is selected, the following steps are performed:
- Reset of the core.
- Initialization of the communication between the debugger and the core.
- Stop of the core at the reset vector, if supported by the core in use.
A second useful way to establish the communication between the debugger and the core is Attach
[E]. Attach allows to connect the debugger to an already running core.
If you get an error after selecting Up or Attach, refer to the Processor Architecture Manual.
4. The next step is to download your application into the target:
- if the application should run out of RAM then you can directly use the Data.LOAD command.
Just type Data.LOAD.* then select the file you want to download.
- For on-chip and off-chip NOR as well as memory-mapped serial flash programming, refer to
the FLASH command group and to the “Onchip/NOR FLASH Programming User’s Guide”
(norflash.pdf).
A video tutorial about programming the processor internal FLASH in TRACE32 is available
here:
support.lauterbach.com/kb/articles/flash-programming
- For non-memory-mapped flash programming (NAND, SPI, eMMC) refer to the FLASHFILE
command group. Depending on your flash device, you can find more details in “NAND FLASH
Programming User’s Guide” (nandflash.pdf), “Serial FLASH Programming User’s Guide”
(serialflash.pdf) or “eMMC FLASH Programming User’s Guide” (emmcflash.pdf).
The different debug scenarios are described in details in “Establish Your Debug Session”
(tutor_setup.pdf).
SYStem.Up Establish the communication between the debugger and the
core
SYStem.Mode Attach Establish the communication between the debugger and the
target core (without reset)