Real ICE - issue with user instrumented trace
I purchased a Real ICE a couple of months ago mainly because of its trace capability.
Trace didn't work, so, as always, I suspected a mild form of PEBKAC. After some projects in between, I decided to give it another try, so I have read all the accompanying docs multiple times to make sure I wasn't making one of the more obvious mistakes.
My setup looks like this:
Real ICE FW 01.56.00
Hardware is a PIC18F46J50 FS USB demo board (MA180024), simple C project with one __LOG and __TRACE statement.
MPLABX project options:
- Real ICE > Trace and Profiling > Communcations Medium: Native
- Real ICE > Trace and Profiling > Disable Trace Macros: unchecked
- Real ICE > Clock > Target run-time instruction speed: 12 MIPS (the 46J50 is clocked at 48MHz)
The HW debug tool feature PDF says the 46J50 can do any of the three types of user-instrumented trace, which are native, SPI and port trace, so I picked native trace since it only requires the PGD and PGC lines which are connected anyway if you use the ICE for programming and debugging (both working).
Still, the trace window does not show any of the trace statements present in the code.
How can I get the user-instrumented trace to work?