2023-02-13 08:24 AM
Hi all,
I have custom hardware in the G4 series (491RE) and want to log some data. I don't have any communication method accessible now.
Only I can access SWDCLK and SWDIO pins. SWO pin used for another purpose. is there any method where I can get SWV data logging? I tried communicating with RTT (Stlink converted J-Link), but unfortunately, it won't support customs hardware. Is there any possibility of getting output through the SWDIO pin only (i need only one-way data communication, no need for duplex)
Thank you all
2023-02-13 08:27 AM
try out STMstudio or Cubemonitor
2023-02-13 08:32 AM
Semi-hosting might be another option.
See AN4989 Application note STM32 microcontroller debug toolbox and https://shawnhymel.com/1840/how-to-use-semihosting-with-stm32/
hth
KnarfB
2023-02-13 11:47 AM
> I tried communicating with RTT (Stlink converted J-Link), but unfortunately, it won't support customs hardware.
Really? The Segger's RTT library of course does support custom boards. If Segger J-Link software recognizes your ST-Link with J-Link firmware, you're good to go.