NXP Semiconductors LPCXpresso18S37 Скачать руководство пользователя страница 9

 

 

NXP Semiconductors 

UM10946 

 

LPCXpresso board for LPC4367/43S67/18S37 family of MCUs 

UM10946 

All information provided in this document is subject to legal disclaimers. 

© NXP B.V. 2015. All rights reserved. 

User manual 

Rev. 1.0 

— 18 November 2015 

9 of 19 

Installation steps for use with Keil and IAR tool chains (using CMSIS-DAP or J-Link OB 
protocols): 

1)  Program the firmware of the Link2 using the LCT tool or LPCScrypt, following the 

instructions provided for those tools. Note that part of this process will involve 
installing device drivers for the board on Windows platforms. 

2)  Ensuring JP6 is not installed, unplug then reconnect the board to board to the 

USB port of your host computer, connecting a micro USB cable to connector J5 
(“Link”). 

3)  Download the LPCOpen examples & drivers from 

http://www.lpcware.com/content/nxpfile/lpcopen-platform

, selecting the version 

for the toolchain you are using; project files for LPCXpresso IDE, Keil and IAR 
tools are available.  

4)  Import the project file.  

 

4.  Target MCU Serial ports 

By default the Target MCU UART0 is connected to the FTDI header at P4.  This can be 
used for sending debug messages out to a host computer via a suitable cable.  The 
Target MCU UART0 can also be connected through a virtual communication port 
(VCOM) UART bridge Link2 function to a host computer connected to the USB Link2 
(J5). 
 
The Redlink protocol firmware for the Link2 (downloaded by default by the LPCXpresso 
IDE) includes UART bridge functionality (VCOM support). A version of the CMSIS-DAP 
Link2 firmware is also available with this functionality (called “CMSIS-DAP with bridges”), 
and can be programmed into the Link2 using the LPC-Link2 Configuration Tool (LCT), 
available at 

http://www.lpcware.com/LPCUtilities

. When running this firmware the default 

source of data to the Target MCU RXD is the FTDI header. Once the Link2 receives any 
data via the VCOM port of a host computer it will set P2_2 low to select the Link2 UART0 
data to the Target MCU. Once the VCOM port has been used it is necessary to power 
cycle the board before FTDI connection can be used. 
 

4.1  P4 FTDI header 

The FTDI header P4 mates with FTDI cable TTL-232R-3V3. P4 interfaces the Target 
MCU UART0 to a Host PC virtual serial port.  The P4 location is shown in Fig 2.

  

The pin 

out and a description of the signals at P4 are listed in Fig 3.  By default there may be no 
header installed at P4.   
.  

 
 
 

Содержание LPCXpresso18S37

Страница 1: ...S67 18S37 Rev B Boards Rev 1 0 18 November 2015 User manual Document information Info Content Keywords LPCXpresso4337 LPCXpresso43S37 LPCXpresso43S67 LPC4300 LPC43S00 LPC43xx LPC43Sxx Abstract LPCXpre...

Страница 2: ...ument is subject to legal disclaimers NXP B V 2015 All rights reserved User manual Rev 1 0 18 November 2015 2 of 19 Contact information For more information please visit http www nxp com For sales off...

Страница 3: ...the LPC4300 LPC43S00 and LPC18S00 MCUs respectively and are based on the 100 pin BGA versions of these MCUs Fig 1 LPCXpresso43xx 18xx This document describes the LPCXpresso4367 LPCXpresso43S67 and LPC...

Страница 4: ...port for ARM s CMSIS DAP and SEGGER J Link protocol options Link2 probe can be used with on board Target MCU or external target Built in current measurement Support for external debug probes Tri color...

Страница 5: ...e of Target MCU P1_1 When the boot process fails D1 will toggle at a 1 Hz rate for 60 seconds After 60 seconds the Target MCU is reset n a D5 Link2 MCU BOOT0_LED indicator Reflects the state of Link2...

Страница 6: ...to either the on board Link2 debug probe or an external debug probe Jumper 2 3 when on board Link2 debug probe is used to debug an off board Target MCU 5 JP2 Target MCU SWD disable 2 position jumper p...

Страница 7: ...JP7 is shunted by a 0 resistor installed at JS15 Remove the resistor at JS15 to measure current at JP7 5 1 2 P1 10 pin SWD connector The SWD connector is used to debug the Target MCU from an external...

Страница 8: ...hat the board can also be used with LPCXpresso IDE when the CMSIS DAP firmware has been programmed note that it may be necessary to manually select SWD instead of JTAG from the debug configuration Che...

Страница 9: ...This can be used for sending debug messages out to a host computer via a suitable cable The Target MCU UART0 can also be connected through a virtual communication port VCOM UART bridge Link2 function...

Страница 10: ...subject to legal disclaimers NXP B V 2015 All rights reserved User manual Rev 1 0 18 November 2015 10 of 19 1 2 3 4 5 6 Fig 3 FTDI P4 Target MCU serial port Table 2 P4 FTDI interface Target MCU Signa...

Страница 11: ...P2 pin 2 Use Ohm s law to calculate the current Target MCU current measured voltage 0 2 The voltage across a series 3 resistor with the Target MCU I O VDD can be manually measured at P3 on the PCB Th...

Страница 12: ...properly power the board 6 1 Debugging on board Target MCU using on board debug probe To use the on board Link debug probe the LPCXpresso4367 board must be powered from the Link2 USB connector J5 and...

Страница 13: ...0 connector The even numbered pins and odd numbered pins 17 and 19 are used for external access and expansion of Target MCU signals not used by the Arduino Uno rev3 compatible interface J3 PMod connec...

Страница 14: ...ted x ISP USART0 Fitted Fitted Fitted at 1 2 This can be useful when the TARGET MCU flash has been programmed with code that disables the SWD debug pins or changes timing settings such that the debug...

Страница 15: ...ent device a specific integrated circuit for handling and storing secured data The Secure Element features non volatile memory a security CPU and crypto coprocessor and features additional security me...

Страница 16: ...istance with applications or customer product design It is customer s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer s applications and pr...

Страница 17: ...f MCUs UM10946 All information provided in this document is subject to legal disclaimers NXP B V 2015 All rights reserved User manual Rev 1 0 18 November 2015 17 of 19 11 List of figures Fig 1 LPCxpre...

Страница 18: ...ument is subject to legal disclaimers NXP B V 2015 All rights reserved User manual Rev 1 0 18 November 2015 18 of 19 12 List of tables Table 1 Connectors indicators and jumpers 5 Table 2 P4 FTDI inter...

Страница 19: ...Serial ports 9 4 1 P4 FTDI header 9 5 Board power connections measurement 11 5 1 Target MCU current measurement 11 5 1 1 Target MCU current measurement using voltage sense resistor 11 5 1 2 Target MCU...

Страница 20: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information NXP OM13088 OM13084UL OM13088UL OM13076 OM13084 598 OM13076UL OM13076 598...

Отзывы: