To enable Serial Wire Trace on Toshiba TMPM330 devices:
Connect the ULINKpro debugger adapter with the
board's Cortex Debug
connector and with the host computer.
Configure µVision to capture Serial Wire Trace data as
described in the manual 32-bit RISC Microprocessor - TMPM330
Family, chapters Port A (PA0-PA7), and Port B
(PB0-PB7).
Configure µVision to capture Serial Wire Trace data
Open the dialog Options for Target — Debug.
Enable Use, select ULINK Pro Cortex Debugger, and
click Settings open the Target Driver Setup dialog.
Enable SWJ and select SW from the Port
drop-down list.
Click the Trace tab.
Set Trace Enable.
Set the Trace Port to Serial Wire Output -
Manchester.
Enable Autodetect for the SWO Clock.
Make sure the Core Clock is set correctly.
Start the debugging session and verify the captured trace data
with a µVision window.
Note
Use the examples delivered with the Keil board MCBTMPM330 as a
reference.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.