CooCox CoLinkEx_LPC11C14 User Manual Download Page 7

 

1.3 Hardware resources list 

CoLinkEx_LPC11C14 EVB Kit contains CoLinkEx and LPC11C14 board:   

 

On board CoLinkEx 

LPC11C14_Dev_Board 

A mini-type USB socket, power supply 

and communicate with PC 

CAN Interface 

2mm*10pin Debug Interface, can debug 

other devices 

An Serial connection socket ( support RS-485 

/ EIA-485) 

a power supply LED 

1 LED(P2.9) 

3 CoLinkEx Status LED: D1~D3 

Full function 

IO extension, support I2C, SPI, 

ADC 

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 

Example Name

 

Function Description

 

Default factory

 program

 

LED4 Blink, UART Send data, I2C Read Temperature 

sensor 

Blinky

 

LED4 Blink 

UART_Print

 

UART Send data   

Master_Transfer

 

Read data though I2C (Need to connect EEPROM) 

WDT_Reset

 

Watchdog application example. 

Summary of Contents for CoLinkEx_LPC11C14

Page 1: ...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: ...2 Revision history Rev Date Description 1 0 2012 05 07 Initial version...

Page 3: ...st 7 2 CoLinkEx_LPC11C14 EVB Kit Introduction 9 2 1 Board Interface Overview 9 2 2 Jumpers settings 9 2 3 SW JTAG Debug Interface 10 2 4 UART 10 2 5 CAN 10 2 6 Mini USB Port 10 2 7 LM75 Temperature Se...

Page 4: ...MDK 26 5 How to use CoLinkEx to debug other devices 29 5 1 CoLinkEx Debug Pin Description 29 5 2 Standard 20 PIN SW JTAG Interface 29 5 3 Connection method used in SW Debug 29 5 4 Connection method u...

Page 5: ...5 6 2 8 Semihosting 35 6 2 9 CoOS_App_Framework 37...

Page 6: ...mprehensive set of power saving mode allows the design of low power applications It includes Emetering Lighting Industrial networking Alarm systems White goods 1 2 Evaluation Boards Introduction CooCo...

Page 7: ...2 9 3 CoLinkEx Status LED D1 D3 Full function IO extension support I2C SPI ADC The suite contains the CoLinkEx_LPC11C14 EVB Kit and the following issues MiniUSB Line 2mm 10pin to DB9 serial line Two 2...

Page 8: ...on 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 sim...

Page 9: ...ce D2 Yellow LED CoLinkEx Connection JP1 CoLinkEx Update Pin D3 Blue LED CoLinkEx Busy status JP2 LPC11C14board ISP Pin D4 LPC11C14 Board LED U6 LPC11C14x301FBD48 J1 CoLinkEx Micro USB Interface U7 RS...

Page 10: ...k 2 4 UART The Universal Asynchronous Receiver Transmitter features a 9 pin UART that can be used for communication and trace purposes It offers an ideal channel for ISP downloading Use the following...

Page 11: ...re 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...

Page 12: ...RPlugin 3 3 Preparation Install CoIDE or the corresponding Plugin Update the firmware and install the driver Refer to CoLinkEx Installation and Use Jumpers setting JP1 JP2 both OFF USB Connection Usin...

Page 13: ...r on the board and press the Reset button 2 HyperTerminal will display Welcome to use CooCox the tests begin 3 LED Blink Test The board execute blinky test D4 will light 5 times means test OK When the...

Page 14: ...inkEx 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 2 Connect CoLinkEx to the PC Wait for the PC enumerates the...

Page 15: ...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 CoL...

Page 16: ...16...

Page 17: ...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 dr...

Page 18: ...18 Connect CoLinkEx to PC 4 1 3 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: ...er If there in front of the two devices it means that the driver have not been installed to the system or install failed if there isn t CooCox Port it means that your CoLinkEx firmware and driver is o...

Page 20: ...20 4 2 1 How to use CoLinkEx in CoIDE After create CoIDE Project click Debug Configuration button 1 In debug configuration page select CoLinkEx and set other parameters 2...

Page 21: ...21 In Download page configure the flash algorithm 3 After compile the project click the download button to Download code to Flash 4...

Page 22: ...22 Click Debug button to debug the program 5...

Page 23: ...23 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: ...24 2 Switch to Download page to execute Download Erase Verify Blank Check etc...

Page 25: ...25...

Page 26: ...26 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: ...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...

Page 28: ...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 unde...

Page 29: ...the J2 or J4 to connect other devices 5 1 CoLinkEx Debug Pin Description J2 is compatible with the standard ARM 10 PIN SW JTAG Interface So if you have the 10pin 2mm to 20pin 2 54mm connector you can...

Page 30: ...eed 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 1 1 TMS 2 2 7 TCLK 4 3 9 TD...

Page 31: ...31 6 Examples 6 1 Use CoIDE to develop a project...

Page 32: ...32...

Page 33: ...33...

Page 34: ...example shows how to use the UART to print a string It sends a Hello World to UART Interface After using the Serial line to connect J8 to the DB9 COM on the computer you can see the result in HyperTe...

Page 35: ...interrupt You can use printf to get the capture value in the interrupt function Need to set UART and retarget printf 6 2 7 Printchar for NXP Retarget printf to UART of the LPC1100 and LPC11C00 series...

Page 36: ...he PrintChar function in printf c It means that you need to use the following code in the example include semihosting h void PrintChar char c Send a char like While Transfer not completed Transmit a c...

Page 37: ...sues CoOS is just an OS to make it work on LPC11C14 you need to add CMSIS Boot code at least The example contains a main function so you may need to delete the main c or move the main function to that...

Reviews: