Many of the newer ARM Cortex-M microcontrollers don’t support the JTAG programming interface. Instead, they support SWD, a proprietary (but well-documented) standard that uses fewer pins. Anton Staaf and I wrote
swddude to program these microcontrollers, with an initial focus on the NXP Cortex-M0 line.
For more information, see the github mirror.