/******************************************************************************/ /* SDRAM.INI: SDRAM Initialization File */ /******************************************************************************/ /* This file is part of the uVision/ARM development tools. */ /* Copyright (c) 2010 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. */ /******************************************************************************/ FUNC void Setup (void) { SP = _RDWORD(0x70000000); // Setup Stack Pointer PC = _RDWORD(0x70000004); // Setup Program Counter _WDWORD(0xE000ED08, 0x70000000); // Setup Vector Table Offset Register } LOAD %L INCREMENTAL // Download Setup(); // Setup for Running g, main