Booting LPC-Link2, Updating LPCXpresso firmware
Booting LPC-Link2
The recommended way to use LPC-Link2 with the LPCXpresso IDE is to boot and soft load a debug firmware image at the start of a debug session.
Normally, LPC-Link 2 is booted automatically, however under certain circumstances - such as when using the command line flash utility, you may need to boot it manually.
Note: Both the LPCXpresso V2/V3 boards and RDB4078 incorporate a built in LPC-Link2 debug probe, so this FAQ equally applies to these boards.
Note: This FAQ only applies to LPC-Link2 hardware when configured to operate in DFU mode, it does not apply if the LPC-Link2 hardware is configured to boot from a debug firmware image held in flash such as CMSIS-DAP.
Background
When powered on, LPC-Link 2 hardware makes use of the DFU mechanism (Device Firmware Update)
to allow the LPCXpresso IDE to download debug firmware into the on-board RAM.
This scheme offers great flexibility and ensures that the latest compatible firmware will be used for a given version of the IDE.
Before boot, LPC-Link 2 appears as a USB device with details:

For LPCXpresso IDE prior to v7.8: After boot, LPC-Link2 will by default appear as a USB device with details:

From LPCXpresso IDE v7.8 onwards: After boot, LPC-Link2 will by default appear as a USB device with details:

For information on setting the LPCXpresso IDE default debug firmware see: Configuring which LPC-Link2 firmware image to soft-load
Note: the standard utilities to explore USB devices on our supported host platforms are:
- Windows - Device Manager
- LPCXpressoIDE also provides a listusb utility in:
- <install_dir>\lpcxpresso\bin\Scripts
- LPCXpressoIDE also provides a listusb utility in:
- Linux - terminal command: lsusb
- Mac OSX - terminal command: system_profiler SPUSBDataType
The procedure to manually boot the probe is shown below.
Using the Command Line
From LPCXpresso IDE version 7.3x and later, we now supply a boot script for all supported platforms. To make use of this script:
- cd <install_dir>\lpcxpresso\bin and run
- boot_link2
For version of LPCXpresso IDE earlier than version 7.3 - you will need to locate the dfu-util utility and pass the parameters for the device and code etc. as below:
cd <install_dir>\lpcxpresso\bin and run
- dfu-util -d 1FC9:000C -c 0 -t 2048 -R -D LPC432x_Redlink_V4_30.bin.hdr
- LPC432x_Redlink_V4_30.bin.hdr is the file name for the firmware supplied in LPCXpresso IDE V 7.2.0
- Note: The exact name of the .hdr file may change between different tools releases, please ensure you use the name of the correct name!
- LPC432x_Redlink_V4_30.bin.hdr is the file name for the firmware supplied in LPCXpresso IDE V 7.2.0
Using the GUI
It is also possible to manually boot LPC-Link 2 from the GUI, on occasion this may be a more convenient solution than using the command line.
To do this, locate the red Boot icon on the Toolbar:

Troubleshooting
If you have been able to use LPC-Link 2 in a debug session but now see issues such as "No compatible emulator available"
or "Priority 0 connection to this core already taken" when trying to perform a debug operation ...
- ensure you have shut down any previous debug session
- You must close a debug session (press the Red 'terminate' button) before starting another debug session
- It is possible that the debug driver is still running in the background. Use the task manager or equivalent to kill any tasks called:
- redlinkserv
- arm-none-eabi_gdb*
- crt_emu_*
If your host has never worked with LPC-Link 2, first perform some basic checks with reference to the background information at the beginning of this FAQ.
- Try a different USB cable!
- Try a different USB port. If your host has USB3 and USB2, then try a USB2 port
- there are know issues with motherboard USB3 firmware, ensure your host is using the latest driver from the manufacturer
- Note: this is not referencing the host OS driver but the motherboard firmware of the USB port
- there are know issues with motherboard USB3 firmware, ensure your host is using the latest driver from the manufacturer
- If using a USB hub, first try a direct connection to the host computer
- Try completely removing and re-installing the host device driver. See also LPC-Link2 fails to enumerate with CMSIS-DAP
- If using Windows 8.1, then sometimes the Windows USB power settings can cause problems.
For more details use your favourite search engine to search for "windows 8 usb power settings" or similar. For example:
Updating LPCXpresso firmware
LPCXpresso range of development boards from NXP which include the LPC-Link 2 interface can be firmware updated to include mbed USB disk programming capabilities.
Below is a quick guide to how to carry out this update.
Requirements
- A Windows computer
- Download and install the latest DFU Boot drivers
- Download and install the latest NXP DFU Download utility
Instructions
1. Fit jumper JP3
2. Connect the "link" micro-B connector to the PC

3. Run dfusec.exe

