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
  • And I assume this board is connected to the J-Link EDU mini via the 10 pin debug header, correct? Are you certain that the pins are routed correctly to the 10pin debug header here, so that the VDD, GND, SWO and SWCLK from the nRF are in fact connected to the corresponding pins on the J-Link? Note that both the board and the J-Link should be powered when you try programming it.

    Best regards,

    Simon

  • Yes that's the programming header. I've checked the schematic against the 10-pin J-link diagram (and with continuity) and they're all fine. I just copied the schematic for the Nrf52_dk.

    I'm pretty sure the J-Link and the MCU are powered, since the nRF connect extension in VSCode detects an nRF52382 in the connected devices tab under the J-Link serial number

Reply
  • Yes that's the programming header. I've checked the schematic against the 10-pin J-link diagram (and with continuity) and they're all fine. I just copied the schematic for the Nrf52_dk.

    I'm pretty sure the J-Link and the MCU are powered, since the nRF connect extension in VSCode detects an nRF52382 in the connected devices tab under the J-Link serial number

Children
No Data
Related