STM32N6570-DK: SWV (ITM Console & Statistical Profiling) Remains Blank in STM32 AI Model Zoo Generated Project
I am trying to use SWV (ITM Console and Statistical Profiling) on the STM32N6570-DK with an application generated by STM32 AI Model Zoo (ST Edge AI 4.0). Normal debugging works perfectly—breakpoints, memory access, register view, and DWT->CYCCNT are all functional, and CoreDebug->DEMCR has TRCENA enabled. However, every SWV-related window (ITM Data Console, Statistical Profiling, Data Trace, etc.) remains completely blank.
I have already verified the SWV configuration in STM32CubeIDE (v1.19.0), updated the ST-LINK firmware to V3J17M10, tried both Software System Reset and Attach to Running Target, manually configured PB5 as GPIO_AF0_TRACE, and audited the generated project. The project contains no explicit initialization of ITM, TPIU, DBGMCU, or trace-related peripherals, and nothing appears to disable debugging. Since the project is generated by the AI Model Zoo (FSBL + XIP boot flow) and does not include an IOC file, I am unsure whether additional trace initialization is required or whether SWV is currently unsupported in this configuration.
Has anyone successfully used SWV (ITM Console or Statistical Profiling) with an STM32 AI Model Zoo generated project on the STM32N6570-DK? Is there any additional initialization required, or is this a known limitation of the current STM32CubeIDE/ST-LINK support for STM32N6? Any guidance or working example would be greatly appreciated.
