你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

STM32F107VC片内ram调试

[复制链接]
zhc 提问时间:2014-9-10 15:17 /
我照着网上的方法 想在内部日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中 但是一点运行 就跑到这个异常地址了 不知道为什么

 
收藏 评论0 发布时间:2014-9-10 15:17

举报

0个回答
关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版