STM32 学习十一 RAM下载与调试
2015-01-17 13:21
218 查看
把代码放到RAM,不使用片内FLASH。RAM分两段分别放程序代码、数据区。
修改为:
RAM2.ini
/******************************************************************************/ /* RAM.INI: RAM Initialization File */ /******************************************************************************/ // <<< Use Configuration Wizard in Context Menu >>> // /******************************************************************************/ /* 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 ramout\164.axf INCREMENTAL // Download Setup(); // Setup for Running g, main
点Load下载,调试成功。
相关文章推荐
- STM32 学习十 Flash下载与调试
- 【STM32 .Net MF开发板学习-26】借道调试口与开发板通信 推荐
- STM32(主控板)程序能调试不能下载原因
- Windows环境下搭建基于Eclipse的STM32 GCC 开发环境(四) RAM调试 和 FLASH调试设置
- STM32 学习二 程序编写及GPIO调试
- ulink下在ram中调试stm32的方法
- RT-Thread 学习笔记(五)---编辑、下载、调试程序
- IAR 环境下基于JLINK在RAM中调试STM32
- ARM学习《十》—关于STM32的RTC调试
- cortex_m3_stm32嵌入式学习笔记(十三):USMART调试组件移植(调试神器)
- 学习STM32(2)-IO-AFIO(复用功能IO和调试配置)
- 学习STM32(2)-IO-AFIO(复用功能IO和调试配置)
- STC51和STM32学习软件及资料整理下载
- stm32程序下载调试之swd
- Stm32 SWD 下载 调试配置
- 【STM32 .Net MF开发板学习-26】借道调试口与开发板通信
- stm32学习之NOR flash和NAND flash区别,RAM 和ROM区别
- 在RAM中调试STM32
- STM32F103学习笔记 (十一) USMART调试组件