Renesas RA0E3

From SEGGER Knowledge Base
Jump to navigation Jump to search

The Renesas RA0E3 are energy-efficient ARM Cortex-M23 based microcontrollers, well suited for cost-sensitive and low-power applications.

Flash Banks

Flash bank Base address J-Link support Flasher support Loader
Name Bank size
Internal program flash 0x00000000 YES.png YES.png Default 16 KB
Option-setting memory 0x01010010 YES.png YES.png Default 36B


Watchdog Handling

  • The device has an Independent Watchdog Timer (IWDT).
  • The watchdog is fed during flash programming.

Device Specific Handling

Connect

  • Authentication via IDCODE is supported
  • Wake-up CPU from low-power mode is supported
  • Connect under reset is supported
  • Flash Read Protection (FRP) Support:
    • FRP is disabled by modifying the OFS1 register, which resides in internal flash memory.
    • FRP can only be disabled if the flash region is not protected by AWS.
    • OFS1 is restored to its initial value upon disconnect.

Reset

  • The device uses normal Cortex-M reset, no special handling necessary, like described here.

Limitations

Security

  • The device has a debug locking feature based on the 128 bit IDCODE, programmed into option-setting memory.
  • During connection, the user will be asked to specify the IDCODE code to unlock debugging access if it was previously programmed.
  • Use the following IDCODE to send the ALeRASE command, which triggers erasure of the user flash (code and data) area and the configuration area: FFFFFFFFFFFFFFFFFF45534152654C41
  • Important: Make sure the byte order of the ALeRASE command is correct, as above shown above. A common mistake is using the wrong byte order, which will cause the command to fail.

Flash write protection

  • The device implements a program flash write protection feature based on the access window. A pair of addresses can be programmed into option-setting memory to determine a memory range, in which programming/erasing operations are permitted.
  • To disable flash protection using JLink commander:
exec EnableEraseAllFlashBanks
erase 0x01010010 0x01010034
  • To disable flash protection using JFlash application:
1) Select "Opt flash" bank only.
2) Click Target -> Manual Programming -> Erase Sectors
  • If FSPR bit of AWS register is set to 0, program flash write protection is enabled permanently.

Evaluation Boards

Example Application