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

Cannot apply the reset pin functionality | Cannot enable RESET button

Hello,

Device: nrf52840DK

Software: nRFgoStudio (version 1.21.2.10)

Operating System: Windows 10 (updated)

I am not able to enable the reset pin. I am trying to do so via nRFgo Studio. I am getting an error. Please look at the following image for reference.

I also tried the command line option (using nrfjprog). It succeeded but, the Reset button still doesn't work. Please look at the following image for reference.

Thank you.

Parents Reply
  • Hey I was to reset the device. But neither of them work when reset.

    My main criteria behind using reset was to enable the pyTerm serial port Input/output. I am not able to see the output always and neither am I able to use shell commands. It works sometimes but inconsistent, so, I was hoping reset would fix the problem. (suggested by,  https://github.com/RIOT-OS/RIOT/issues/9971).

    Also, I noticed something weird. If I have 2 devices connected. If I flash twice (at the same time or one after the other) with different PORT numbers ('/dev/ttyACM0', 'dev/ttyACM1'), both times, the same device gets flashed. (the only workaround is to plug and flash one device at a time). In my opinion, The code I am using is irrelevant, because the same thing happened with multiple codes.

    Operating System: I am using RIOT OS to flash.

    Thank you.

Children
  • "Hey haakonsh I was to reset the device. But neither of them work when reset."
    -We need more details.

    "My main criteria behind using reset was to enable the pyTerm serial port Input/output. I am not able to see the output always and neither am I able to use shell commands. It works sometimes but inconsistent, so, I was hoping reset would fix the problem."
    -We need more details.

    "Also, I noticed something weird. If I have 2 devices connected. If I flash twice (at the same time or one after the other) with different PORT numbers ('/dev/ttyACM0', 'dev/ttyACM1'), both times, the same device gets flashed. (the only workaround is to plug and flash one device at a time). In my opinion, The code I am using is irrelevant, because the same thing happened with multiple codes."
    -I'll ask around if anyone have experienced a similar issue. Are you able to consistently reproduce this issue?

    "Operating System: I am using RIOT OS to flash."
    - Are you talking about DFU over USB or Serial, or flashing via SWO?

    Are you using a Virtual Machine?

  • 1) I was able to perform pin reset successfully. Reset should start the execution from the beginning after I push the reset button, that is not happening. 

    2) what kind of detail is needed here? Screenshot? I am not able to see any output like print statements or any of logging.

    3) I am not familiar with either of the two terms. But, the device is connected via USB and I use the following command to flash

    "BOARD=nrf52dk make flash term".

    In the process, JLink connects with the device.

    1. Are you using a Virtual Machine?
    2. Have you physically measured the state of the reset pin, p0.18? 
    3. What SDK are you using? 
    4. Are you using the production version or the preview version of the DK?
    5. Have you tried nrfjprog -f nrf52 --recover?

Related