Categories

{{ selectedCategory.name }}

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!

Renesas RH850: Flash programming fails

12-May-2023

Possible causes and solutions

CPU reset caused by either External Watchdog circuitry or internal CPU watchdog

Disable all reset sources during debugging to resolve the issue. More information available here


P1x-C: UMI Error, R_FAD_ERR_FCUTRNS Transfer to FCU firmware failed

Make sure that ICUM is disabled. 


P1x-C: UMI Error, R_FAD_ERR_CLOCK The CPU clock frequency is incorrect

Refer to this topic. 


Sector/mass erase operation fails

Caused by issues in older winIDEA:  


UMI Error, R_FCL_ERR_PARAMETER

Enabled internal watchdog causes that reset invalidates the RAM ECC which silently unloads the Flash monitor and therefor timeout occurs. Use Option Bytes plugin.

Older versions of winIDEA:

  1. Open Hardware / Tools / FLASH.
  2. In FLASH Mask Options section press Preset for LPD4.
  3. Press Apply.

F1Kx devices: Contact iSYSTEM technical support to get an updated winIDEA version in which the maximum clock detection is improved. 


winIDEA version 9.17.151 and older: A lockbit could be set on code Flash sector that causes UMI error R_FCL_ERR_WRITE Flash write error in that sector.
  1. Enable Disable Lock Bits option in Hardware / Flash device 
  2. Disable Use hash verification.
  3. Perform Mass erase with Hardware / code FLASH device / Mass erase

DisableLockBits option disables the lock bits before erasing the flash. If this option is disabled and the flash sectors are locked, erase operation fails.


Check this general topic on Flash programming.


More resources:


Was this answer helpful?

Sorry this article didn't answer your question, we'd love to hear how we can improve it.
Note: This form won't submit a case. We'll just use it to make this article better.

Similar topics

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No similar topics found!

Other topics in the same category

{{ topic.Title }} {{ topic.Ddate | formatDate }}

{{ topic.Content }}

No topics found!