2025-03-04 3:51 PM - edited 2025-03-04 3:51 PM
Hi,
Compiler: ARM Keil MDKv5 version 5.41
When using Embedded Trace (Sync Trace with 4-bit) and the Debug Description file (.dbgconf Configuration File) from the STM32U5A5 DFP v3.0.0 pack is enabled, the processor enter debug mode, but no trace data is send from processor. The SWD debugger works correctly and it is possible to step through the code, breakpoints, etc.
Once in debug mode, a breakpoint is placed on the code, and the GPIOE_MODER register is read back as 0xFFFFFFFF, which indicates that the .dbgconf file is somehow incorrect. The Log Sequence shows that the .dbgconf file is read and executed but the trace signals are not enabled.
If the GPIO_MODER register is changed manually (selecting the alternate function mode for PE2, PE3, PE4, PE5 and PE6), the Trace signals are enabled (seen on the oscilloscope) and the Trace data is read correctly in uVision.
Do you have an updated .dbgconf file or a different workaround to enable the Trace Signals for the STM32U5xx processor in uVision?
Thanks!