This example demonstrates how instructions can be traced when running the TSK3000 processor (on the NB1 or NB2 NanoBoards). Instructions are captured and stored into memory while the processor is running and stopped when pausing the processor. The trace data can be extracted from the memory using the Nexus Debugger Panel.
To do this:
- Select the View » Workspace Panels » Instruments » TSK3000A
- Within the TSK3000A Panel, click the Pause button to stop the processor
- Open the Trace page - this page shows the memory starting at the address 0x0200_0000 (see the TraceMem memory definition of the processor)
- Right click on the memory page and then select the Convert Trace command.
Captured instructions will be dumped into the Output Panel and formatted like assembler.
Altium Designer projects included in this download:
- TSK3000_Trace.PrjFpg
- TestInstructions.PrjEmb