[ 
https://issues.apache.org/jira/browse/MYNEWT-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marko Kiiskila resolved MYNEWT-580.
-----------------------------------
    Resolution: Fixed

This happens when OS is running. Flash erase executes code in SRAM, as no flash 
access is allowed when erase command is being executed.
Crash happens when interrupts arrive, and try to execute code in flash.

Therefore, disable interrupts before calling FLASH_Erase.

> nxp mk64f12, flash erase causes system crash
> --------------------------------------------
>
>                 Key: MYNEWT-580
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-580
>             Project: Mynewt
>          Issue Type: Bug
>            Reporter: Marko Kiiskila
>            Assignee: Marko Kiiskila
>             Fix For: v1_0_0_beta2
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to