cancel
Showing results for 
Search instead for 
Did you mean: 

Able to program board despite "Debug: Disable" setting

zzzaizz
Associate III

Please use English on this forum.

Translated: The development board is STM32H723, using stm32cubemx for development, debug is disabled, using stlink to burn found that it can be burned, and it can also be debugged, which is very strange! (The development board is STM32H723.) It was developed using STM32CUBEMX. The debugging option is set to "Disabled". Programming with stlink, discovering that it can be programmed and debugged. It's weird! )

Original:

开发板为STM32H723,使用stm32cubemx进行开发,debug勾选禁用,使用stlink烧录发现可以烧录,并且还可以调试,非常奇怪!(开发板是STM32H723。它是使用stm32cubemx开发的。调试选项设置为“禁用”。使用stlink进行编程,发现可以编程,也可以调试。这很奇怪!)

 

11 REPLIES 11

You mix two debug and flash. Debug have some condition . Flash is other conditions.

For flash exist UNDER RESET way , that work always except RDP lock level 2.

I mean your F1 setup too can be flash this way with "disabled debug"

You should be able to change the post you mark as the "solution".

The F1 is a different chip, so it may behave differently. In particular, pin settings are peripheral-specific not pin-specific. In addition, most F103 chips in use are counterfeit so nothing is guaranteed.

If you want to track it down, create a new thread with enough information on your hardware, settings, and program.

If you feel a post has answered your question, please click "Accept as Solution".