I/O Port Trace Connections (Logic Port)

Parallel trace is possible using a device 8-pin I/O port and the emulator logic probes. This provides greater trace speed and data quantity, but limits emulator-to-target distance by the length of the logic probes. The figure below shows these additional connections.

Figure: Parallel Trace Connections

PortIOTraceConnections2.jpg

For this trace configuration, seven (7) lines of data and one (1) line for clock are transmitted. PORTx must be a port with 8 pins that has all 8 pins available for trace. The port does not have to be one physical port but can be made up of pins from more than one port. The port pins must not be multiplexed with the currently-used PGC and PGD pins.

For allowable PORTx configurations:

  1. Right-click on your project in the Projects window and select "Properties".
  2. In the Project Properties window, click on the “REAL ICE” category
  3. Select the “Trace and Profiling” option category from the drop down list.
  4. Under “Data Collection Selection”, select the trace that is supported for your device, e.g., “User Instrumented Trace”.
  5. Under “Communications Medium”, select “I/O Port”.
  6. Under “I/O Port Selection”, select your port configuration from the list.

A basic configuration is shown in the following table.

Table: I/O Port Trace Connection Example

PORTx pin Logic Probe pin(1) Content
0 EXT0 Data
1 EXT1 Data
2 EXT2 Data
3 EXT3 Data
4 EXT4 Data
5 EXT5 Data
6 EXT6 Data
7 EXT7(2) Clock

Note 1: For pin descriptions, see “Logic Probe/External Trigger Interface” under Emulator Pod Hardware.
Note 2: Use a 10 kΩ pull-down resistor for noise reduction.

Do not use pull-up or pull-down resistors, capacitors or diodes on port pins, except as specified.

For more on this type of trace, see Types of Instrumented Trace.

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.