Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to perform a factory reset of nrf52840?

Hi everyone,

This might seem like a silly post, but this happened.

I build and ran the example QSPI code given in the sdk. 

But after that if i try to run my own code of freertos along with BLE. It just doesn't run and it freezes.

I think i erased some important part of the memory, Can anyone suggest me how to proceed for this kind of problem?

If i press the reset button on the nrfPDK ,it runs the previous code that was uploaded and not the current one.

This is very weird problem i had ever faced.

I  didn't make any changes to the sdk example, I ran that code as it is.

Thanks

Rajat.

Parents Reply Children
  • Hi Martin,

    This did solve my problem.

    But ,now the question arises HOW TO USE BLE AND EXTERNAL FLASH MEMORY TOGETHER IN ONE SINGLE CODE?

    I am trying to write some data to external flash memory that uses QSPI. But as soon i run the code of QSPI. MY program stops and nothing works untill i load it with the softdevice 140 hex file using nrfGoSTudio.

    What is the reason for this ?

    What can be the solution to this?

    Thanks 

    Rajat!

Related