User`s guide
LPC3250 Developer’s Kit - User’s Guide
Page 36
Copyright 2011 © Embedded Artists AB
8. A .bin file as well as a .srec file will be generated that can be used for booting.
5.3.2 Compile Using Keil’s uVision
This section describes how you can compile an application using Keil’s uVision.
1. You must have Keil’s uVision installed on your computer. An evaluation version can be
downloaded from www.keil.com.
2. Download the sample applications from Embedded Artists support site and unzip the file.
3. The sample applications contain Keil project files. Double click on the file with extension Uv2
and the Keil uVision tool will be started.
4. Press the F7 key or go to the Project menu and select Build Target.
5. If you have a USB-JTAG adapter connected between the LPC3250 OEM Board and your
computer you can directly download the application to internal RAM of the LPC3250. You do
this by pressing CTRL+F5 keys or by going to the Debug menu and selecting the Start/Stop
Debug Session alternative.
6. If you don’t have a USB-JTAG adapter you can program the board with the generated bin file.
5.4 Booting
The processor will start its code execution from an internal ROM, containing the boot code. This boot
loader can load code from one of four external sources to internal RAM (IRAM) at address 0x0.
- UART5
- SSP0 (in SPI mode)
- EMC Static CS0 memory
- NAND FLASH
The boot loader loads code as a single contiguous block at a maximum size of 56 kByte. Programs
larger than this size must be loaded in more steps, for example, by a secondary boot loader.
The LPC3250 User’s Manual from NXP (chapter 35) contains all details about booting. The rest of this
section gives an overview of what is supported by the LPC3250 OEM Board and QVGA Base Board,
and how to quickly get started with the download process.
5.4.1 Kickstart Loader
By default the Embedded Artists LPC3250 OEM Board is programmed with the kickstart loader in
block 0 of the NAND flash. The responsibility of this loader is to load an application stored in block 1
and onwards of the NAND flash. The kickstart loader will load the application into internal RAM (IRAM)
at address 0x0.
The kickstart loader is available in the bundle with sample applications provided by Embedded Artists
(examples/kickstart). The application nand_prog (examples/nand_prog) is used to program the NAND
flash with the kickstart loader as well as a second application, for example, the stage 1 loader.
5.4.2 Stage 1 Loader
By default the Embedded Artists LPC3250 OEM Board is programmed with the stage 1 loader (s1l) in
block 1 of the NAND flash. This application will be loaded by the kickstart loader when the LPC3250
OEM Board powers up, see figure below.