This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ra question about code flash erase

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.

     

Parents Reply Children
No Data