ETM trace with Ulink pro in STM32CUBEMX
I am using STM3210C EVAL board (stm32f107vc). UlinkPro debugger.
Here is the tutorial I found from keil.com.
http://www.keil.com/support/man/docs/ulinkpro/ulinkpro_stm32f10xxx_etm.htm
Here is the snipping.

So, when we need to using ETM trace, we just need to enable the Trace PORTs clock, and configure them as AFIO with highest speed, then set the DBGMCU_CR, that's it?
What I found in the STM32F107 user manual is this!

it looks different!
As I config in the CUBEMX with trace sw (4 bits), the output code doesn't do any thing related to the trace PORTs.
If I don't use trace.ini (as KEIL says) to pre-configure the MCU, ETM also works!
What rules should I follow when ETM tracing STM32 MCU?
Boys.Bob
‌ Please pay your attention? thanks ^ ^#etm