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

Programm and debug beacon using Dk

Hi, I want to debug nrf51822 beacon using DK.I made the necessary connections between dk and beacon.I managed to flash the beacon using nrfgoStudio , but if I want to do flash/debug using the Keil,i receive "Error:Flash Download Failed-"Cortex M0"".If I erase all using NrfGoStudio,no longer receive this error,but the program not work.Can you help me,which is the problem?

Parents Reply
  • Keil's flash algorithm will not allow to flash an application which tries to write to softdevice reserved address space or UICR registers. I think nRFgo will allow to write to UICR registers.

    try this, go to command prompt and type "nrfjprog -e". After this try to flash again with Keil. If this works then it means either your target IROM settings are wrong or your application is trying to write to UICR register. Tell me what happens and we can proceed from there.

Children
No Data
Related