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

Nrf52840 Custom Board Program Booting error

Hi, 

I"ve designed a custom board with the MDBT50Q module (part of the schematic below). When writing my program to Flash 0 and Ram Memory 2000 0000, the program won't load and will lock up, becoming unable to connect or program again. However, the board will suddenly boot up the program randomly after I power cycle (detach and reattach power) it enough times. When the board does boot up by chance after numerous power cycles, I can erase the program hence resetting the board. However, whenever I try to load a new piece of software into the board the exact same error happens (where it locks up and requires multiple power cycles until it becomes addressable again) 

I've tried using both the internal and an external oscillator. I've configured the sdk_config and am writing to Flash 0 and Ram memory 2000 0000 with no soft device. Moreover, I've ordered multiple custom boards + modules each giving the same error.

Does anyone know what might cause this type of error?

 

Parents
  • Hi,

    What tools are you using to flash the nRF52840?  If you are using nrfjprog, try to add the -r argument in order to soft reset the device after programming.

    What SDK version and SDK examples are you testing ?

    What is the power source, and what is the value of VDD ?

    What is the voltage at P0.18/RESET ?

    What programmer/debugger are you using ? J-Link from a nRF52840-DK ?

Reply
  • Hi,

    What tools are you using to flash the nRF52840?  If you are using nrfjprog, try to add the -r argument in order to soft reset the device after programming.

    What SDK version and SDK examples are you testing ?

    What is the power source, and what is the value of VDD ?

    What is the voltage at P0.18/RESET ?

    What programmer/debugger are you using ? J-Link from a nRF52840-DK ?

Children
Related