AnsweredAssumed Answered

K64F flash: why do I need to disable the system IRQs when writing/erasing sectors on the first bank (0 -> 512KB)?

Question asked by Jorge Ramirez Ortiz on Oct 17, 2016
Latest reply on Oct 17, 2016 by Jorge Ramirez Ortiz

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?

many thanks

Outcomes