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
  • Hi

    If the nrfjprog --recover or flash commands doesn't work I don't think this is due to the board files, since it doesn't seem to get a communication up and running in the first place. Did these command work at all at one point, and does the hardware work as expected on your end? If not, I would recommend checking your HW to make sure that all the components are soldered on correctly and that all component values are correct. Do you have an image of the board you're trying to flash?

    Best regards,

    Simon

Reply
  • Hi

    If the nrfjprog --recover or flash commands doesn't work I don't think this is due to the board files, since it doesn't seem to get a communication up and running in the first place. Did these command work at all at one point, and does the hardware work as expected on your end? If not, I would recommend checking your HW to make sure that all the components are soldered on correctly and that all component values are correct. Do you have an image of the board you're trying to flash?

    Best regards,

    Simon

Children
  • The commands have never worked as far as I can tell. Everytime I've included --log it mentions this inability to read memory. As far as I can tell the hardware is fine, the IC is supplied with 3V3 on all the necessary pins (although I've only measured that from the decoupling capacitors since I can't get to the pins with the probes I have currently, I'll test with different ones soon). This is the best I can do image wise of the board, I think there's just enough resolution to see the pins.

Related