Closed
Description
I was just passing by, felt curious about the code, so I jumped in, and ...
I encountered this issue in ./support/gdbsupport.init
in this line https://github.com/Marus/cortex-debug/blob/master/support/gdbsupport.init#L4
(this applies to all gdb commands related to ITM/SWO)
all addresses assumes that TPIU base address is always the same for all the devices, but no
you can refer to STM32H74xx as an example where SWO and TPIU are at different addresses (0xE00E3000, 0xE00F5000)
there is an ongoing work for openocd to fix that as well : http://openocd.zylin.com/#/q/topic:tpiu