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

failed to write blinky app via nrfconnect programmer

Hello

Development environment: mac

h/w nrf52840 dongle connected via usb

compiler: gcc-arm-none-eabi-7-2018-q2-update

Updated nrf5sdk/examples/ble_peripheral/ble_app_blinky/pca10059/s140/armgcc/ble_app_blinky_gcc_nrf52.ld as follows

/*
MEMORY
{
  FLASH (rx) : ORIGIN = 0x27000, LENGTH = 0xd9000
  RAM (rwx) :  ORIGIN = 0x20002300, LENGTH = 0x3dd00
}
*/

MEMORY
{
  FLASH (rx) : ORIGIN = 0x1000, LENGTH = 0xdf000
  RAM (rwx) :  ORIGIN = 0x20000008, LENGTH = 0x3fff8
}

make creates the following hex file under _build

-rw-r--r--    1 user  staff    79842 Nov  3 18:29 nrf52840_xxaa.hex

Tried to write this file using nrfconnect programmer. It appears to write the file but the device is then turned off. Expected it to reset and run the program.

What am i missing? Appreciate your help.

Related