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
  • Ah, so I did install the nRF5 SDK for Thread and Zigbee a couple of weeks ago, and likely opened one of those samples, when I set the above parameters.  So today, before I sent my request:

    - updated to nRF Connect 3.6

    - updated to nRF Connect SDK v1.4.0

    Following your response just now I:

    - select "Open IDE" from the Toolchain Manager

    - then "File/Open nRF Connect SDK Project ...", which opens an nRF Connect Options dialog (very nice)

    - choose Blinky (yes the Project/Options is disabled, but if I understand your answer, for my benefit)

    - build, locate the zephyr.hex file, flash it to the Dongle with nRF Connect Programmer (since dongle does not have JLink)

    - repeat the flash to prove I did not overwrite the MBR and bootloader

    This worked. 

    Thank you for clarifying that the Nordic SES + nRF Connect SDK correctly configure options for the Dongle.

Reply
  • Ah, so I did install the nRF5 SDK for Thread and Zigbee a couple of weeks ago, and likely opened one of those samples, when I set the above parameters.  So today, before I sent my request:

    - updated to nRF Connect 3.6

    - updated to nRF Connect SDK v1.4.0

    Following your response just now I:

    - select "Open IDE" from the Toolchain Manager

    - then "File/Open nRF Connect SDK Project ...", which opens an nRF Connect Options dialog (very nice)

    - choose Blinky (yes the Project/Options is disabled, but if I understand your answer, for my benefit)

    - build, locate the zephyr.hex file, flash it to the Dongle with nRF Connect Programmer (since dongle does not have JLink)

    - repeat the flash to prove I did not overwrite the MBR and bootloader

    This worked. 

    Thank you for clarifying that the Nordic SES + nRF Connect SDK correctly configure options for the Dongle.

Children
No Data
Related