I am using the FRDM-K64F for a senior design project. I am programming the controller using KDS and processor expert by way of OpenSDAv2 from the segger website. I am programming the microcontroller with low level components instead of using the specified freedom board library. When I disconnect the board after debugging, the program only works until it loses power a second time. Any idea why it will not stay programmed indefinitely?