I am using an RX-family microcontroller that has the ID code protection function. When I disconnect and reconnect one of the following flash programming tools and then execute a command, one or more of the following bad effects occurs regardless of writing having been completed normally.
- Flash programming tool
- Renesas Flash Programmer
- A verification error occurs.
- Data are read from locations in the erased state.
- Areas which have not been rewritten are erased.(※All flash memories including the Code Flash area and Data Flash area)
- A calculated checksum was not as expected.
When erasing memory in an RX MCU that has the ID code protection function, check that ID code protection is enabled. If executing a command while protection is disabled will lead to the RX MCU erasing all blocks of the ROM (flash memory for storing code) and data flash memory (flash memory for storing data) or entering the state of being ready for erasure on connection with the flash programming tool, the above effects may occur after a command is executed in this situation.
If you do not want all blocks to be erased or the MCU to be placed in the state of being ready for erasure on connection with the flash programming tool, only execute a command after enabling ID code protection for the RX MCU and specifying the correct ID code through the flash programming tool.
For more information on ID code protection for the RX MCU you are using, refer to the User's Manual: Hardware for the device you are using.
For ID code verification with the flash programming tool, refer to the user's manual of the flash programming tool you are using.
|Renesas Flash Programmer|