[Scope of application]
adviceXross, adviceLUNA II, adviceLUNA
[Question]
Unexpected break occurs while executing the program. How to solve this problem?
[Answer]
If the execution instruction code which is fetched by core is an instruction code for software which is recognized by ICE, unexpected break occurs and program stops execution.
Software break is realized by rewriting the program code to instruction code for software break. Therefore if the instruction code for software break is executed in the address where no software break has been set, it results in unexpected break.
[Workaround]
Check whether the address where the unexpected break was occurred is not the instruction code for software break.
You can change the instruction code for software break at [OCD] dialog box which you can find from [MPU] [MPU-Specific settings]. If it is possible to select [BKPT], select it.