Hi,
I can't setup properly J-Trace/Ozone for tracig on NXP RT1060-EVK (REV A2).
I wired a custom connector according to "19-pin JTAG/SWD and Trace connector" indication on J-Trace User Guide.
TRACE0 soldered on R247 (GPIO_B0_04)
TRACE1 soldered on pin 1 of SW5 (GPIO_B0_05)
TRACE2 soldered on pin 2 of SW5 (GPIO_B0_06)
TRACE3 soldered on pin 3 of SW5 (GPIO_B0_07)
ARM CKL on pin 3 of SW6 (GPIO_B0_12)
ARM SWO on pin 2 of SW7 (GPIO_B0_13)
Switches for those pins are either DNP or in off position (no pull up).
R247, R248, R249, R250, R255, R256 DNP (no pull down).
Other SWD pins are connected to the jtag connector.
The flashing and normal debug works properly.
Then I configured a default project with MCUXPresso IDE to:
- GPIO: enable trace pins, trace clock and swo on GPIO_B0_04/GPIO_B0_07 - GPIO_B0_12/GPIO_B0_13
- CLOCK: enable trace clock
Then configured Ozone jdebug files to enable tracing (Trace Pins).
But this setup is not working, I can see with a scope the trace clock and trace signals, J-Trace TRACE led lights up ORANGE, but Ozone does not update instruction counters.
I tryed variuos settings on the GPIO pins (fast/slow, different drive strenght) and on the trace clock too (from 132MHz to 88MHz) but I can't find a working setting.
The trace clock is not as good as the one here: wiki.segger.com/Tracing_on_NXP…050_Trace_Reference_Board), but the scope used to check is a 200MHz one.
I can't check the NXP_iMX_RT1050 reference board confugurarion because seems that all the relevant setup is done inside the compiled .pex file.
Could you provide a schematic of the NXP_iMX_RT1050 reference board and, most useful, the configuration steps in the right order (if relevant) for the GPIO pins and trace clock for the RT1050 reference board?
Many thanks
Alessio
I can't setup properly J-Trace/Ozone for tracig on NXP RT1060-EVK (REV A2).
I wired a custom connector according to "19-pin JTAG/SWD and Trace connector" indication on J-Trace User Guide.
TRACE0 soldered on R247 (GPIO_B0_04)
TRACE1 soldered on pin 1 of SW5 (GPIO_B0_05)
TRACE2 soldered on pin 2 of SW5 (GPIO_B0_06)
TRACE3 soldered on pin 3 of SW5 (GPIO_B0_07)
ARM CKL on pin 3 of SW6 (GPIO_B0_12)
ARM SWO on pin 2 of SW7 (GPIO_B0_13)
Switches for those pins are either DNP or in off position (no pull up).
R247, R248, R249, R250, R255, R256 DNP (no pull down).
Other SWD pins are connected to the jtag connector.
The flashing and normal debug works properly.
Then I configured a default project with MCUXPresso IDE to:
- GPIO: enable trace pins, trace clock and swo on GPIO_B0_04/GPIO_B0_07 - GPIO_B0_12/GPIO_B0_13
- CLOCK: enable trace clock
Then configured Ozone jdebug files to enable tracing (Trace Pins).
But this setup is not working, I can see with a scope the trace clock and trace signals, J-Trace TRACE led lights up ORANGE, but Ozone does not update instruction counters.
I tryed variuos settings on the GPIO pins (fast/slow, different drive strenght) and on the trace clock too (from 132MHz to 88MHz) but I can't find a working setting.
The trace clock is not as good as the one here: wiki.segger.com/Tracing_on_NXP…050_Trace_Reference_Board), but the scope used to check is a 200MHz one.
I can't check the NXP_iMX_RT1050 reference board confugurarion because seems that all the relevant setup is done inside the compiled .pex file.
Could you provide a schematic of the NXP_iMX_RT1050 reference board and, most useful, the configuration steps in the right order (if relevant) for the GPIO pins and trace clock for the RT1050 reference board?
Many thanks
Alessio