终于抽出时间来使用lpc1549 xpresso v2开发板了。先到nxp网站上搜索次开发板的相关信息和资料。
在此社区有相关的介绍
http://www.lpcware.com/LPCXpressoV2Boards
其中JP1是debug target localtion,JP2是jtag/sw vref buffer power source,JP3是LPC link Debuger,
Use of JP3There are two reasons for installing the jumper at JP3.
First of all, fitting JP3 allows the LPCXpresso redlink firmware to be downloaded to RAM via DFU after the user had programmed CMSIS-DAP or J-link firmware into the LPC43xx's internal flash.
Secondly, it allows the user to update or reprogram the LPC43xx internal flash using the LPC-Link2 Configuration Tool with a different image after having already programmed it. If the jumper is installed at JP3 to update the LPC43xx internal flash, once the update is complete, the jumper will need to be removed and the board power cycled for the LPC43xx to boot from the new internal flash code. For more details, please see The LPC-Link 2 Configuration Tool.
下面的链接为
The LPC-Link 2 Configuration Tool.
http://www.lpcware.com/system/files/LPC_Link2_Config_tool_v1_11_1.zip
LPC-Link 2 Configuration ToolPlease note - If you are using LPC-Link 2 together with the LPCXpresso-IDE, you do not need to use this tool.
The LPC-Link 2 Configuration Tool uses Winusb for communication via USB. Prior to using this tool, the drivers need to be downloaded and installed. NOTE: Microsoft .NET Framework 4 or later must also be installed to use this tool. The J-Link firmware image also requires version 4.70 or above of Seggers J-Link drivers to be installed.
The LPC-Link 2 Configuration Tool is used to load firmware images onto the LPC-Link-2 board that make it compatible with a wide range of development environments other than the LPCXpresso-IDE.
Click here for how to use this tool.
Currently, the following firmware images are available for standalone LPC-Link 2 boards or LPCXpresso V2 boards:
- J-Link by Segger - For compatibility with development tools that support the J-Link protocol, such as IAR Embedded Workbench, Keil MDK, Rowley CrossWorks, Atollic TrueSTUDIO as well as GDB-based tool chains such as emIDE.
- CMSIS-DAP by ARM with integrated bridge support - For compatibility with development tools that support the CMSIS-DAP protocol, such as Keil MDK, and IAR Embedded Workbench. Bridge support includes support for UART, I2C, SPI, and GPIO (see http://www.lpcware.com/content/project/lpc-usb-serial-io-library)
在配置下载之前需要先安装LPC549 xpresso v2的windows驱动,下面是驱动下载连接。
http://www.lpcware.com/content/nxpfile/lpc18xx43xx-winusb-drivers-dfu-boot
下面的链接是烧写不同板子驱动的方法。
http://www.lpcware.com/content/project/usb-flash-download-programming-and-security-tool-dfusec/lpc-link-2-configuration
If you attempt to program an image into the board that is not valid for that board, the program cycle fails and you won't get 3 green statuses that indicate a successful program cycle. If this happens, power cycle the board and try again with another image.
假若下载完后不是三个绿色的条,则需要重新安装下载。
我是试了好几次才成功的。
第一次参考其他网友的介绍资料,总是在keil5下不能识别,后来才发现需要
version 4.70 or above of Seggers J-Link drivers 安装完此驱动后设备被识别。下面为jlink-472a的下载连接。
http://www.segger.com/jlink-software.html?step=5&file=JLink_472a
安装完后截图。
现在可以使用相关例程调试程序了。
我的使用计划:
LPC1500体验+驱动步进电机设计 https://bbs.eeworld.com.cn/thread-442191-1-1.html