1. Meaning of the Error
"1130 ERASE ERROR 10" is an error that occurs when a "protect error (abnormal
response code: 10h)" response is received from the target microcontroller during the
execution of a block erase command. It indicates that an operation (erase/reprogram)
prohibited by security settings, etc., was attempted on the microcontroller.
"1130 ERASE ERROR 10" is an error that occurs when a "protect error (abnormal
response code: 10h)" response is received from the target microcontroller during the
execution of a block erase command. It indicates that an operation (erase/reprogram)
prohibited by security settings, etc., was attempted on the microcontroller.
2. Causes and Countermeasures
■ Cause: Erase block due to the microcontroller's security function
This error occurs when an erase is executed on an area that is in one of the following
states in the microcontroller's security settings.
- An erase was performed while the microcontroller's security setting was set to
"Block Erase Prohibition". - An erase of an area including boot cluster 0 was performed when the
microcontroller's security setting was set to "Boot Block Cluster Reprogram
Prohibition".
* Supplement: About the boot cluster 0 area
The following ranges apply depending on the target microcontroller.
The following ranges apply depending on the target microcontroller.
- RL78/F12, G12, G13, G14, I1A:
0x00000 to 0x00FFF(first 4KB) - RL78/D1A, F13, F14, F15, F1A:
0x00000 to 0x01FFF(first 8KB)
■ Countermeasure (Avoidance method)
Due to the device specifications of the microcontroller, once the protection of
"Block Erase Prohibition" or "Boot Block Cluster Reprogram Prohibition" is set
(programmed), it cannot be released (reset) to the "permitted" state later by
an operation from the flash programmer. Therefore, it is impossible to erase or
reprogram a microcontroller in which this error has already occurred, and it cannot
be avoided.
Due to the device specifications of the microcontroller, once the protection of
"Block Erase Prohibition" or "Boot Block Cluster Reprogram Prohibition" is set
(programmed), it cannot be released (reset) to the "permitted" state later by
an operation from the flash programmer. Therefore, it is impossible to erase or
reprogram a microcontroller in which this error has already occurred, and it cannot
be avoided.
< Precautions for future operation >
If it is necessary to reprogram the program later in operation, please be careful not to set the protection of "Block Erase Prohibition" and "Boot Block Cluster Reprogram Prohibition" in the security settings.