- Browse to the correct Algorithm file (the correct one should be selected by default)
- Download the binary for your board from the list below, and then :
- Browse to the binary
- Set the parameter : "Address"
- Set the parameter : "Size"
- Press the start button on the PC application... wait... done :-)
4. Remove the jumper JP3 and unplug/plug in the LPCXpresso
You should now have an mbed flash disk for drag and drop programming
Binary Downloads
- LPCXpresso1549
- LPCXpresso1549 firmware image 2015-07-14 v0221 (fixed the MBED.HTM file only)
- LPCXpresso1549 firmware image 2015-04-18 v0221
- LPCXpresso1549 firmware image 2014-04-03 v0202
- Address : 0x1A000000
- Size : 0x00080000
- LPCXpresso11U68
- LPCXpresso11U68 firmware image 2015-04-28 v0221
- LPCXpresso11U68 firmware image 2014-04-03 v0202
- Address : 0x1A000000
- Size : 0x00080000
- LPCXpresso4337
- LPCXpresso4337 firmware image 2015-04-27 v0221
- Address : 0x1A000000
- Size : 0x00080000
Booting LPC-Link2, Updating LPCXpresso firmware的更多相关文章
- LabTool : LPC LINK2, LPC4370 cheap scope: 80Ms/s 12 bit
80MHz 12 bit ADC processor LPC4370.LPCxpresso do a LPC LINK2 and LABTOOLS open source oscilloscope d ...
- LPC LINK2 IO CONNECTOR
- CyanogenMod wiki reading tips | Android tips
To Enable the Developer and Performance settings on CyanogenMod 10.1 In the Settings app, choose the ...
- UEFI boot: how does that actually work, then?
原文地址:https://www.happyassassin.net/2014/01/25/uefi-boot-how-does-that-actually-work-then/ 翻译:https:/ ...
- Booting the Linux/ppc kernel without Open Firmware
The DT block format 这一章定义了传递给内核的FDT(flattened device tree)的格式.关于它包含的内容以及内核需要的属性将在后续章节描述. 注:DT block应 ...
- Booting dircetly into Redlink FW from flash
Booting dircetly into Redlink FW from flash Hello, the usual way to use the Redlink FW is a two-step ...
- LPCScrypt, DFUSec : USB FLASH download, programming, and security tool, LPC-Link 2 Configuration tool, Firmware Programming
What does this tool do? The LPC18xx/43xx DFUSec utility is a Windows PC tool that provides support f ...
- cmsis dap interface firmware
cmsis dap interface firmware The source code of the mbed HDK (tools + libraries) is available in thi ...
- RPI学习--环境搭建_更新firmware
(用以解决USB摄像头不识别的状况) rpi-update是老外开发的一个更新树莓派firmware的工具 $ sudo apt-get update $ sudo apt-get install ...
随机推荐
- JQuery对CheckBox的一些相关操作
一.通过选择器选取CheckBox: 1.给CheckBox设置一个id属性,通过id选择器选取: <input type="checkbox" name="myB ...
- 【转】教你何时开启水果机上的HDR拍照
原址:http://news.mydrivers.com/1/175/175922.htm 苹果在iOS 4.1操作系统中为iPhone 4增加了一项有趣的新功能:HDR拍照.虽然目前市场上支持HDR ...
- Android利用LocalSocket实现Java端进程与C端进程之间的IPC
Android是建立在Linux之上的OS,在涉及到安全.网络协议.文件加密等功能时,往往需要通过C语言调用底层API来实现,而如何发出指令让C端执行我们想要的功能,并且在执行之后有返回结果呢,这就需 ...
- HDU 1501 Zipper 字符串
题目大意:输入有一个T,表示有T组测试数据,然后输入三个字符串,问第三个字符串能否由第一个和第二个字符串拼接而来,拼接的规则是第一个和第二个字符串在新的字符串中的前后的相对的顺序不能改变,问第三个字符 ...
- 【洛谷 P2726】 [SHOI2005]树的双中心(树的重心)
先考虑一个\(O(N^2)\)做法. 设选的两个点为\(x,y\),则一定可以将树分成两个集合\(A,B\),使得\(A\)集合所有点都去\(x\),\(B\)集合所有点都去\(y\),而这两个集合的 ...
- py-faster-rcnn代码阅读2-config.py
简介 该文件指定了用于fast rcnn训练的默认config选项,不能随意更改,如需更改,应当用yaml再写一个config_file,然后使用cfg_from_file(filename)导入以 ...
- blockchain 名词解释
1.UTXO UTXO是比特币交易的基本单位UTXO(Unspent Transaction Outputs)是未花费的交易输出,它是比特币交易生成及验证的一个核心概念.交易构成了一组链式结构,所有合 ...
- linux怎么执行jar文件 怎么打可执行的jar包
Linux下执行jar文件方法:命令行下进入文件目录,执行java -jar file.jar即可,也可在桌面创建一个启动器,在命令栏填写相关的命令:java -jar /file路径/file.ja ...
- Hadoop 上使用C 语言编程【转】
转自:https://www.linuxidc.com/Linux/2012-04/58991.htm 今天尝试用C语言在Hadoop上编写统计单词的程序,具体过程如下: 一.编写map和reduce ...
- linux sftp安装【转】
工具:虚拟机:VMware Workstation Pro.操作系统:CentOS-6.4-x86_64-minimal.终端模拟器:Xshell 5 .ftp:filezilla 一.让虚拟机联网 ...