I noticed that unless I disable interrupts before calling FLASH_erase or FLASH_write for sectors located in the first flash bank (0..512KB) the system reboots continuously.
This is not required when accessing the second flash bank (512KB to 1024KB).
I am using the KSDK 2.0.
I couldn't find any information in the documents that captures the above observation - and I can't actually make any sense out of it.
Please could anyone shed some light?