RX62N write data in internal memory instead of eeprom

Hi all ,

i have an RX62N   i am able to write/read  data in external  eprom  . Now i have a little problem

if i use the NMI ( setting vdet2  ) on power off  i have not sufficient time to write this data about 10 words  and can write just 3/10 

i just want to know if i can acces  for store and read in internal memory ..... thinking is more fast!

  • MarFrap,

    Have you found an answer to your question?

    Mike Clements
    RenesasRulz Moderator
  • This is a typical RTFM question.
    There is no reference how fast read or write of external flash is.
    Internal flash is read at PCLK speed without wait.
    Write of internal flash is done in 8 or 128 byte blocks. Writing an 8 byte block takes typ. 0.4ms, max. 2ms.
  • In reply to FrankL:

    but i dont want to know the time i want to know HOW write on internal memory to store and read data ……. didint find any example untill now
  • In reply to Mike Clements:

    note yet unfortunately
  • In reply to MarFrap:

    On the Renesas homepage is an application note showing how to use FIT library with e2 studio and CC-RX ...
    www.renesas.com/.../D4800030.html
    ... and another sample for a simple Flash API for HEW or e2 studio and CC-RX
    www.renesas.com/.../D3014171.html
  • In reply to FrankL:

    thanks i will try to study the second document ….. but at first glance there isnt code sample but just api .
  • In reply to FrankL:

    i just want to find an example how to use the flash like eprom..... and during ongoing operation i want to write 1 byte in the flash data and then read this byte. can someone help me with a simple example???
  • In reply to FrankL:

    :(:(
    unlickely i'm not able to do point 3 and 4 ......
    so cant finish other points:(
    Follow the steps below to add the middleware’s code to your project.
    1. Copy the ‘r_flash_api_rx’ directory (packaged with this application note) to your project directory.
    2. Add src\r_flash_api_rx.c to your project.
    3. Add an include path to the 'r_flash_api_rx' directory.
    4. Add an include path to the 'r_flash_api_rx\src' directory.
    5. Copy the reference configuration file 'r_flash_api_rx_config_reference.h' from the ‘ref’ folder to your project and rename it r_flash_api_rx_config.h.
    6. Configure middleware for your system through just copied r_flash_api_rx_config.h.
    7. Add a #include for r_flash_api_rx_if.h in any source files that need to use the Flash API.
  • In reply to MarFrap:

    hi use hew and not e2 studio
  • In reply to MarFrap:

    MrFrap,

    Are you having trouble including the r_flash_api_rx to your project?
    What version of HEW do you use?

    Mike Clements
    RenesasRulz Moderator