I am attempting to connect to a TWR-LS1021A dev board through the built-in CMSIS-DAP debugger. From the schematics I can see that it connects to the LS1021A through JTAG not SWD. When I attempt to connect with OpenOCD I get the following result:
openocd.exe -c "interface cmsis-dap"
Open On-Chip Debugger 0.9.0 (2015-05-19-12:09)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'swd'
Info : CMSIS-DAP: JTAG Supported
Error: CMSIS-DAP: SWD not supported
When I unplug the USB to the dev board I get this:
openocd.exe -c "interface cmsis-dap"
Open On-Chip Debugger 0.9.0 (2015-05-19-12:09)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'swd'
Error: unable to find CMSIS-DAP device
This seems to indicate that OpenOCD recognizes the attached debugger, but is attempting to use it as a SWD connection not a JTAG connection. How do I get it to attempt to use it as JTAG?