cancel
Showing results for 
Search instead for 
Did you mean: 

Must GPIO register be configured for trace port

Matt_12345
Associate II
Posted on April 22, 2015 at 14:15

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

Matt
3 REPLIES 3
Posted on April 22, 2015 at 14:50

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 06, 2018 at 01:39

I am using F1 with ulink pro.  Why CUBEMX doing trace settings in main()

Posted on March 06, 2018 at 02:10

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..