|
我照着网上的方法 想在内部日ram做程序调试 但是有问题 设置如下 1.设置片内RAM空间 2.Debug标签页设置 RAM.ini文件内容 /******************************************************************************/ /* RAM.INI: RAM Initialization File */ /******************************************************************************/ // > // /******************************************************************************/ /* This file is part of the uVision/ARM development tools. */ /* Copyright (c) 2005-2007 Keil Software. 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(0x20000000); // Setup Stack Pointer PC = _RDWORD(0x20000004); // Setup Program Counter _WDWORD(0xE000ED08, 0x20000000); // Setup Vector Table Offset Register } LOAD D:\Program_Files\Keil\Project\01.LED\obj\project.axf INCREMENTAL // Download Setup(); // Setup for Running g, main 从现象看 程序应该下载到了RAM中 但是一点运行 就跑到这个异常地址了 不知道为什么 |
微信公众号
手机版