Hi,
I am using Ra6m1 MCU
I’ve 2 partitions
1. Bootloader partition from 0x00000000 to 0x00010000 flash memory
2. Application partition from 0x00010000 to 0x00080000
The problem I want to use IWDT at the Application partition, I’ve started iwdt at OFS0, but it doesn’t work.
Still, if I change the flash address of the Application partition to 0x00000000, IWDT works typically.
I suppose the problem relates to an option- setting memory position on flash. When I set the start address at 0x00010000( which is different from the initial address 0x00000000) = > the option- setting memory address will start from 0x00010400( according to” Renesas RA6M1 Group User’s Manual Hardware”), but the system may only read 0x00000400 so it keeps iwdt disable.
So how can I solve this problem?
Thank You
Hi Son, The option-setting memory( where the 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 way to change these registers is from the bootloader image, as I explained. You may find someRead more
Hi Son,
The option-setting memory( where the 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 way to change these registers is from the bootloader image, as I explained.
You may find some useful information about bootloader applications here.
Let us know if you have further questions.
See lessRegards,
Alex