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

Programming nRF52810 with openocd and raspberry pi

Hello,

i have bought 3 modules from Rigado (BMD-330-A-R) with a nRF52810 SoC, is it possible to flash it with an Raspberry Pi? I read that SWD is possible by its SPI-Interface. I tried using openOCD with some patch from github for nRF52 series but there are several errors. 

I also heard about nrfjtool which could do the work but i cannot find it.

Best regards

Parents Reply
  • Hello, this does not seem to solve the problem. The chip (0x00000142/143) is now properly recognised by openocd, but the mass erase still fails with:

    openocd -d2 -f interface/stlink.cfg -f target/nrf52.cfg -c 'init' -c 'reset halt' -c 'targets' -c 'nrf5 mass_erase'

    Info : nRF52810-QCAA(build code: C0) 192kB Flash
    Error: Couldn't read NVMC_READY register
    Error: Failed to enable read-only operation
    Error: Failed to erase reg: 0x4001e50c val: 0x00000001
    Error: Failed to erase the chip
    Error: Couldn't read code region 0 size[FICR]

Children
Related