![](images/diolan.png)
Diolan LPC-1850-DB1 Board Support Package
This package contains project templates, system files and example programs for the Diolan LPC-1850-DB1.
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 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.
- Click the Tools > Show Installed Packages.
- Click on the Diolan LPC-1850-DB1 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 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.
- Click the Tools > Show Installed Packages.
- Click on the Diolan LPC-1850-DB1 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.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.
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.