---
title: "使用RealViewMDK时常见的问题（2）"
author: "cjc"
date: "2009-06-04T16:26:00Z"
tags: []
slug: "realviewmdk-2"
draft: false
lastmod: "2009-06-04T16:26:00Z"
id: 402519
url: "https://cjc.iteye.com/blog/402519"
---

&lt;script&gt;function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}&lt;/script&gt;

**作者：**赵明，[华清远见嵌入式学院](http://www.embedu.org/)讲师。

在你使用RealViewMDK下载程序的时候有遇到过类似于如下的错误信息吗？

Load "D:\\\\david\\\\project\\\\farsight\\\\LED\_UART\\\\obj\\\\led\_test.AXF"

*No Algorithm found for: 30000000H - 300041EFH*

*Erase skipped!*

此时也会弹出“Error:Flash Download failed – ARM920T”的错误对话框。

![](http://www.embedu.org/Column/images/Column54-1.jpg)

从错误信息中，可以看到RV要找以0x30000000开头的地址空间的Flash下载算法。但这个空间不是Flash地址空间。而是内存空间。这说明，在这个项目中使用的Scatter文件是基于RAM内存空间的。现在打开工程的option对话框的Linker标签看看，果然是没错！

![](http://www.embedu.org/Column/images/Column54-2.jpg)

这个问题有两种解决方法：

1）你既然选择了基于内存的加载方式，应该在Utilities标签中，取消“Update Target before Debugging”，这个选项只能在Flash加载方式中使用。参考如下图。

2）采用基于Flash的Scatter加载文件。

![](http://www.embedu.org/Column/images/Column54-3.jpg)