Advertisement

Quick Links

Website:
http://www.coocox.org
Forum:
http://www.coocox.org/Forum/forum.php?id=1
Techinal:
master@coocox.com
Market:
market@coocox.com
Rev. 1.0
Release: 2012-05-07
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CoLinkEx_LPC11C14 and is the answer not in the manual?

Questions and answers

Summary of Contents for CooCox CoLinkEx_LPC11C14

  • Page 1 Rev. 1.0 Release: 2012-05-07 Website: http://www.coocox.org Forum: http://www.coocox.org/Forum/forum.php?id=1 Techinal: master@coocox.com Market: market@coocox.com...
  • Page 2 Revision history Date Description 2012-05-07 Initial version...
  • Page 3: Table Of Contents

    1. Catalog Catalog ......................... 3 CoLinkEx_LPC11C14 EVB Kit Overview ..............6 The Microcontroller Introduction ................6 Evaluation Boards Introduction ................6 Hardware resources list ..................7 Software resources list ..................7 CoLinkEx_LPC11C14 EVB Kit Introduction..............9 Board Interface Overview..................9 Jumpers settings ....................
  • Page 4 Installation ......................14 4.1.1 Update the firmware..................14 4.1.2 Install the Driver of CoLinkEx ..............15 4.1.3 Connect CoLinkEx to PC ................18 Use CoLinkEx ...................... 19 4.2.1 How to use CoLinkEx in CoIDE ..............20 4.2.1 How to use CoLinkEx in CoFlash ..............23 4.2.2 How to use CoLinkEx in MDK..............
  • Page 5 6.2.8 Semihosting ....................35 6.2.9 CoOS_App_Framework ................37...
  • Page 6: Colinkex_Lpc11C14 Evb Kit Overview

    Cortex-M0 project. The onboard adapter: CoLinkEx support MDK and IAR, help you execute download and debug the project. You can use the CoLinkEx_LPC11C14 EVB Kit to generate and test application programs for the NXP LPC11xx microcontroller family. The example and source in the CD will help...
  • Page 7: Hardware Resources List

    1 LED(P2.9) a power supply LED 3 CoLinkEx Status LED: D1~D3 Full function IO extension , support I2C, SPI, The suite contains the CoLinkEx_LPC11C14 EVB Kit and the following issues: MiniUSB Line 2mm*10pin to DB9 serial line Two 2.54mm Jumper cap A CD and Publicity Color Pages 1.4 Software resources list...
  • Page 8 Simple_ADC ADC Convert application example. Capture 32-bits timer capture example Printchar for NXP Retarget printf to Serial output in CoIDE Semihosting Retarget printf to Semi hosting in CoIDE(Debug only) CoOS_App_Framework CoOS simple example for how to create task...
  • Page 9: Colinkex_Lpc11C14 Evb Kit Introduction

    2. CoLinkEx_LPC11C14 EVB Kit Introduction Board Interface Overview LPC11C14 Temp UART LED1 FBD48 Sensor Interface Micro Power RESET RESET GPIO Interface Description Description CoLinkEx Reset Button GPIO IO Extension Interface LPC11C14 Board Reset Button UART232 Serial Socket Red LED, CoLinkEx Error status...
  • Page 10: Sw/Jtag Debug Interface

    2.3 SW/JTAG Debug Interface CoLinkEx_LPC11C14 EVB Kit use ARM standard 2mm*10 pin SW/JTAG Interface. You can use this interface to debug other devices. See: How to use CoLinkEx to debug other devices. You can also use other adapter to debug the LPC11C14board, such as ULink2, J-Link.
  • Page 11: Lm75 Temperature Sensor

    2.7 LM75 Temperature Sensor A LM75 Temperature Sensor is connected to the I2C bus in CoLinkEx_LPC11C14 EVB Kit. 2.8 LED CoLinkEx+LPC11C14_Dev Board provide LEDs D4, it respectively connect with PIO2.9 IO pins, and can be used for user output.
  • Page 12: Getting Started

     CoFlash 1.4.0 or higher  MDK 4.03(or higher) plus CoMDKPlugin1.4.0 or higher 3.2 Hardware Source Requirement When you use CoLinkEx_LPC11C14 EVB Kit, The PC is required to use the following sources:  CPU: 2.0GHz (at least)  Memory: 512M (at least) ...
  • Page 13: Use The Default Factory Program

    Temperature sensor can work normally. Test Hardware Resources: MiniUSB Line, 2mm*10 pin to COM serial line, CoLinkEx_LPC11C14 EVB (all included in the CoLinkEx_LPC11C14 EVB Kit ) Test Prepareation: Connect the lines and set the HyperTerminal, you can refer to procedure: 1)...
  • Page 14: Colinkex Installation And Use

    Update the firmware If you are using CoMDKPlugin V1.4.0, CoIDE V1.4.0, or CoFlash V1.4.0, you need to update CoLinkEx driver and firmware before using CooCox CoLinkEx. The firmware can be found in the disk: Tools\ColinkEx_Driver\ColinkEx_firmware_v0.4.bin How to update the firmware: 1)Short-circuit JP1.
  • Page 15: Install The Driver Of Colinkex

    4.1.2 Install the Driver of CoLinkEx You need to select the version of CoLinkExUSBDriver according to your Windows OS first. 1) If you're using the 32 bit windows system, for example: Windows XP/Windows Vista 32bit/Windows 7 32bit. Installation file: Tools\ColinkEx_Driver\CoLinkExUsbDriver-1.1.0.exe Do the operations shown in the following picture.
  • Page 17 2) If you are using Windows Vista 64bit or Windows 7 64bit. Installation file: Tools\ColinkEx_Driver \ColinkExUsbDriver-1.1.1.exe Please connect CoLinkEx to the computer before you start installing this driver.
  • Page 18: Connect Colinkex To Pc

    4.1.3 Connect CoLinkEx to PC When you connect CoLinkEx to PC, it will ask you to install the driver to system for the new detected devices. Then you may need to specify the path for CoLinkEx Driver:...
  • Page 19: Use Colinkex

    When you install the driver, in device manager, you will found CooCox ( COM x) under Port and CooCox CoLinkEx Debug Interface under USB Controller. If there “?” in front of the two devices, it means that the driver have not been installed to the system or install failed;...
  • Page 20: How To Use Colinkex In Coide

    4.2.1 How to use CoLinkEx in CoIDE After create CoIDE Project, click Debug Configuration button: In “debug configuration” page, select CoLinkEx, and set other parameters.
  • Page 21 In Download page, configure the flash algorithm. After compile the project, click the download button to Download code to Flash...
  • Page 22 Click Debug button to debug the program.
  • Page 23: How To Use Colinkex In Coflash

    4.2.1 How to use CoLinkEx in CoFlash 1) Open CoFlash, select LPC11C14x301 from NXP, CoLinkEx, and modify the related parameter if you need. You can refer to the following picture.
  • Page 24 Switch to Download page to execute Download, Erase, Verify, Blank Check, etc.
  • Page 26: How To Use Colinkex In Mdk

    4.2.2 How to use CoLinkEx in MDK 1) Open MDK Project, Click Target options to configure the project: 2) “Debug -> Use”, open the configuration dialog and selects "CooCox Debugger".
  • Page 27 3) 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. 4) Switch to Flash Download to set the flash options and the flash algorithm.
  • Page 28 5) Then, if you debug your program in flash, you also have to configure "Utilities" by selecting "CooCox Debugger" for Flash Programming. 6) You can use the example for CoLinkEx_LPC11C14 EVB Kit directly. The project is included in the CoMDKPlugin. You can find it under the path:...
  • Page 29: How To Use Colinkex To Debug Other Devices

    5. How to use CoLinkEx to debug other devices If you want to use CoLinkEx to program/debug other devices, you can break off the kit and use CoLinkEx alone. It is recommended to do that to avoid the disturbance come from the LPC1114 part.
  • Page 30: Connection Method Used In Jtag Debug

    RESET 4,6,…20 3,5,9 Note: 1) If you don’t use ColinkEx to supply voltage to target board, VCC can be not connected. 2) If you don’t need to use SW Trace function, SWO can be not connected. 5.4 Connection method used in JTAG Debug: Pin Function CoLinkEx J2 CoLinkEx J4 ARM 20-PIN JTAG Interface VCC(Optional) 1...
  • Page 31: Examples

    6. Examples Use CoIDE to develop a project...
  • Page 34: Coide Example Description

    You can also go to our website for more information: CoIDE Quick Start Guide: http://www.coocox.org/CoIDE/CoIDE_QuickStart.htm CoIDE Guide: http://www.coocox.org/CooCox_CoIDE.htm 6.2 CoIDE Example Description 6.2.1 Blinky The example shows how to use the LPC111x PIO API to drive a LED. This example mainly uses the SYSCON and GPIO components. It enable GPIO block clock and set PIO2_9 to be output and blinking.
  • Page 35: Wdt_Reset

    6.2.4 WDT_Reset A simple WDT reset example, if TIM_MatchConfigStruct. MatchValue is greater than 8, Watchdog reset will occur. (Component TMR should be checked). It has no phenomenon on board. 6.2.5 Simple_ADC A simple ADC example. It use ADC Channel 5 to get data, users can select to printf the data through UART printf. (Need to set UART and retarget printf.) 6.2.6 Capture...
  • Page 36 This example shows how to retarget printf to Semihosting output. It cannot be add directly. You need to copy the content of PrintChar to the PrintChar function in printf.c It means that you need to use the following code in the example: #include "semihosting.h"...
  • Page 37 The example is a simple example tells you how to create task, init and start CoOS. It shows no phenomenon on board. To get more CoOS Applications for that board, you can go to: http://www.coocox.org/CoOS.htm...

Table of Contents