LPC2478 启动代码分析1 ;*************************************************************************** ;LPC2400.S: Startup file for Philips LPC2400 device series ;*************************************************************************** ; <<< Use Configuration Wizard in Context Menu >>> ;*************************************************************************** ; This file is part of the uVision/ARM development tools. ; Copyright (c) 2007 Keil - An ARM Company. All rights reserved. ; This software may only be used under the terms of a valid, current, ; end user licence from KEIL for a compatible version of KEIL software ; development tools. Nothing else gives you the right to use this software. 2478 启动代码要做的工作如下: ; ; * The LPC2400.S code is executed after CPU Reset. This file may be ; * translated with the following SET symbols. In uVision these SET ; * symbols are entered under Options - ASM - Define. ; * ; * NO_CLOCK_SETUP: when set the startup code will not initialize Clock ; * (used mostly when clock is already initialized from script .ini ; * file). ; * ; * SETUP_EMC: when set the startup code initializes External Bus ; * Controller. ; * ; * RAM_INTVEC: when set the startup code copies exception vectors ; * from on-chip Flash to on-chip RAM. ; * ; * REMAP: when set the startup code initializes the register MEMMAP ; * which overwrites the settings of the CPU configuration pins. The ; * startup and interrupt vectors are remapped from: ; * 0x00000000 default setting (not remapped) ; * 0x40000000 when RAM_MODE is used ; * 0x80000000 when EXTMEM_MODE is used ; * ; * EXTMEM_MODE: when set the device is configured for code execution ; * from external memory starting at address 0x80000000. ;...