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

Programming nrfjprog programming

Im try to program using nrfjprog in BMD 350 module. After that device not responding for debug mode in segger software. 

Parents
  • Hi,

    I cannot say what caused the issue without knowing more, but there are a few typical reasons for not being able to debug after programming:

    1. The hex file(s) you program enable readback protection (APPROTECT) by writing to UICR.APPROTECT. If so, you should  be able to do a full chip erase using "nrfjprog -e" to recover.
    2. The firmware puts some GPIOs that are connected to SWDIO or SWCLK so that it prevents SWD communication. If so, you would need to make HW adjustments to recover.
Reply
  • Hi,

    I cannot say what caused the issue without knowing more, but there are a few typical reasons for not being able to debug after programming:

    1. The hex file(s) you program enable readback protection (APPROTECT) by writing to UICR.APPROTECT. If so, you should  be able to do a full chip erase using "nrfjprog -e" to recover.
    2. The firmware puts some GPIOs that are connected to SWDIO or SWCLK so that it prevents SWD communication. If so, you would need to make HW adjustments to recover.
Children
No Data
Related