One of the basic needs of the embedded software development through the terminal to output debugging information, generally two ways to achieve: one is the COM port on the UART and PC using a serial cable connecting plate through the PC HyperTerminal
LPC-Link 2 is an extensible, stand-alone debug adapter that can be configured to support various development tools and IDEs by downloadable firmwares. Available firmware images include: LPCXpresso IDE debugger by NXP CMSIS-DAP by ARM J-Link by Segger
1 Debug Interface Overview 1.1 Serial Wire Debug Serial Wire Debug (SWD) is a two-wire protocol for accessing the ARM debug interface. It is part of the ARM Debug Interface Specification v5 and is an alternative to JTAG. The physical layer of SWD con
SWD其实和JTAG类似,是一种调试串口. JTAG大致了解了一下.JTAG(Joint Test Action Group)主要4 lines:TMS(模式选择),TCK(时钟),TDI(数据输入),TDO(数据输出).都是串行总线.JTAG model中通过状态机的方式,对cmd进行解析后控制TMS和TDI的输出. SWD(Serial Wire Debug)主要2 lines: SWDIO(双向串行数据线),SWDCLK(串行时钟线,Master drive).协议:ARM CPU sta