[Supported model]
adviceLUNA, adviceLUNA2
[Scope of application]
ARM7/9
[Error message]
Unexpected break
[Question]
Unexpected break occurs when executing the program.
The memory of the address where the unexpected break occurred is shown as “0x00000000” or ”0x0000”.
[Answer]
0x00000000(ARM)/0x0000(Thumb) is used as a default value of software break code to invoke the software break.
Therefore, the unexpected break occurs if this code is used as a program code.
To prevent this problem, please change the value of software break code.
You can change the software break code at [MPU] - [MPU-Specific settings] - [OCD] dialog box.
We recommend you use “BKPT instruction” if your environment is ARM core architecture Ver.5 or later.
By doing so, you can use 2 points of OCD break even if you use software break.
(For ARM7/9 core) (6 points for ARM11 core)