enable ECC function rl78/fx

Hi

Have anybody a complete RAM_ECC function which implementation for real-tiem program?

regards,

mazich

  • Hi Mazich,

    I'm not sure if there's a sample code shared publicly for RAM-ECC Function. Have you tried following this application note? However, you may try asking Renesas Technical Support if they have it and if they can provide it to you.

    JB
    RenesasRulz Forum Moderator

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

  • In reply to JB:

    Hi Mazich,
    Are you using RL78/F13, or F14, or F15 MCUs. These all have Hardware based RAM-ECC, and the app note JB references shows how to use RAM-ECC for F13 and F14. I believe F15 has the exact same HW RAM-ECC function.

    If you are asking about Software RAM-ECC for other RL78 MCUs without HW RAM-ECC, I have never seen any sample code for RL78 Software RAM-ECC.

    Regards,
    Mike
  • In reply to Mike Clodfelter:

    Thanks for response,

    RL78/F13:
    I used Applilet3 for code generation. some part of the generated code is contrary with the Flow Chart of ECC Test Function (Figure 4-2/r01an2164ej0220-rl78f13-14.pdf).

  • In reply to mazi:

    Which IDE, compiler and Code generator versions are you using?

    I tried using Applilet3 for RL78/F13 v1.15 code generator and set the device number to R5F10BMG.
    All I see are "shell" function for the following:
    ECC interrupt START
    ECC interrupt STOP
    ECC interrupt processing
    Maybe I am missing something, but I don't think RL78 Code generator is conflicting with the r01an2164ej0220-rl78f13-14.pdf RAM ECC processing flowchart.

    You can also see these above Applilet code functions listed in the API document from:
    www.renesas.com/.../r20ut4323ej0100-cgapirl78.pdf

    Sorry, I have not used RL78/F13 RAM ECC function, but I use Applilet3 and AP4 code generator for many other RL78 MCUs. In general, RL78 Code generator does NOT generate the complete USER SW code, but it just has the Peripheral function initialization, START, STOP and Interrupt Processing shells. However, I think you will have to add in the Figure 4-2 Flowchart processing Software code yourself.

    If you have some newer RL78/F13 code generator version than I have, and it has more RAM ECC code functions, please let me know so I can check it.

    Regards,
    Mike
  • In reply to Mike Clodfelter:

    thanks, I do it.
    Note; Since the RAM-ECC function is not executed during on-chip debugging.
    I also implemented the Figure 4-2 Flowchart. furthermore, I think in the code which be generated with code generator is conflicting with the RAM ECC processing flowchart.
    anyway I solved that.