Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF5_SDK_16 nRF52810 keil

To the kind attention of Nordic support team,

I've just downloaded a fresh copy of nRF5_SDK_16.0.0_98a08e2.zip.

I would like to download code in nRF52810. The code in C:\nRF5_SDK_16.0.0_98a08e2\examples\peripheral\blinky\pca10040e\blank\arm5_no_packs has apparently got

some configuration issue in the toolchain, as it says Error: Flash Download failed - Cortex-M4. The very same project that is provided for Segger Embedded Studio environment

flashes the nRF52810 quite fine. Is there a problem in the flash programming algorithm that is selected in the keil environment?

I tried the keil project for a custom nRF52810 board and standard PCA10028 board also.

May you please help me out in understanding what is a keil project that I can use to evaluate nRF52810? What can be the issue?

Thank you for all your help and kindness

Parents Reply
  • If your custom board already had the softdevice then choosing the blank\arm5_no_packs will try to program the application to 0x0 where the softdevice is already residing and hence the flash will fail. Either erasing the softdevice (like what you did) or choosing and example that needs the softdevice (ble_peripheral or ble_central) would write your application to a memory address not where the softdevice is residing. You need to understand the memory layout of the chip first to understand why you see this error.

Children
No Data
Related