I'm using Ra6m1 MCU
I have 2 partition:
1. Bootloader partition: from 0x00000000 to 0x00010000 flash memory
2. Application partition : from 0x00010000 to 0x00080000
Problem: I want to use IWDT at Application partition, i have start iwdt at OFS0, but it not work.
However, if I change flash address of Application partition to 0x00000000 , IWDT work normally.
I thinks problem relates to option-setting memory location on flash. When i set start address at 0x00010000 (which is different from initital address 0x00000000 ) => option-setting memory address will start from 0x00010400 (arcording to "Renesas RA6M1 Group User's Manual: Hardware") , but system may only reads 0x00000400 so it keep iwdt disable.
So how can i solve this problem?
The option-setting memory (where 0FS0 register exists) determines the state of the MCU after a reset. So this particular address will be read to configure WDT and IWDT when the system boots. The…