1. 64Kb = 64*1024Byte =0xf10000Byte
2. 将64kB的RAM切割成两份,分别用来存放引导程序和引导程序起作用的缓存区域
3. 在C/C++选项增加个向量VECT_TAB_RAM
4. 修改base地址
5. 设置debug为在线调试方式,注意下面有修改的参数
6. 设置调试器,查看已经修改了
7. 添加RAM.ini初始化文件,文件内容如下:
/******************************************************************************/
/* RAM.INI: RAM Initialization File */
/******************************************************************************/
// <<< Use Configuration Wizard inContext Menu >>> //
/******************************************************************************/
/* This file is part of the uVision/ARMdevelopment tools. */
/* Copyright (c) 2005-2007 Keil Software.All rights reserved. */
/* This software may only be used under theterms of a valid, current, */
/* end user licence from KEIL for acompatible version of KEIL software */
/* development tools. Nothing else givesyou the right to use this software. */
/******************************************************************************/
FUNC void Setup (void) {
SP= _RDWORD(0x20000000); // SetupStack Pointer
PC= _RDWORD(0x20000004); // SetupProgram Counter
_WDWORD(0xE000ED08, 0x20000000); // Setup Vector Table Offset Register
}
LOAD RAM\Blinky.axf INCREMENTAL // Download
//LOAD Output\beep.axf INCREMENTAL
Setup(); // Setup forRunning
g, main