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

reset pin disabled after update to nordics zephyr version

hi,

i've used the official zephyr version till some days ago.
the reset pin worked.

now i've switched to the zephyr version "supported" by nordic and the pin reset isn't working any more.

what i've checked so far:
1. the reset button itself is mechanicly working. tested with a multimeter
2. the gpio 0.18 is working. tested with a small gpio sample programm that tried to read the status auf gpio 0.18
3. the CONFIG_GPIO_AS_PINRESET is set to y but i was curious how the nrf is knowing what pin is the resetpin so i found...
4. i've checked the code in modules/hal/nordic/nrfx/mdk/system_nrf52.c and the CONFIG_GPIO_AS_PINRESET value gets there. and here is the reset pin number defined
5. i've tried to map another gpio as PINRESET, but the documentation says that this is not possible -> nevermind, skip this line Slight smile

so now after the update the pin reset isn't working anymore. neither with the original zephyr from zephyrs github nor with the version with the nordic updates.

on my nrf9160dk everything works as expected.

is there some hidden state i could put the pin18 into so the nrf52 is not able to reset?

best regards

Parents
  • ok, it seems that i found a workaround or solution.

    1. start nrf connect for desktop
    2. run the nrf connect programmer
    3. select your board
    4. click on erase all

    after that every example i flash via nrfjprog onto the device is able to restart with a push onto the reset button.

    i have no idea why this is working, but its "good enough"Tm for me...

Reply
  • ok, it seems that i found a workaround or solution.

    1. start nrf connect for desktop
    2. run the nrf connect programmer
    3. select your board
    4. click on erase all

    after that every example i flash via nrfjprog onto the device is able to restart with a push onto the reset button.

    i have no idea why this is working, but its "good enough"Tm for me...

Children
No Data
Related