2025-07-25 2:12 AM
Hi,
I have configured my STM32H563AI CubeMX-project to use "JTAG with Trace Synchro(4bits)" and assigned the corresponding pins. Also, I explicitly activated the corresponding registers in DBGMCU and DCB by adding:
SET_BIT(DBGMCU->CR, DBGMCU_CR_TRACE_IOEN);
SET_BIT(DBGMCU->CR, DBGMCU_CR_TRACE_CLKEN);
SET_BIT(DCB->DEMCR, DCB_DEMCR_TRCENA_Msk);
to MX_GPIO_Init.
However, when I try to trace using Ozone V3.38g I always get a "No trace clock present, trace may not work correctly."-warning and nothing is read out from the instruction cache.
My trace settings in Ozone are:
Trace Source: Trace Pins
CPU Frequency: 250 MHz
Trace Port width: 4 bit
Maximum Instruction Count: 100M
I used an oscilloscope to look at the TRACECK-signal but found nothing there, it only ever has 0V.
Also, I verified my tracing setup, using a SEGGER Cortex M-Trace Reference Board and with this it was just working fine.
Also, I verified, that the corresponding registers get set in MX_GPIO_Init using ozone and just debugging via JTAG.
Any ideas how to solve this?
-Best regards
2025-07-25 4:56 PM - edited 2025-07-25 5:02 PM
Have you asked on the Segger forum? IIRC they do not have trace eval boards based on Cortex-M33.