cancel
Showing results for 
Search instead for 
Did you mean: 

am trying to connect stlink v2 debugger with stm32f413 mcu hardware in Cube programming sotware am getting Error: Cannot connect to access port 0 If you are trying to connet to a device with TrustZone enabled please try to connect with HotPlug mode

saraiahd
Associate II
 
3 REPLIES 3

Not much information to work with here.

Suggests the chip/board aren't running.

Start by providing information about the board, how the debugger is attached, and how everything is powered

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

what is HotPlug mode do u have any idea

Aziz BRIGUI
ST Employee

Hello @saraiahd​,

Welcome to ST Community !

Hot Plug mode is used to connect to the target without a halt or reset. You can check STM32CubeProgrammer user manual for further details on the connection modes.

For your specific case, as stated by @Community member​, could you provide more info on how you're connecting your debugger to the target ?

Thanks,

Aziz


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.