메인 콘텐츠로 건너뛰기
Knowledgebase
Home
Renesas Korea

Why bad effect occur using RX microcontroller that has ID protection?

Latest Updated:12/01/2014

Question:

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
    - PG-FP5

  • Effects
    - A verification error occurs.
    - Data are read from locations in the erased state.
    - Areas which have not been rewritten are erased.
    - A calculated checksum was not as expected.

Answer:

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.

  • Click here for the user’s manual of the Renesas Flash Programmer.
  • Click here for the user’s manual of the PG-FP5
Suitable Products
RX Family
PG-FP5
Renesas Flash Programmer