Hello,
The code runs normally in the MCU, but cannot enter debug mode
But from your screenshot I see your MCU is in debug mode. Status of debugger is ready and you are stopped at _start label. But on that address I see no code. So once you run or step code you will get illegal instruction exception.
What do you mean by runs normally? Is it spinning motor or blinking with LEDs or sending some commands on serial lines?
Best regards
Peter
@stanish can you comment here?