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

 

 

NXP Semiconductors 

UM11079 

 

IoT Module base board 

UM11079_OM40006.docm 

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

© NXP B.V. 2017, 2018. All rights reserved. 

User manual 

Rev. 1.0 

— March 20, 2018 

12 of 23 

3.3  Starting a debug session using an external debug probe 

Code running on the installed IoT Module may be debugged using an external debug 
probe that conforms to the standard ARM debug connector. To use an external debug 
probe connect the probe to the SWD connector on the Module, and connect power via 
the micro USB connector J1. Note that the Debug link connector J7 must be left 
unconnected so that the Link2 debug probe is left unpowered and does not contend with 
the SWD interface signals from the external debug probe. 

4.  Link2 debug features 

This section describes the features provided by the on-board Link2 debug probe. See the 
Getting Started section for more information on how to program the device. 

The Link2 debug probe is implemented using an LPC432x MCU (circuit reference U18), 
which provides a high-speed USB port interface to the host computer which is running 
the development tools. This device is not intended for developer use, and should only be 
used with approved firmware images from NXP. The Link2 on-chip flash memory is 
factory programmed with a firmware image that support CMSIS-DAP debug protocol, but 
also includes other USB end point functions: 

 

Virtual COM (VCOM) port: a serial device that can be used with any host 
computer application design for serial port communication (e.g. Teraterm, 
puTTY, etc.) 

 

SWO trace end point: this virtual device is used by MCUXpresso to retrieve 
SWO trace data. See the MCUXpresso IDE documentation for more information. 

All of these devices are independent of each other and of the CMSIS-DAP debug device 
that is enumerated when the board is connected to a host computer; for example the 
VCOM port can be used if the board is running an application when no debugger is 
running.  

In order to correctly install and use the Link2 device on the OM40006 (as will be required 
for any debugging) for host computers running Window 7 or 8, drivers must first be 
installed. These drivers will automatically be installed when MCUXpresso IDE has 
already been installed. If these IDEs are not being used, it is recommended LPCScrypt 
be installed as this also includes the required drivers. All these tools and utilities are 
available for free download at 

www.nxp.com

The CMSIS-DAP firmware image installed at the factory (and by LPCScrypt) will uniquely 
identify itself to the host computer so that more than one board can be connected to that 
host computer at any time. Some toolchains cannot discern between multiple debug 
devices; refer to your toolchain documentation for more information (note the 
MCUXpresso does support multiple LPCXpresso board targets.) 

Note that the Link2 only boots when the board is power cycled; the reset button on the 
board does not reset the Link2.  

When using MCUXpresso IDE, the Link2 can be automatically booted with the latest / 
most appropriate firmware for that IDE version by installing JP6 before powering up the 
board. This is the recommended approach for the MCUXpresso IDE. Note that if JP6 is 
installed the VCOM port (and other devices mentioned above) device will not appear until 

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Содержание OM40006

Страница 1: ...ard User Manual Rev 1 0 March 20 2018 User manual Document information Info Content Keywords LPC54018 LPC54018 IoT Module Baseboard Baseboard OM40006 OM40007 Abstract IoT Module Baseboard User Manual...

Страница 2: ...V 2017 2018 All rights reserved User manual Rev 1 0 March 20 2018 2 of 23 Contact information For more information please visit http www nxp com For sales office addresses please send an email to sale...

Страница 3: ...Link2 probe OM13054 The combination IoT Module and this baseboard are supported by NXP s MCUXpresso suite of tools including a fully featured Eclipse based IDE and an SDK which includes drivers middl...

Страница 4: ...board Link2 can be used to debug off board target 2 x user LEDs Target Reset ISP User 3 and User buttons Arduino UNO compatible expansion site On board 3 3V regulator with external power supply optio...

Страница 5: ...rs and blue for expansion connectors Fig 2 OM40006 main feature layout The LCD panel is mounted on the reverse side of the board connected to the circuitry via two flex cable connectors It should not...

Страница 6: ...position 2 3 power must be supplied at J10 or via Arduino connector See schematic JP2 Buffer Power Selection Level translating buffers are placed between the on board debug probe and the target instal...

Страница 7: ...2 will boot from internal flash if image is found there With the internal flash erased the Link2 normal boot sequence will fall through to DFU boot Jumper shunted to force the Link2 to DFU boot mode U...

Страница 8: ...IoT Module D12 and P5 pin 66 port P3 14 of LPC54018 IoT Module D13 n a SW1 Reset button Press and release this button to reset the LPC546xx Note that this does not reset the Link2 debug probe n a SW2...

Страница 9: ...ebug probe connector Micro USB type B connection for the on board Link2 debug probe The debug probe is only powered if this connector issued Note do not use this connection when using an external debu...

Страница 10: ...debug probe of the Baseboard this is known as the on board Link2 When using the MCUXpresso IDE it is recommended that the Link2 is booted in DFU mode by installing a jumper on JP5 if this is done the...

Страница 11: ...or J7 Debug Link 5 Allow about 10 seconds for the OM40006 devices to enumerate for the first time It is not necessary to check the Hardware Manager however if this is done there will be five devices f...

Страница 12: ...on All of these devices are independent of each other and of the CMSIS DAP debug device that is enumerated when the board is connected to a host computer for example the VCOM port can be used if the b...

Страница 13: ...performed using the LPCScrypt utility see http www nxp com lpcutilities Instructions for using the tool are located at the same web page 4 3 VCOM port The identifier of the VCOM port will vary between...

Страница 14: ...JP5 pin 1 see silkscreen labelling and pin 4 Use Ohm s law to calculate the current Module current measured voltage 2 As an example if the measured voltage is 20mV then 20e 3 2 10mA 5 1 2 Module VDD...

Страница 15: ...position 1 2 which selects Ethernet operation Use of a micro AB adaptor to connect an external USB device may be required as most USB device have either a type A or micro B connector Note that the Et...

Страница 16: ...not be usable if those other functions are being used by other devices Table 5 below shows the connector circuit references and purposes Table 5 Expansion connectors Reference Description J9 Arduino...

Страница 17: ...touch controller interface to the main board via flex cables routed beneath the LCD panel The LCD panel is secured using multiple adhesive pads It is not recommended that the panel be removed as these...

Страница 18: ...enable to the socket is provided via P5 pin 83 PIO2 5 with LED D1 providing a visual indication when power is applied 8 4 Accelerometer The board includes an NXP MMA8652FCR1 accelerometer interfaced...

Страница 19: ...o passing through a hole in the board 8 6 USER button User Button SW5 can be used to generate an interrupt by pulling down the P6 pin 41 PIO1 1 of the Module to ground A 100K pull up resistor is also...

Страница 20: ...on and use of customer s third party customer s Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products NXP Semicondu...

Страница 21: ...5 Line input circuitry 18 Fig 6 Headphone line output circuitry 18 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Dow...

Страница 22: ...pansion Connector signal sharing 16 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Download...

Страница 23: ...istor current measurement 14 5 1 2 Module VDD current measurement using a current meter 14 6 Board peripheral connections 14 6 1 USART ports and VCOM support 14 6 2 USB Full Speed port USB0 15 6 2 1 D...

Отзывы: