5 Commits

Author SHA1 Message Date
Brian Swetland
6e3edb87de [app][mdebug] version 1.0
- protocol now correctly reports SWO and SWCLK clock rates on set
- remove some debug printfs that were causing fw hangs (investigate later)
- allow setting a 1MHz SWCLK rate
- CMD_ATTACH now supports an argument to select one of several special
  reset or escape sequences:
  ATTACH_SWD_RESET: 60 HI, 4 LO, basic line reset
  ATTACH_JTAG_SWD: escape sequence for JTAG -> SWD mode switch
  ATTACH_DORMANT_TO_SWD: escape squence to exit dormant mode
  ATTACH_SWD_TO_DORMANT: and go back again
- add special support for writing to DP TARGETSEL register
  (response phase must be ignored), needed for SWD multidrop support
- bump protocol version to 1.3
- bump firmware version to 1.0 (it's long overdue)
2021-02-01 17:46:33 -08:00
Travis Geiselbrecht
d8fa82cb91 [formatting] run everything through codestyle
Almost nothing changes here except moving braces to the same line as the
function declaration. Everything else is largely whitespace changes and
a few dangling files with tab indents.

See scripts/codestyle
2019-06-19 21:02:24 -07:00
Brian Swetland
20513a9901 [app][mdebug] add JTAG support
- initial gpio implementation
- runs at about 6MHz, not optimized or adjustable yet
2016-01-11 15:38:48 -08:00
Brian Swetland
aea581d644 [app][mdebug] support for SWO transport back to host 2015-08-04 18:00:52 -07:00
Brian Swetland
ba29c3452e [app][mdebug] firmware for m3debug/debugger
- supports lpc43xx/lpclink2
- some performance issues to shake out yet
- client side debugger: https://github.com/swetland/m3dev
2015-07-30 10:00:12 -07:00