Yes, I have tried. Seems to work just fine (chip erase, flash programming, flash verification):
- Cold plugging (reset with CLK signal low)
- Switch from JTAG to SWD
- Read SWD_DP_R_IDCODE
- Write(SWD_DP_W_ABORT, 0x00000016)
- Write(SWD_DP_W_SELECT, 0x00000000)
- Write(SWD_DP_W_CTRL_STAT, 0x50000f00)
- Write(SWD_AP_CSW, 0x23000052)
- Write(DHCSR, 0xa05f0003)
- Write(DEMCR, 0x00000001), but it also seems to work without that