Using an LPC-Link2 as an LPC4370 evaluation board

 https://www.lpcware.com/content/faq/lpcxpresso/using-lpclink2-as-lpc4370-eval

As well as being a standalone debug probe, the LPC-Link2 can also be used as a simple LPC4370 evaluation board.

The following notes may assist in such usage.

Debug connection

Make sure that you have connected the JTAG/SWD cable from your debug probe to the target LPC-Link2's connector J2 (and not J7!).

Thus if you are using a two LPC-Link2s, one as the debug probe and one as the target - you need to connect J7 on the debug probe to J2 on the target.

Flash Memory

The LPC-Link2 has a 1 MB SPIFI flash (Winbond W25Q80BVSSIG) mounted on it (at address 0x14000000).

You can program this in LPCXpresso using the "LPC18_43_SPIFI_1MB_4KB.cfx" flash driver. Make sure that you have a jumper fitted to JP1 though.

The XML file in the attached LPC4370-Link2-M4only.zip can be used to set up the memory configuration of your project for this memory/flash driver.

Power

If powering the target LPC-Link2 via USB, then we would normally suggest doing this from a powered USB hub that is not connected to your PC.

This will prevent any chance of the target LPC-Link2 being seen by the tools running on the PC as a usable debug probe.

If debugging the target LPC-Link2 using another LPC-Link2, then you can supply power from the debug LPC-Link2

if you fit jumper JP2 (though this is not generally recommended if you have additional hardware attached to the target LPC-Link2).

Simple example application

A simple blinky application for the LPC4370/LPC-Link2 can be found in the attached LPC4370_LPCLink2_LEDblinky.zip.

Download and save the zipfile to your local disk, then use the LPCXpresso "Quickstart Panel -> Import project(s)" option to import it into your workspace.

In order to build this, you will also need to import the CMSIS_LPC43xx_DriverLib library project from the LPCXpresso examples into your workspace.

For details of importing, building and debugging projects - please see the LPCXpresso User Guide, provided within the product itself.

The LPC-Link2 is also a supported target board for our LPCOpen software platform. You can download example code from our LPCOpen pages.

For more information...

For more information on debugging and developing LPC43xx applications in LPCXpresso,

please see the FAQ "LPC18 / LPC43 support in LPCXpresso".

For more information on the LPC-Link2, please visit : http://www.lpcware.com/lpclink2

 

posted @   IAmAProgrammer  阅读(710)  评论(0编辑  收藏  举报
(评论功能已被禁用)
编辑推荐:
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
阅读排行:
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 【自荐】一款简洁、开源的在线白板工具 Drawnix
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
历史上的今天:
2012-09-01 STM32 USB Host Library 学习笔记 (2) USBH_InterruptSendData() USBH_ClrFeature()
2012-09-01 STM32 USB Host Library 学习笔记 (1) USB_OTG_ReadPacket() USB_ReadPacket()
2012-09-01 Unable to cleanly close USB accessory FileInputStream on android 2.3.4
点击右上角即可分享
微信分享提示