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

Nrf52840-DK reset button doesnt work?

Hi can somebody help why nrf52840 doesnt be reseted when you press SW5(if boot/reset)? I have alredy with tried with few examples flashed on nrf52840 and in Segger IDE set CONFIG_GPIO_AS_PINRESET  as in datasheet says "When using SEGGER Embedded Studio, go to Project > Edit Options > Code > Preprocessor > Preprocessor Definitions and add the CONFIG_GPIO_AS_PINRESET variable. "

NRF52840-DK PCA10056 1.0.0 2018.46 683391762

nrf5_sdk_15.3.0

Parents
  • Hi

    Glad you were able to solve the problem. Is the project you tried flashing a custom output .hex file from SES, or one of the SDK examples "premade" .hex files? If it's a custom application, it's likely that the .hex file you tried flashing in nRFConnect didn't include the SoftDevice. If the SoftDevice is used by your application, you'll have to add the SoftDevice .hex that can be found in ...\nRF5_SDK_15.3.0_59ac345\components\softdevice\s140\hex 

    Best regards,

    Simon

Reply
  • Hi

    Glad you were able to solve the problem. Is the project you tried flashing a custom output .hex file from SES, or one of the SDK examples "premade" .hex files? If it's a custom application, it's likely that the .hex file you tried flashing in nRFConnect didn't include the SoftDevice. If the SoftDevice is used by your application, you'll have to add the SoftDevice .hex that can be found in ...\nRF5_SDK_15.3.0_59ac345\components\softdevice\s140\hex 

    Best regards,

    Simon

Children
Related