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

Flash NRF52 on Windows with OpenOCD & FTDI

Hi, I'm trying to get OpenOCD flashing to work on Windows using the FTDI 2232H adapter and an NRF52 target. I found this site:

https://www.allaboutcircuits.com/technical-articles/getting-started-with-openocd-using-ft2232h-adapter-for-swd-debugging/

and set it up accordingly with OpenOCD 0.10.0, and I seem to be able to at least dump registers.

However, the NRF52 config file doesn't make any provisions for flashing. From reading several posts here, it seemed that one had to patch OpenOCD in order to be able to flash this particular chip. But since I'm using precompiled Windows binaries, I'm not sure how to go about that.

Is there a Windows binary version that supports flashing the NRF52?

R

Parents Reply
  • I've gotten a bit further building it myself on Ubuntu, but I still can't flash.

    If I use the current, unpatched version, I get the error " flash driver 'nrf52' not found. Apparently that's what the patch was for.

    With the patch applied to the correct commit, I can at least connect and dump registers but flash writes seem to fail.

    I'm specifically working with the NRF52840, if that helps.

    Should I start a different question if I moved to Ubuntu?

    R

Children
No Data
Related