![](images/hitex.png)
Hitex LPC3250-Stick Board Support Package
This package contains project templates, system files and example programs for the Hitex LPC3250-Stick.
CrossWorks Version 4 Installation Instructions
This package can only be installed if you have the following CrossWorks license bolt-ons:
- ARM License
- To install this support package
-
- Click the Tools > Package Manager menu option to open the package manager window.
- Right click on the Hitex LPC3250-Stick 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 Hitex LPC3250-Stick Board Support Package link to view the package and its contents.
- To manually install this support package
-
- If you have not done so already, follow the CrossWorks Tasking Library Package and NXP LPC3200 CPU Support Package installation instructions.
- Download the file Hitex_LPC3250_Stick.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 Hitex LPC3250-Stick Board Support Package link to view the package and its contents.
- To install this support package using other versions
Release Notes
2.2
- Changed default debug handler for new projects to be None and added a coprocessor execute address property to enable VFP registers to be viewed.
- Uses standard CTL VFP sample as shipped in CrossWorks for ARM version 2.3.0.
- Uses CrossWorks for ARM shared sample source code.
- Added OnConnect function to target script to enable ETM usage.
2.1
- Added CTL VFP example.
2.0
- Initial Release.
Documentation
Creating Hitex LPC3250 Stick Projects
CrossStudio for ARM supports the Hitex LPC3250 Stick with loading and debugging applications into SDRAM and NAND flash.
To create a new Hitex LPC3250 Stick project
- Select the File | New | New Project menu item.
- Select Hitex from the manufacturers category list.
- Select the required project template type from the Project Templates list.
- Set the required project name and location directory.
- Click OK.
To create a new target interface for the Hitex LPC3250 Stick
- Open the Targets windows using Targets | Targets menu item.
- In the targets window right click on the STR9-comStick target and select Copy.
- In the targets window right click and select Paste.
- Using the right click menu (on the copied target entry) select rename and change the name to LPC3250-Stick.
- Yet again using the right click menu select Properties.
- In the properties window change the PID entry to be 0x0026.
To build, load and debug an application running in SDRAM
- Select the project to work on by using the Project | Set Active Project menu option.
- Select the SDRAM 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 LPC3250-Stick target in the target window.
- Download and start debugging the current project by using Debug | Start Debugging.
To load and debug an SDRAM application into the NAND flash.
- Connect to the LPC3250-Stick target in the target window.
- Right click on the project node in the project explorer and select Program NAND.Note that the NAND flash must have been initialised by downloading the NAND Flash Init application which is supplied in the loader solution.
- Start debugging by using Debug | Reset and Debug.
Hitex LPC3250 Stick Project Specifics
Target Reset Script
The reset script for Hitex_LPC3250_Stick_Target.js supplies the function to set up the clocks and SDRAM.
Flash Loaders
The loaders
solution has projects to build the flash loader and secondary boot loader for the NAND flash. This solution also contains the NAND flash initialisation application.Board Specific Files
The file Hitex_LPC3250_Stick.c provides a led and button pressed function.
Known Problems
Millisecond Timer
The millisecond timer (RTC clock) appears to clock 10 times slower than expected. You can set the preprocessor definition RTC_CLK_32KHZ on the file LPC3200.c to be 32756/10 to workaround this.