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
  • Hello,

    I am unsure what might be going wrong here. I doubt it’s a hardware issue since this is a custom board.

    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.

    Does this mean the system works sometimes but throws this error intermittently? If so, it could potentially be a power issue. Please verify that the voltage levels on the VDD pin of your custom board are within the acceptable range for the nRF52 (typically 1.7V to 3.6V).

    Additionally, could you share the J-Link version you are using? I couldn’t find that information in the logs (apologies if I missed it).

    Kind Regards,

    Abhijith

  • Hi, sorry the "Hardware" tag was more referring to the MCU itself, I wasn't sure what the categories meant. I can't reliably get the system to flash, and it hasn't done so recently so I wouldn't say it does so intermittently. I have been checking the supply voltage periodically and its always 3.3V +/- 50mV.

    The J-Link version is the EDU mini, and I've attached the log file for when I try to flash instead of recover in case that helps.

    Thanks

    3755.log.log

Reply
  • Hi, sorry the "Hardware" tag was more referring to the MCU itself, I wasn't sure what the categories meant. I can't reliably get the system to flash, and it hasn't done so recently so I wouldn't say it does so intermittently. I have been checking the supply voltage periodically and its always 3.3V +/- 50mV.

    The J-Link version is the EDU mini, and I've attached the log file for when I try to flash instead of recover in case that helps.

    Thanks

    3755.log.log

Children
No Data
Related