User`s manual
RX600 & RX200 Series Simple Flash API for RX
R01AN0544EU0250 Rev.2.50 Page 8 of 33
March 4, 2014
2.13 Putting Flash API Code in RAM
RX600 & RX200 Series MCUs require that sections in RAM and ROM be created to hold the API functions for
reprogramming ROM. This is required because the FCU cannot program or erase ROM while executing or reading
from ROM. Also, the RAM section will need to be initialized after reset. Note that this is only for ROM programming.
If you are only programming the data flash area, you do not need these settings, but you should change the
configuration setting ‘FLASH_API_RX_CFG_ENABLE_ROM_PROGRAMMING’ to undefined in the file
r_flash_api_rx_config.h. Please follow the steps below if you are programming or erasing ROM:
In HEW:
1. Add a new section titled ‘RPFRAM’ in a RAM area.
2. Add a new section titled ‘PFRAM’ in a ROM area.