zoukankan      html  css  js  c++  java
  • LPC-LINK 2

    LPC-Link 2 is an extensible, stand-alone debug adapter that can be configured to support various development tools

    and IDEs by downloadable firmwares.

    Available firmware images include:

    • LPCXpresso IDE debugger by NXP
    • CMSIS-DAP by ARM
    • J-Link by Segger (see more information here and specifically note the Terms of Use from Segger)

    The board is supported by the LPCXpresso IDE and all development environments that supports the J-Link and CMSIS-DAP interface.

    This product is delivered with a 10-pos IDC Ribbon Cable. Note that an adapter is needed to connect to the older 2x10-pos 100 mil pitch ARM debug connectors.

    LPC-Link 2 is the latest addition to the LPCXpresso development platform.

    There is an add-on board called LabTool that turn the LPC-Link 2 into a powerful debug tool with analogue oscilloscope and digital logic analyzer functionality.

    Note 

    that LPC-Link 2 firmware in combination with the LPCXpresso IDE supports the Cortex-Mx cores in the LPC family,

    but not the older ARM7/ARM9 cores. Read this FAQ entry for more information.

    LPC-Link 2

    SWD/JTAG interface voltage 1.2V - 5.5V supported
    Dimensions 84 x 37 mm
    Powering Via USB cable from PC
    Connectors • standard 10-pin Cortex debug connector (note: 50 mil pitch connector)
    • 20-pin Cortex trace connector (note: 50 mil pitch connector)
    • analog expansion header
    • digital expansion header
    • serial expansion header
    Supported development tools • Compatible with the LPCXpresso IDE - LPC-Link 2 is auto-detected by LPCXpresso.
    • Compatible with tools/IDEs that support the Segger J-Link via downloadable firmware image
    • Compatible with tools/IDEs that support CMSIS-DAP by ARM via downloadable firmware image

    The following resources are available for download.

    Documents

    Forum and Support

    External Resources

    NXP Press Release
    LPC-Link2 Configuration Tool
    Download the LPCXpresso IDE

    LPC-Link 2 firmware

    SEGGER offers a firmware running on the NXP LPC-Link 2 platform
    which makes the LPC-Link 2 compatible to J-Link Lite,
    allowing users to take advantage of most J-Link features
    like the ultra fast flash download and debugging speed or the free-to-use GDBServer,
    by using a low-cost LPC-Link 2 platform for developing on evaluation boards. 

    Features

    • Supports all ARM based NXP devices which are also supported by J-Link Lite.
    • JTAG, SWD + SWO supported
    • Fully compatible to and same features as J-Link Lite

    Limitations 

    The firmware making the LPC-Link 2 J-Link compatible has some limitations in contrast to an original, industry leading SEGGER J-Link:
    1. May be used with ARM based NXP devices only.
    2. Only debugging on evaluation boards is allowed.
      Debugging on custom hardware is not supported and not allowed.
    3. No production flash programming support.
    4. Unlimited breakpoints in flash available for evaluation only.
    5. No support is given.
    By using an original SEGGER J-Link PRO, J-Link ULTRA+ or J-Link PLUS, all these limitations will be gone.
     

    Using LPC-Link2 as an evaluation board

    LPC-Link2 can also be used as an evaluation board for the NXP LPC4370 MCU, a 204 MHz Cortex-M4 MCU with an 80 MHz ADC and two extra Cortex-M0 cores.

    LPC-Link2 is designed to be booted from USB, making it very simple to re-purpose the board by simply power cycling it and downloading a new program into the board via USB, using the DFUSec tool ! If you don't want to use the USB boot capability to boot the board on each power cycle, a 1MB SPIFI FLASH is also available on the board for standalone operation.

    Or if you have access to another debug probe - such as another LPC-Link2 - you can use the SWD/JTAG connector on the board to download and debug applications with an IDE such as Keil, IAR, or LPCXpresso.

    There is more information on this in the FAQ "Using an LPC-Link2 as an LPC4370 evaluation board". 

    Getting started with LPC-Link 2 

    In order to get started with LPC-Link 2 just a few steps are necessary:
    1. Download the LPC-Link 2 configuration tool here
    2. Start the LPC Link configuration tool WITHOUT having LPC-Link 2 connected to the PC.
    3. In the configuration tool, select J-Link firmware as image to be downloaded
    4. Follow the instructions in the configuration tool
    5. Power-cycle LPC-Link 2. It will now enumerate as a J-Link

    LPC-Link 2 Configuration Tool

    Important Notes : Read before downloading and using

    • The use of the LPC-Link2 Configuration Tool is no longer recommended
    • The functionality offered by this tool has been superseded by LPCScrypt
    • Download LPCScrypt to obtain the latest versions of CMSIS-DAP
      and J-Link firmware for LPC-Link2 or LPCXpresso V2/V3 boards.

    The LPC-Link 2 Configuration Tool (LCT) is a Windows tool that installs the CMSIS-DAP/VCOM/LPCSIO 
    or JLINK firmware on LPCXpresso V2/V3 and LPC-Link 2 boards.

    This package provides the Link Configuration Tool, all necessary Windows drivers, a User Manual,
    and the source and project files to rebuild the programming algorithm firmware used by the LCT.

    The V2 version provides expanded capability for LPCXpresso V2/V3 boards with improvements to CMSIS-DAP,
    a UART bridge connected to the target processor (LPCXpresso V2/V3 boards only),
    and a LPCSIO bridge that provides communication to I2C and SPI slave devices on LPCXpresso V3 boards.

    For LPC-Link 2 boards, an updated version of CMSIS-DAP provides faster programming and more stable operation.

    This version also adds support for J-Link - please see SEGGER's website for more information:

    for lpc-link2 boards and for LPCXpresso V2/V3 boards.

    Firmware included in this package:

    • LPCXpresso V2/V3 boards: CMSIS-DAP debugger + VCOM (UART bridge connected to target processor)
      + LPCSIO bridge (I2C + SPI + GPIO bridge connected to target processor)
    • LPC-Link 2 boards: CMSIS-DAP firmware
    • LPC-Link 2 and LPCXpresso V2 and V3 boards: J-Link firmware

    If you are using LPC-Link 2 or LPCXpresso V2/V3 boards with the LPCXpresso-IDE, you do not need to use this tool.

    Note that the LCT requires NET4.5.1 to be installed prior to use.

    This package will automatically download and install NET4.5.1 if it is needed.

    The older v1.xx versions of the LCT require NET4 to be download and installed manually prior to use.

    Getting Started

    Go here to get a quick guide on how to use the LCT tool to install firmware on supported boards. The LCT installer will install a User Manual that shows the LCT steps to program the firmware into your board. This User Manual can be selected from the start menu.

    Known issues

    • The LCT may not correctly enumerate when used with a Virtual Machine (VM). It is recommended not to use this on a VM.
    • Version of the LCT >= v2.01 will not work on Windows XP systems. You can only use the v2.00 older version for Windows XP systems. Download it here.

    LPCScrypt

    LPCScrypt Overview

    Important Note :

    From v1.5 onwards, LPCScrypt is the recommenced tool for programming the latest versions

    of CMSIS-DAP and J-Link firmware onto LPC-Link2 or LPCXpresso V2/V3 boards.


    LPCScrypt is a command-line based, fast flash, EEPROM, OTP

    and security programming tool for the LPC1800 and LPC4300 series of microcontrollers.

    Key features include:

    • Multi-Platform Support (Windows, Mac, Linux)
    • Scriptable command line interface
    • Programming of internal and SPIFI flash
      • Support for a wide range of SPIFI devices (via use of LPCOpen lpcspifilib)
      • Optimised for high speed operation - typically 100-300KB/sec,
        depending upon flash device, host OS and host computer.
    • Programming EEPROM (internal flash parts only)
    • Programming One-Time Programmable (OTP) memory
    • Images and scripts to program LPC-Link2 and LPCXpresso V2/V3 debug probe firmware

    LPCScrypt consists of two parts, a multi-platform command line tool and an MCU firmware monitor. 

    In use, the firmware monitor is downloaded to the target MCU

    using USB DFU support built into the on-chip ROM (using USB0 or USB1).

    The firmware creates a virtual serial port (VCOM) over USB to communicate with the host.

    The LPCScrypt host tool provides a command-line interface to the firmware,

    giving access to the programmable features of the MCU.

    It can be invoked with a single command or a script file containing a sequence of commands. 

    Standard host tools, such as Windows batch files or Linux/Mac shell scripts,

    can be used with the LPCScrypt host tool to automate multiple operations,

    such as binary file encryption, programming binary files to flash devices,

    setting boot options, configuring VID/PID, and finally simulating MCU reset. 

    LPCScrypt is flexible and fast, and is suitable for one off programming and testing or semi-automated production programming.

    An enhanced version of LPCScrypt with additional support for the security features of the LPC18S00 and LPC43S00 parts is available,

    subject to Export Control regulations. This enhanced version adds:

    • Generating and programming 128 bit AES keys
    • Encrypting and programming secure images

    Contact your local NXP representative to obtain the enhanced version.

    Latest Release Information

    Latest release : 1.5.2 build 588, 23 June 2015

    • Windows Only: Added Start menu shortcuts for booting LPCScrypt and programming debug probe firmware
    • Windows Only: Added CMSIS-DAP driver to drivers directory
    • Improved scripts to program debug probe firmware

    Previous release : v1.5 build 562, 1 June 2015

    • Added binaries for CMSIS-DAP (V5.112) and Segger J-Link debug probe firmware
    • Added scripts to enable easy programming of CMSIS-DAP and J-Link firmware
    • Added Debug Probe Firmware Programming guide
    • Added support for new SPIFI devices – W25Q128FV and MX25L1606

    Previous release : v1.3 build 496, 12 March 2015

    • Added support for connections via USB1 as well as USB0
    • Added support for new SPIFI devices – W25Q40CV and PM25LQ032C

    Currently supported SPIFI devices:

    • PM25LQ032C
    • MX25L1606E
    • MX25L1635E
    • MX25L3235E
    • MX25L6435E
    • MX25L8035E
    • S25FL016K
    • S25FL032P
    • S25FL064P
    • S25FL129P 64kSec
    • S25FL129P 256kSec
    • S25FL164K
    • S25FL256S 64kSec
    • S25FL256S 256kSec
    • S25FL512S
    • W25Q40CV
    • W25Q32FV
    • W25Q64FV
    • W25Q128FV
    • W25Q80BV

    LPCScrypt Downloads

      Download Notes
      LPCScrypt Documentation Please download and read the documentation before installing/using LPCScrypt
    Windows Installer v1.5.2 build 588 Supported platforms: Windows Vista or later, 32 or 64 bit
    Mac OS X Installer v1.5.2 build 588 Supported platforms: Mac OS X Mountain Lion (10.8.5) or later
    Linux Installer v1.5.2 build 588 Supported platforms: LPCScrypt is only tested and supported on recent distributions of Ubuntu and Fedora (32 or 64 bit). It *may* work on other distributions but we cannot provide support if it does not.

    LPC4337/43S37/18S37 LPCXpresso Boards LINK2

  • 相关阅读:
    Visual Studio 常用快捷键 (二)
    Visual Studio 常用快捷键
    页游体验
    JSFL 工具
    GhostCat工具
    如何制作一个塔防游戏
    水墨
    给 想转2dx 却无从下手的aser
    两岸三地在线编程学习网站大全
    as3反射应用及简要代码
  • 原文地址:https://www.cnblogs.com/shangdawei/p/4751943.html
Copyright © 2011-2022 走看看