Categories

{{ selectedCategory.name }}

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

{{ topic.Content }}

No topics found!

Renesas RH850: Flash programming fails

16-Dec-2021

Possible causes and solutions:  

1. 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


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

Make sure that ICUM is disabled. 


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

Refer to this topic. 


4. Sector/mass erase operation fails.

Caused by issues in older winIDEA:  


5. 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.

  1. Open Hardware menu / 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. 


6. 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 menu / Flash device 
  2. Disable Use hash verification.
  3. Perform Mass erase with Hardware menu / code FLASH device / Mass erase command

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


7. 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!