Skip to main content
Visitor II
August 19, 2023
Question

Couldn't connect target in Hot Plug Mode in STM32 Cube Programmer.

  • August 19, 2023
  • 1 reply
  • 1448 views

I want to see the RAM content of a Running Device. I suspect it might be got corrupted. Also, I don't want to Reset the device. I think connecting the device using Hot Plug mode in STM32Cube Programmer is the solution for this. But I am not able to connect these devices with Hot Plug Mode. Normal Mode is also not working. But I can connect devices using Power Down and Under Reset mode.

I am using ST-Link V2 As a hardware debugger.
MCU is - STM32L152RC
What can be the issue?

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
August 19, 2023

Make sure the device isn't going into Low Power modes, turning off the debug pins, or reconfiguring them.

Perhaps create a UART based console or monitor app to allow you to interact with the system or see Hard Fault or Error Handler failures. Do integrity and sanity checking. Dump RAM, portions or stack via console.

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