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

Bootloader programming issue The flash is not erased

Hi everyone, I am using the nRF51822, I have an issue of programming the bootloader. It is said that the flash is not erased. But I just did an erase all before programming. Is there anyone who encountered the same issue? Thanks!

image description

Parents
  • @bjorn-spockeli this may be true for the time when application is running but my experiments suggest that P0.21 should be left disconnected during interaction with J-Link, esp. during flashing. Otherwise various unexpected things happen. As I understand the documentation P0.21 should be ordinary GPIO unless PSELRESET registers are set. Please advise is that a correct interpretation. Maybe documentation should be clarified in that matter?

Reply
  • @bjorn-spockeli this may be true for the time when application is running but my experiments suggest that P0.21 should be left disconnected during interaction with J-Link, esp. during flashing. Otherwise various unexpected things happen. As I understand the documentation P0.21 should be ordinary GPIO unless PSELRESET registers are set. Please advise is that a correct interpretation. Maybe documentation should be clarified in that matter?

Children
No Data
Related