CooCox CoLinkEx_LPC11C14 Скачать руководство пользователя страница 3

 

1.  Catalog 

1.

 

Catalog ......................................................................................................................... 3

 

1.

 

CoLinkEx_LPC11C14 EVB Kit Overview .................................................................... 6

 

1.1

 

The Microcontroller Introduction ........................................................................... 6

 

1.2

 

Evaluation Boards Introduction ............................................................................. 6

 

1.3

 

Hardware resources list ........................................................................................ 7

 

1.4

 

Software resources list .......................................................................................... 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 Sensor ................................................................................. 11

 

2.8

 

LED ...................................................................................................................... 11

 

3.

 

Getting Started ........................................................................................................... 12

 

3.1

 

Version Information ............................................................................................. 12

 

3.2

 

Hardware Source Requirement .......................................................................... 12

 

3.3

 

Preparation .......................................................................................................... 12

 

3.4

 

Use the default factory program .......................................................................... 13

 

4.

 

CoLinkEx Installation and Use ................................................................................... 14

 

Содержание CoLinkEx_LPC11C14

Страница 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...

Страница 2: ...2 Revision history Rev Date Description 1 0 2012 05 07 Initial version...

Страница 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...

Страница 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...

Страница 5: ...5 6 2 8 Semihosting 35 6 2 9 CoOS_App_Framework 37...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 16: ...16...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 21: ...21 In Download page configure the flash algorithm 3 After compile the project click the download button to Download code to Flash 4...

Страница 22: ...22 Click Debug button to debug the program 5...

Страница 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...

Страница 24: ...24 2 Switch to Download page to execute Download Erase Verify Blank Check etc...

Страница 25: ...25...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 31: ...31 6 Examples 6 1 Use CoIDE to develop a project...

Страница 32: ...32...

Страница 33: ...33...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: