xram ini 文件 LPC2294
// XRAM.INI: Initialization File for off-chip RAM execution
//*** < < < Use Configuration Wizard in Context Menu > > > ***
FUNC void Setup (void) {
// Program Entry Point
PC = 0x81000000;
// MEMMAP: Interrupt Vector maps to: <0=> Boot Block
// <1=> On-Chip Flash
// <2=> Static RAM
// <3=> External Memory
(LPC2292/2294 only)
_WDWORD(0xE01FC040, 0x00000002); // MEMMAP
_WDWORD(0xFFE00004, 0x20003CE3); // BCFG1: RAM BUS Configuration
_WDWORD(0xE002C014, 0x0E6049E4); // PINSEL2
}
Setup(); // Setup for Running
LOAD XRAM\Debug INCREMENTAL // Download
g,main // Run to main
发表时间:2007年4月26日15:25:26