This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Need help with the fatfs example

Hello Everyone,

I am a beginner and working on nRF52832 DK using SDK v13 and using keil mdk armv5.as a compiler.
I build it successfully, but when I loaded the hex file to nrf52832, keil reported an "Error: Flash Download failed - "Cortex-M4".

Parents
  • Hi

    This typically happens if the SoftDevice (Bluetooth stack) is flashed in memory and you try to program an application on top of it. 

    Can you try to erase the flash of your DK first and then try again?

    To erase the flash you can either select Flash -> Erase in the menu in Keil, or run the following command in the Windows command line:

    nrfjprog -e

    Best regards
    Torbjørn

Reply
  • Hi

    This typically happens if the SoftDevice (Bluetooth stack) is flashed in memory and you try to program an application on top of it. 

    Can you try to erase the flash of your DK first and then try again?

    To erase the flash you can either select Flash -> Erase in the menu in Keil, or run the following command in the Windows command line:

    nrfjprog -e

    Best regards
    Torbjørn

Children
No Data
Related