Hi @danielmartynek ,
Thanks again for your time to reply me. I have another question.
When I used the JLink debugger of SEGGER to debug my program, normally the program would stop at the entrance of main function, but when it was actually running, the program unexpectedly stopped at the middle part of main function.
I would like to know how to set the debugging to return to normal working state
The breakpoint displayed in the Debug View is in the middle of the program, not at the beginning

These are my debugger configurations

