2015-04-22 05:15 AM
Hi,
I'm working with the STM32F107. I would like to use the TPIU (trace port interface unit) with my uLinkPro. Do I have to configure the GPIO registers? I already set the DBGMCU_CR register. Thanks Matt2015-04-22 05:50 AM
For the F2/F4 GPIOE is configured.
For the F1 the examples just configure DBGMCU_CR C:\Keil4\ARM\Boards\Keil\MCBSTM32C\Blinky_ULp\STM32_TP.ini You might have to disconnect (links, jumpers, bridges) on the high order address bits for the trace pins from the memory devices they otherwise attach too.2018-03-05 05:39 PM
I am using F1 with ulink pro. Why CUBEMX doing trace settings in main()
2018-03-05 06:10 PM
Probably so it doesn't break things the debugger setup/configured earlier. Most of the trace setup is done by the debugger during initial connection. Most of the boards need care as the trace shares high order address bits with the externally bused memories.