**** Advance Notice ****

This site will be closed on 31 December 2015,

Important Information for users of NXP LPCXpresso

This site is for users of Code Red branded products.

NXP LPCXpresso users should visit the LPCXpresso FAQ's for up-to-date information relevant to that product.

You can't save spelling words.

Clear message

Red Trace Overview

What is Red Trace?

Red Trace is the collective name for the technology incorporated into Red Suite and associated debug probes to access the Serial Wire Viewer (SWV) functionality provided by Cortex-M3/M4 based systems. SWV offers levels of visibility into your debug target never before possible without expensive external trace capture boxes.

Note : LPCXpresso IDE does not support Red Trace (SWV).

In addition, Red Suite 5 (and LPCXpresso 5) also support "Instruction Trace" functionality. For more details, please see Instruction Trace Overview.

Do I need any additional hardware to use Red Trace?

Use of Red Trace requires connection to the target system using a compatible debug probe. This includes Code Red’s Red Probe, Red Probe+ and certain versions of TI’s ICDI, but not LPC-Link or the RDB-Link of an RDB1768v2 board.

Can I use it with an evaluation licence?

You can try out the functionality of Red Trace with an evaluation licence. However, you will be limited to invoking a single Red Trace run per debug session. This limitation is removed when you upgrade to a fully licensed version.

Can I use Red Trace with a JTAG debug connection?

SWV functionality is only available when connecting to the target MCU using SWD. If you are connected via JTAG, you will see an error message when you try to start Red Trace saying "No SWV target detected when trying to configure Red Trace".

For most Cortex M3/M4 targets, debug connections are made using SWD by default. However with LPC43xx parts, JTAG is used by default, so you will need to switch to using SWD. To do this you will need to modify the launch configuration for your project. For more details, please see the FAQ Launch Configuration Menu.

Can Red Trace be started without pausing the target?

You may start Red Trace at any time whilst debugging your program. The program does NOT have to be stopped at a breakpoint.

Target clock speed

Before collecting data, Red Trace asks for the configuration of your target. The target clock speed has to match the actual clock speed of the processor. If the clock speed setting does not match the actual clock speed of the processor, data will be lost, and the trace data will be meaningless.

Note that Red Trace can automatically detect the current clock speed on some systems, but on others the user will need to manually enter the appropriate value.

For more information

RedTraceOverview (last edited 2013-01-08 19:55:23 by JoeHale)