4 years, 7 months ago.
Turning an mBed device into a CMSIS-DAP SWD programmer
I'd like to program some bare nRF51822 chips, and currently I'm using a Segger Lite SWD programmer. But they're proprietary and no longer available, so I'm looking into using CMSIS-DAP instead, which is supported by OpenOCD.
As far as I can work out, the "main" chips in mBed PCBs are programmed via an "interface" chip which is loaded with firmware that supports CMSIS-DAP, and uses SWD to program the main chip via bit-banging. The source code is here:
My question is, has anybody been able to take that code, and compile it for the main chip, so that it supports CMSIS-DAP too, and bit-bangs SWD out of some of the accessible DIP pins, thus turning the whole thing into a cheap SWD programmer?
If not, how hard do you think it would be?
4 years, 6 months ago.
yes it's possible, for freescale chips I ahve seen it around, like : http://keithhack.blogspot.ch/2013/10/cheap-arm-programmer.html or here on mbed, http://developer.mbed.org/users/va009039/notebook/frdm-kl25z-mbed-if/, using FRDM board to flash LPC for example.
There are couple of more I am sure.
You need to log in to post a question