Hello, my name is Pavel, and I will be supporting your case, could you let me know if you are using the TWR or is a custom PCA? if you are using the EVK, are you using this connector?

Your issue showed appears when the MCU is not halted by the debugger, could you try to do a mass erase? and flash it again.
Best regards,
Pavel