Skip to main content
Visitor II
July 26, 2024
Question

Debug Set to No Debug

  • July 26, 2024
  • 2 replies
  • 805 views

Hi i want to know how can i fix the MCU's when i accidentally set the Debug mode to No debug in ioc file as i can not connect it now 

 

This topic has been closed for replies.

2 replies

Andrew Neil
Super User
July 26, 2024

Use "connect under reset"

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
AScha.3
Super User
July 26, 2024

Hi,

> Use "connect under reset" 

+

set reset : hardware (if you do anything with these pins in your program: only debug under hardware reset , to load /flash the program.)

If you want "normal" debug, set it in Cube/ioc , gen.code , then you have it (again).

If you feel a post has answered your question, please click on " Best Answer ".