background image

 

CoLinkEx JTAG/SWD adapter USER MANUAL 

 

rev. A 

 

 

 

 

 

 

Website: 

www.bravekit.com

 

 

Summary of Contents for CoLinkEx

Page 1: ...CoLinkEx JTAG SWD adapter USER MANUAL rev A Website www bravekit com ...

Page 2: ...face 4 4 SW interface 5 5 JTAG connector pins numbers 5 6 CoLinkEX schematic 6 7 How to supply target board from CoLinkEx 7 8 Installation of CoLinkEx 8 8 1 Install the Driver of CoLinkEx 8 8 2 Connect CoLinkEx to PC 10 9 Update the firmware 10 10 Use CoLinkEX 11 10 1 How to use CoLinkEx in CoIDE 11 10 2 How to use CoLinkEx in CoFlash 14 10 3 How to use CoLinkEx in MDK 15 ...

Page 3: ...res of CoLinkEX adapter Support JTAG and SW interfaces for Cortex M microcontrollers Supported in Coocox IDE COIDE and Keil RealView MDK with plugin USB B connector Support firmware upgrade via USB Standard 20 pin JTAG connector Can supply target board with 3 3V or 5V via JTAG connector 4 LEDs for status of programmer Compact size 55х55х18mm 2 Elements of CoLinkEx programmer 3V3 voltage regulator ...

Page 4: ...nkEx 5 TDI output JTAG data input of target CPU It is recommended that this pin is pulled to a defined state on the target board Typically connected to TDI of the target CPU 7 TMS output JTAG mode set input of target CPU This pin should be pulled up on the target Typically connected to TMS of the target CPU 9 TCK output JTAG clock signal to target CPU It is recommended that this pin is pulled to a...

Page 5: ...al data pin A pull up resistor is required ARM recommends 100 kOhms 9 SWCLK Output Clock signal to target CPU It is recommended that this pin is pulled to a defined state on the target board Typically connected to TCK of target CPU 13 SWO Output Serial Wire Output trace port Optional not required for SWD communication 4 6 8 10 12 1 4 16 GND Ground These pins connected to GND in CoLinkEx They shoul...

Page 6: ...CoLinkEx JTAG SWD adapter www bravekit com 6 6 CoLinkEX schematic ...

Page 7: ...t close 3V3 jumper In this case 3 3V from on board voltage regulator will be connected to pin 1 of JTAG connector On target board 3 3V power supply bus must be connected to pin 1 of JTAG connector 7 2 Power supply with 5V For using this function you must close 5V jumper In this case 5V from USB will be connected to pin 19 of JTAG connector On target board 5V power supply bus must be connected to p...

Page 8: ... JTAG SWD adapter www bravekit com 8 8 Installation of CoLinkEx 8 1 Install the Driver of CoLinkEx You can download driver from http www coocox org Colinkex htm Do the operations shown in the following picture ...

Page 9: ...CoLinkEx JTAG SWD adapter www bravekit com 9 ...

Page 10: ... system or install failed if there isn t CooCox Port it means that your CoLinkEx firmware and driver is old version 9 Update the firmware You can download firmware from http www coocox org Colinkex htm How to update the firmware 9 1 Short circuit JP1 activation of USB bootloader 9 2 Connect CoLinkEx to the PC Wait for the PC enumerates the removable disk whose label is CRP2 ENABLD or CRP DISABLD I...

Page 11: ...it com 11 10 Use CoLinkEX Now CoLinkEx support CoIDE CoFlash and CoMDKPlugin The following is the configuration to use CoLinkEx in this software 10 1 How to use CoLinkEx in CoIDE After create CoIDE Project click Debug Configuration button ...

Page 12: ...CoLinkEx JTAG SWD adapter www bravekit com 12 In debug configuration page select CoLinkEx and set other parameters In Download page configure the flash algorithm ...

Page 13: ...CoLinkEx JTAG SWD adapter www bravekit com 13 After compile the project click the download button to Download code to Flash Click Debug button to debug the program ...

Page 14: ...kEx in CoFlash Open CoFlash select a chip e g LPC11C14x301 from NXP then select CoLinkEx in the adapter modify the Port Max Clock for the adapter if you need You can refer to the following picture Switch to Download page to execute Download Erase Verify Blank Check etc ...

Page 15: ...e CoLinkEx in MDK Before using CoLinkEx in Keil MDK you must install CoLinkEx plugin for MDK from http www coocox org Colinkex htm Open MDK Project Click Target options to configure the project Debug Use open the configuration dialog and selects CooCox Debugger ...

Page 16: ... com 16 Click Settings and then select the CoLinkEx as the adapter You can also modify the Port Max Clock for the adapter Reset Cache Trace or Semihosting Options etc Switch to Flash Download to set the flash options and the flash algorithm ...

Page 17: ... SWD adapter www bravekit com 17 Then if you debug your program in flash you also have to configure Utilities by selecting CooCox Debugger for Flash Programming Now you can use CoLinkEx to download and debug in MDK ...

Reviews: