My device is R5F10277 of RL78/G12.
The code memory is 4KB.
The flash memory is 2KB.
The RAM size is 512 Byte.
My state is below:
I need to read flash data before entering stop mode.
When device is enabled, below step is executed:
2. read flash data
4. execute STOP mode
After firmware is programmed and executed, my device become two state:
After turn on the power supply, device don't enter stop mode and can't do anything.
After turn on power supply, device enter stop mode and can wake up and return to stop mode by push SW operation.
But after above describe, if turn off the power supply more than 10 seconds, and turn on power supply again, the device become the state of "State 1".
If device is working in debug of CS+ IDE, there is no problem of above state describe.
This problem is trouble to me some days.
Could anybody give some suggest ?
In reply to Sheng: