MPLAB ICE 4 is capable of streaming UART-format ITM trace to the host computer. Trace is captured on the TRACE/SWO pin of the 10-pin header (JTAG TDO pin). Data is buffered internally on the MPLAB ICE 4 and is sent over the trace interface to the host computer. The maximum reliable data rate is about 4 MB/s at this time.
The ITM contains the following sub-blocks:
Generates timestamp packet. | |
ITM synchronizer. | |
Arbitrates between synchronous, timestamp, and SWIT packet. | |
ATB First In First Out (FIFO). | |
ATB registered emitter. |
Data is written to the stimulus registers using the APB interface. This data is then transmitted on the ATB interface as SWIT packets .