Package Title LPC3180 Board Support Package
Package Version 2.1
Board Phytec LPC3180 Board
CPU NXP LPC3180
Required Additional Packages None
Required CrossStudio Version 2.0 or later

This package contains project templates, system files and example programs for the LPC3180 Board.

Package Installation Instructions

CrossWorks Version 2.x Installation Instructions

To install this support package using CrossStudio:

  1. Click the Tools > Package Manager menu option to open the package manager window.
  2. Right click on the LPC3180 Board Support Package entry and select Install Selected Packages.
  3. Click Next to take you to the summary page.
  4. Click Next to install the package.
  5. Click Finish to close the package manager window.

Alternatively, to manually install this support package:

  1. Download the file Phytec_LPC3180.hzq using your web browser.
  2. Click the Tools > Manually Install Packages menu option.
  3. Select the file you have just downloaded to install the package.

Package Version History

2.1

  • Added CTL VFP example.

2.0

  • Initial Release.

Creating Phytec LPC3180 Projects

CrossStudio for ARM supports the Phytec LPC3180 board with loading and debugging applications into SDRAM and NAND flash.

To create a new Phytec LPC3180 Board project
  • Select the File | New | New Project menu item.
  • Select Phytec 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 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 appropriate 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 appropriate 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.

Phytec LPC3180 Project Specifics

Target Reset Script

The reset script for Phytec_LPC3180_Target.js supplies the function to set up the clocks and SDRAM.

Flash Loaders

The loaders (click to load solution) 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 Phytec_LPC3180.c sets up the CTL timer and provides a led and button pressed function.