Showing results for 
Search instead for 
Did you mean: 

Inquiry on Debugging via USB Post-Secure Manager Installation

Associate III

Dear Team,


I hope this message finds you well. I am reaching out to inquire about the possibility of debugging an application through USB connectivity following the installation of the Secure Manager. Specifically, I am interested in knowing if it is feasible to load and debug the application in USB mode after the Secure Manager has been set up.

Thank you for your time and assistance.

Best regards,


ST Employee

Hello @Hitesh_Aratek ,
debugging a STM32 is always thanks debuging link. There is no way to debug over USB interface.
When you install the secure manager in developement mode, you are in TZ-Closed state and  you can download and debug thanks debugging link SWD/JTAG. 
If you move to close state, you still have capabilty to reopen the debuggin link that debug authentication mechanism

In the user application code example, the firmware update is done over USART, but you can replace it and develop your own a USB loader. This would allows to update the firmware over the USB.

Best regards,