R5F100FE Code flash corrupted at site

Hi,

We have using renesas part R5F100FE in our product from long back.

We have received complaint from different sites regarding units is not working. 

After our investigation, we found the Code flash is corrupted in "R5F100FE" controller.

Same complaint we have received from different 3-4 site. 

After reprogram .hex file unit working fine.

We have read the code flash from Faulty unit with healthy unit and found some area of Code flash is corrupted.

Please give some solution for the same.

 

 

'

  • Hi vpatel,

    Were you able to determine what's causing the memory to be corrupted? What kind of product or application did you use the R5F100FE?

    JB
    RenesasRulz Forum Moderator

    https://renesasrulz.com/
    https://academy.renesas.com/
    https://en-us.knowledgebase.renesas.com/

  • Hi,

    We are using R5F100FE is used in PID controller and installed in Panel with VFD and other motor are installed in same panel.

    We read the .hex file(with the help of cube suite by memory read option) from R5F100FE and compare compare it with healthy one.
  • "with the help of cube suite"
    Does this mean you used a debug connection to read memory of RL78?
    In debug mode the debugger programs an own memory to RL78.
    In which area did you find the differences?
    Does your software include flash programming routines?
    How long have the panels been in operation?
  • In reply to FrankL:

    Hi,
    "with the help of cube suite"
    Reply: Yes
    Does this mean you used a debug connection to read memory of RL78?
    Reply: Yes
    In debug mode the debugger programs an own memory to RL78.
    Yes ,we have make one blank project to read the memory.
    In which area did you find the differences?
    Reply: below location found difference.
    0xfef00 to 0xfef80
    0xff130 to 0xff150
    0xff190 to 0xff350
    0xff370 to 0xff3a0
    0xff3e0 to 0xff450
    0xff560 to 0xff580
    0xff5c0 to 0xff5d0
    0xff620 to 0xff630
    0xff650 to 0xff670
    0xff690 to 0xffaf0
    0xffbf0 to 0xffe20
    0xffe80 to 0xffed0
    Does your software include flash programming routines?
    Reply: No
    How long have the panels been in operation?
    Reply: Few Panels from 2-3 months,Few panels for 1-2 Week.
  • In reply to vpatel:

    Any update on this....
  • In reply to vpatel:

    This is RAM area. RAM area is 0xFEF00-0xFFEDF.
    So your application has corrupted data.
    It is not about corrupted flash.
    This is a problem in your software.
    I would guess the applications would also work again if they are powerless for some time.
  • In reply to FrankL:

    Hi,

    If the issue in RAM area then i will restart the unit it will be recover.
    But unit is not recover after power cycle restart.

    Also find below investigation from faulty units

    We have also received some faulty units from field with same complaint.

    After our investigation we found there was no hardware damage. Also in power restart cycle unit is in the same faulty condition.

    Just we have connected the product having part ( "R5F100FE") to Cube suite(without downloading .hex file and using blank project to connect) to read the memory then after product is automatically come out in healthy condition from faulty condition.

    Its looks strange for me. I think device ( "R5F100FE") goes automatically in some mode like debug ...etc. Is this possible?

    please give your comments on this.
  • In reply to vpatel:

    Yes, if the emulator session is started the emulator issues a reset to the device and start debug initialization. In this initialization debug information is being programmed. as described in the RL78/G13 manual. Most important, the reset vector is rewritten for the monitor software. So after connecting the emulator the application cannot be used anymore.
  • In reply to FrankL:

    What is the difference between reset by emulator and power on reset ?

    why unit didn't get on by power on reset ?and it gets on by emulator. what can be the reason.

    How can we protect this situation in field?
  • In reply to vpatel:

    vpatel,

    Have you found the solution to your data corruption issue?

    Mike Clements
    RenesasRulz Moderator
  • In reply to Mike Clements:

    Hi,

    We did not have found any solution till date.

    Regards
    Vijay Patel.
  • In reply to vpatel:

    vpatel,

    As FrankL said

    "Yes, if the emulator session is started the emulator issues a reset to the device and start debug initialization. In this initialization debug information is being programmed. as described in the RL78/G13 manual. Most important, the reset vector is rewritten for the monitor software. So after connecting the emulator the application cannot be used anymore."

    You stated that on the boards you are having problems with they reset into a debugging session. Is it possible that these units had an emulator session opened after they were flashed?

    Mike Clements
    RenesasRulz Moderator