Hello, guys
Now I am using ra6t1 to develop my application, and get a problem when I use flash erase, and I will show my problem with an simple example.
first, I make a new simple project like this.
In this simple project, I just use gpt12, open the gpt12 overflow interrupt, with 1ms cycle.
And the problem is once run the function R_FLASH_HP_Erase(), and the mcu will go out of control, if in the debug mode, it will go here below.
I guess it is about the interrupt problem when the mcu is in flash erase situation. But I don't know the problem exactly, and how to solve this problem, because there will be several interrupts when do the flash programming.
Thanks.
Hi Alex,
Thanks for reaching out to Engineering Community.
For code flash, BGO ( Background Operation) is not supported, so a code flash operation will not return before the operation has completed. If an…
And I need to add this, I am sure that this project don't use the flash section I try to erase.