Dear Renesas Support Team,
I hope this message finds you well.
I am currently working with the RH850 F1KM-S1 microcontroller and encountering an issue where the system enters the _start exception (RESET). Upon checking the SEGFLAG register, I noticed that the VCIE flag is set.
_start
SEGFLAG
VCIE
.
Could you please guide me on how to resolve this issue,?
Your assistance would be greatly appreciated.
Hello,
So do you get an unexpected reset ?
The VCIE bit enables notification of an error response when accessing to a part of access prohibited areas in address map so it does not indicate the actual error cause.
Can you check the RESF — Reset Factor Register for its value which indicates the reset cause ?
First you should inspect the reset factor register. Based on that info, if not a cold-reset then the other system registers need to be inspected depending on the reset source.
An error such as SYSERR needs to be handled by the exception routine before a reset is generated (assuming a non-returnable exception occurred, or if a reset is desired otherwise).