Diolan LPC-1850-DB1 Board Support Package
This package contains project templates, system files and example programs for the Diolan LPC-1850-DB1.
Installation Instructions
- CrossWorks Version 2.x Installation Instructions
-
To install this support package using CrossStudio:
- Click the Tools > Package Manager menu option to open the package manager window.
- Right click on the Diolan LPC-1850-DB1 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.
Alternatively, to manually install this support package:
- If you have not done so already, follow the NXP LPC1800 CPU Support Package installation instructions.
- Download the file Diolan_LPC_1850_DB1.hzq using your web browser.
- Click the Tools > Manually Install Packages menu option.
- Select the file you have just downloaded to install the package.
To view the support package and its contents:
- Click the Tools > Show Installed Packages.
- Click on the Diolan LPC-1850-DB1 Board Support Package link.
Release Notes
1.2
- New CTL projects now allocate a process stack. If you have an existing CTL project then you should do similar since this is required for the CTL supplied with CrossWorks for ARM version 2.3.1.
1.1
- Fixed external NOR flash setup problems.
- Provided sample project file for CMSIS-3 DSP Lib samples.
1.0
- Initial Release.
Documentation
Creating Diolan LPC-1850-DB1 Projects
CrossStudio for ARM supports the Diolan LPC-1850-DB1 board with loading and debugging applications into internal RAM and external NOR Flash.
To create a new Diolan LPC-1850-DB1 Board project
- Select the File | New | New Project menu item.
- Select Diolan LPC-1850-DB1 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 external NOR flash.
- Select the project to work on by using the Project | Set Active Project menu option.
- Select the EMC 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.
Diolan LPC-1850-DB1 Project Specifics
Target Reset Script
The reset script for Diolan_LPC_1850_DB1_Target.js supplies the reset functions to set up the external memories.
Flash Loaders
The loaders solution has projects to build the flash loader for the external NOR Flash of the Diolan LPC-1850-DB1 board.
Board Specific Files
The file Diolan_LPC_1850_DB1_ctl_board.c provides functions that initialise the clocks and external memories of the Diolan LPC-1850-DB1 board.
Diolan LPC-1850-DB1 Sample Projects
The following project files are supplied that can be used to run the standard CrossWorks shared samples.
- Diolan LPC-1850-DB1 Shared Samples (click to load project)
- Diolan LPC-1850-DB1 CTL Samples (click to load project)
- Diolan LPC-1850-DB1 CMSIS-DSP Samples (click to load project)
The board specific file Diolan_LPC_1850_DB1_ctl_board.c is included in the samples that implements SystemInit() and the ctl board support functions to flash a led and handle a button press.