Hitex LPC1850 Board Support Package
This package contains project templates, system files and example programs for the Hitex LPC1850.
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 Hitex LPC1850 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 Hitex_LPC1850.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 Hitex LPC1850 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
- Provided sample project file for CMSIS-3 DSP Lib samples.
1.0
- Initial Release.
Documentation
Creating Hitex LPC1850 Projects
CrossStudio for ARM supports the Hitex LPC1850 board with loading and debugging applications into internal RAM, external NOR Flash and Quad SPI flash.
To create a new Hitex LPC1850 Board project
- Select the File | New | New Project menu item.
- Select Hitex LPC1850 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 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.
- Set the boot jumpers for EMC boot mode.
- 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.
- Set the boot jumpers for SPIFI boot mode.
- 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.
Hitex LPC1850 Project Specifics
Target Reset Script
The reset script for Hitex_LPC1850_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 and Quad SPI Flash of the Hitex LPC1850 board.
Board Specific Files
The file Hitex_LPC1850_ctl_board.c provides functions that initialise the clocks and external memories of the Hitex LPC1850 board.
Hitex LPC1850 Sample Projects
The following project files are supplied that can be used to run the standard CrossWorks shared samples.
- Hitex LPC1850 Shared Samples (click to load project)
- Hitex LPC1850 CTL Samples (click to load project)
- Hitex LPC1850 CMSIS-DSP Samples (click to load project)
The board specific file Hitex_LPC1850_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.