:::: MENU ::::
Posts tagged with: JTAG

J-link 인터페이스

Segger사의 J-link 디버거는 JTAG과 SWD인터페이스를 제공한다.

JTAG  pin-out

SWD를 사용하기위해서는 위 20핀에서 필요한 4핀만 연결하면 된다. 여기서 VTref신호는 디버거에서 타겟보드의 전압을 체크하고 전압레퍼런스로 사용하기 때문에 타겟 보드의 전원을 연결하고, 프로그래밍을 할 MCU의 전압과 연결해야 한다. 그렇지 않을 경우 VTref is 0.xxxxV라고 에러메시지가 나면서 연결이 되지 않는다.

*참고로 J-link와 같은 디버거를 DIY형태로 개발을 해서 OSHW로 판매를 하는 것이 있다.  OSHChip_CMSIS_DAP_V1.0

참고: https://www.segger.com/interface-description.html


Cortex Debug Connector


ARM Standard JTAG 콘넥터는 2.54 피치이며,


Cortex debug 콘넥터와 Cortex debug + ETM 콘넥터는 1.27 피치입니다.


 



  • 10-pin (0.05″) – Cortex Debug Connector

  • 20-pin (0.10″) – ARM Standard JTAG Connector

  • 20-pin (0.05″) – Cortex Debug+ETM Connector

Cortex Debug and Trace Connectors
Debug and Trace Connectors for Cortex-M devices.

Cortex Debug Connector (10-pin)


Cortex Debug and JTAG Pin Identification


A 10-pin header (Samtec FTSH-105-01) is specified with dimensions: 0.25″ x 0.188″ (6.35mm x 4.78mm).


ARM Standard JTAG Connector (20-pin)


Cortex Debug and JTAG Pin Identification


Dimensions of the ARM JTAG Connector are 1.29″ x 0.722″ (33mm x 18.5mm).


Cortex Debug+ETM Connector (20-pin)


Cortex Debug and JTAG Pin Identification


A 20-pin header (Samtec FTSH-110-01) is specified with dimensions: 0.50″ x 0.188″ (12.70mm x 4.78mm).


출처 : http://www.keil.com/coresight/connectors.asp