![](images/embedded_artists.png)
Embedded Artists LPC3141 OEM Board Support Package
This package contains project templates, system files and example programs for the Embedded Artists LPC3141 OEM Board.
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 Embedded Artists LPC3141 OEM 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 Embedded Artists LPC3141 OEM 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 LPC3100 CPU Support Package installation instructions.
- Download the file EA_LPC3141_OEM.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 Embedded Artists LPC3141 OEM Board Support Package link to view the package and its contents.
- To install this support package using other versions
Release Notes
2.1
- CTL new projects now include threads.js file.
- Verify works with SPI NOR-flash loader.
2.0
- Initial Release.
Documentation
Creating Embedded Artists LPC3141 OEM Board Projects
CrossStudio for ARM supports the Embedded Artists LPC3141 OEM board with loading and debugging applications into ISRAM, SDRAM and programming SPI-NOR flash.
To create a new Embedded Artists LPC3141 OEM Board project
- Select the File | New | New Project menu item.
- Select Embedded Artists 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 make the application run faster
- Right click on the project node in the project explorer and select the SDRAM CACHED placement.
- Rebuild the application and it will run with MMU/Caches enabled.
To load and debug an SDRAM application into the SPI-NOR flash.
- Connect to the appropriate target in the target window.
- Right click on the project node in the project explorer and select Program SPI-NOR flash.
- Start debugging by using Debug | Reset and Debug.
To make the application startup from reset.
- Set the project property Startup From Reset in the Build Options to Yes.
Note that you can do the same build, load and debug process into ISRAM and you can also load ISRAM built applications into the SPI-NOR flash in the same way as described above.
Embedded Artists LPC3141 OEM Board Project Specifics
Target Reset Script
The reset script for EA_LPC3141_OEM_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 SPI-NOR flash. Note that the loader only supports the Atmel AT45DB321 with the 512 page size fuse set.Board Specific Files
The file EA_LPC3141_OEM.c provides a led and button pressed function.