Hi everybody
Well this is just a detailed way to get back debug. The original post is https://community.nxp.com/message/959969?commentID=959969#comment-960109.
This is my error shown:
So after this you cannot debug any project. You can get it back erasing flash. The way to do it is using an script in this address:
MCUXpressoIDE_10.2.0_759\ide\bin\Scripts
First you have to select a project in MCUXpresso IDE in order to get active GUI Flash Tool icon and then click in it.
In the next window, click on File System button and select LPC5410xMassErase.scp file.
After this click on Run button and wait to end process, and ready you can debug your project again.
Best Regards
Your welcome, I hope this could be helpfully!