PicoFDL (T04) with IAR RL78 2.xx

Hello,

MCU: RL78/G13

We are now migrating from IAR 1.xx to 2.xx due to other issues and our dataflash library doesn´t compile with the new version because the tool provided by Renesas "RENESAS_FDL_RL78_T04E_V1.20" only allows generating libraries for 1.20 version of IAR.

Should we expect Renesas to update this tool for new versions soon? Or is it better to switch to other flash emulation library (T01 e.g.) assuming the cost in code size? Any alternative?

Thanks in advance!

Parents Reply
  • Hi andrvisht,

    Thanks for responding!

    The code generated by Applilet3 takes care of enabling the data flash:

    /* Start data flash control */
    DFLEN = 1U;
    for (w_count = 0U; w_count < 13U; w_count++)
    {
      NOP();
    }
    /* End data flash control */

    And I have added the library in the linker setup.

    I had the debugger set to Simulater. I've changed it to E1 and now it resets after the call to PFDL_Open().

    I have a breakpoint in R_Systeminit() and a breakpoint in the line after PFDL_Open(). After the call to PFDL_Open() the R_Systeminit() breakpoint is triggered.

    I've attached my project.

    Thanks!

    BR, Thomas

    DME_Profibus_2_R5F100LE.zip

Children