During testing phase of SMJ320F2812 based card, controller malfunction is noticed after one flash write attempt. (Previous to that, several time flashed and working). Our code is written to flash and after booting, flash contents is loaded to RAM, from where it is thereafter executed. It looks like flash programming is successful, but after power cycling, the flash contents are not getting copied to RAM.
Kindly help in sorting the issue.
MC pin is set to 0 and GPIOF4 is pulled up to Boot from flash address 0x3F 7FF6. Is there any way to verify whether it is really booting from flash.