Hello
Hope you are well.
Please follow these steps to regain control of your board:
- Import any example of the SDK, I suggest you import the iled_blinky example.
- Locate SW8 on your board.
- Change these switches so you can enter to Serial Downloader.

- Disconnect and connect the power of your board so the changer in SW8 takes effect.
- Make sure the project you imported does not have any debug configuration, if it has one please delete it.
- Launch the debug session while you are in Serial Downloader.
- Stop the debug session.
- Delete the debug configuration created while you launched this project.
- Go to your board and change SW8 the way it was.
- Disconnect and connect your board.
- At this point, you should be able to debug without any problem.
Let me know if this is helpful, if you have more questions do not hesitate to ask me.
Best regards,
Omar