User manual

LPC3250 Developer’s Kit v2 - User’s Guide
Page 53
Copyright 2013 © Embedded Artists AB
1. Open the project in Keil uVision
2. Make sure board initialization isn’t executed when the application is built for external memory.
The S1L boot loader will take care of initialization and it shouldn’t be executed twice. Go to
Project Options Asm. Remove the USE_BOARD_INIT define.
Figure 29 Asm settings in Keil uVision
3. Change linker script so that the application runs from external memory instead of internal
memory. Go to Project Options Linker. Click Edit button to the right on the Scatter File.
The scatter file will now be opened. Please note that this file is common for all sample
applications. If only one application should be changed copy this file to the local project
instead of changing the common file.
Change the LR_RAM1 row. The first argument is the execute address which could be
changed to 0x80000000 if the application should be run from the beginning of the external
memory. The second argument is the size of the LR_RAM1 region. In the example below this
is set to 16 MB (0x01000000).