
NXP LPC-Link 2 Board Support Package
This package contains project templates, system files and example programs for the NXP LPC-Link 2.
CrossWorks Version 4 Installation Instructions
- To install this support package
-
- Click the Tools > Package Manager menu option to open the package manager window.
- Right click on the NXP LPC-Link 2 Board Support Package entry and select Install Selected Packages.
- Click Next to take you to the summary page.
- Click Next to install the package.
- Click Finish to close the package manager window.
- Click the Tools > Show Installed Packages.
- Click on the NXP LPC-Link 2 Board Support Package link to view the package and its contents.
- To manually install this support package
-
- If you have not done so already, install the following packages:
- Download the file NXP_LPC_LINK_2.hzq using your web browser.
- Click the Tools > Manually Install Packages menu option.
- Select the file you have just downloaded to install the package.
- Click the Tools > Show Installed Packages.
- Click on the NXP LPC-Link 2 Board Support Package link to view the package and its contents.
- To install this support package using other versions
Release Notes
3.2
- Remove FreeRTOS samples.
3.1
- Uses SPIFI and CFI loaders from LPC4300 CPU support package.
3.0
- CrossWorks V3 release.
- Added FreeRTOS sample.
1.1
- Improved dual core support.
- Added more dual core samples.
1.0
- Initial Release.
Documentation
Creating NXP LPC-Link 2 Projects
CrossStudio for ARM supports the NXP LPC-Link 2 board with loading and debugging applications into internal RAM and external Quad SPI flash.
To create a new NXP LPC-Link 2 Board project
- Select the File | New | New Project menu item.
- Select NXP LPC-Link 2 from the Boards category list.
- Select the required project template type from the Project Templates list.
- Set the required project name and location directory.
- Click OK.
To build, load and debug an application running in internal RAM
- Select the project to work on by using the Project | Set Active Project menu option.
- Select the RAM placement by clicking on the project node in the project explorer.
- Build the project by using the Build | Build Project menu option.
- Connect to the appropriate target in the target window.
- Download and start debugging the current project by using Debug | Start Debugging.
To build, load and debug an application running in Quad SPI Flash
- Select the project to work on by using the Project | Set Active Project menu option.
- Select the SPIFI placement by clicking on the project node in the project explorer.
- Build the project by using the Build | Build Project menu option.
- Connect to the appropriate target in the target window.
- Download and start debugging the current project by using Debug | Start Debugging.
To make the application startup from reset
- Right click on the project node in the project explorer and select Properties...
- In the properties window scroll down to the Preprocessor Options section.
- Type STARTUP_FROM_RESET into the Preprocessor Definitions property editor.
NXP LPC-Link 2 Project Specifics
Target Reset Script
The reset script for NXP_LPC_LINK_2_Target.js supplies the reset functions to set up the external memories.
Board Specific Files
The file NXP_LPC_LINK_2_ctl_board.c provides functions that initialise the clocks and external memories of the NXP LPC-Link 2 board.