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

nRF52840 Dongle Programming Tutorial, SES Project/Options menu disable

I am trying to setup (Nordic Edition) SES 5.10d for an example to download to the nRF52840 Dongle.

The tutorial* helpfully discusses how to avoid overwriting the MBR and bootloader on the Dongle.

In SES, the Project/Options menu item is disabled, and I cannot find how to enable it, to set :

Update the Preprocessor Definitions:  

```
BOARD_PCA10059
BSP_DEFINES_ONLY
CONFIG_GPIO_AS_PINRESET
FLOAT_ABI_HARD
INITIALIZE_USER_SECTIONS
NO_VTOR_CONFIG
NRF52840_XXAA
```
Adjust the linker configuration:  

```
Linker/Section Placement Macros
FLASH_PH_START=0X0
FLASH_PH_SIZE=0X100000
RAM_PH_START=0X20000000
RAM_PH_SIZE=0X40000
FLASH_START=0X1000
FLASH_SIZE=0XDF000
RAM_START==X20000008
RAM_SIZE=0X3FFF8
```
Any guidance?
Parents
  • Hi,

    The instructions in the tutorial are valid for the nRF5 SDK. If you are using the nRF Connect SDK the Options menu will not be enabled, so I assume that is the case?

    With nRF connect SDK the general concept is stil valid (the app must start at 0x1000 instead of 0, and leave place for the USB bootloader at the end of the flash), but everything related to how you build your application is completely different and not covered by the tutorial. I most cases the only thing you have to do to build a NCS project for the nRF52840 dongle is to select that the board is nrf52840dongle_nrf52840.

Reply
  • Hi,

    The instructions in the tutorial are valid for the nRF5 SDK. If you are using the nRF Connect SDK the Options menu will not be enabled, so I assume that is the case?

    With nRF connect SDK the general concept is stil valid (the app must start at 0x1000 instead of 0, and leave place for the USB bootloader at the end of the flash), but everything related to how you build your application is completely different and not covered by the tutorial. I most cases the only thing you have to do to build a NCS project for the nRF52840 dongle is to select that the board is nrf52840dongle_nrf52840.

Children
No Data
Related