Error flashing custom board w/ nRF52832 (unable to read)

I'm trying to flash a custom board (schematics in this ticket - Schematic/Layout review request) using a Jlink EDU mini and keep running into an error message saying it's failing to read or erase memory. I've seen suggestions on other posts that running nrfjprog --recover can remove the read protection mechanism, but when I ran that (with --log, which I've attached) it also failed.

 

4274.log.log

I've had the flash process succeed sometimes, but the board doesn't act any differently to before (can't control the GPIO) so I'm assuming that's another issue.

Any ideas for what could be causing this?

Thanks

Parents Reply
  • Sorry for the slow reply again. I (finally) bought an oscilloscope to look at the supply rails and saw there's a large amount of ripple when powering the board of USB with no battery connected (I remember you suggested it might be this type of issue ages ago, good call!). As soon as I connect the battery every board programs fine, so I think this thread is solved now. Thanks again for your help with this over the last few months

Children
No Data
Related