Chinaunix首页 | 论坛 | 博客
  • 博客访问: 918383
  • 博文数量: 132
  • 博客积分: 9976
  • 博客等级: 中将
  • 技术积分: 1781
  • 用 户 组: 普通用户
  • 注册时间: 2007-08-30 20:40
文章分类

全部博文(132)

文章存档

2013年(1)

2011年(1)

2010年(15)

2009年(77)

2008年(36)

2007年(2)

我的朋友

分类: 嵌入式

2009-12-02 10:23:54


DVS357 error log

==============================================================================
1. data verification failed at address 0x80002AD4, Please verify target memory and memory map


-----------------------------------------------------
from:


Load文件出错,Data Verification failed at address...

仿真器调试时,Load Program出错,一共出现:
Data Verification failed at address 0x100
Data Verification failed at address 0x2b2
Data Verification failed at address 0X80
3个错误,让我检查内存映射表。

这是配置文件:
MEMORY {
  PAGE 0:
    RESEVE:  org  00h  len = 0x80
   PAGE 0:
    PROG1:  org = 0x0100  len = 0x1200
  PAGE 0:
    VECT:   org = 0x0080 len = 0x80

  PAGE 1:
    RESEVE1:  org  00h  len = 0x1300      
  PAGE 1:
    DARAM2:  org = 0x1300  len = 0x400
  PAGE 1:
    DARAM1:  org = 0x1700  len = 0x2900
}         
                        
SECTIONS{
    .text : >    PROG1  PAGE 0
    .cinit : >    PROG1  PAGE 0
    .switch: >    PROG1  PAGE 0
    .vectors:>    VECT  PAGE 0
   
    .const: >    DARAM1  PAGE 1
    .bss : >    DARAM1  PAGE 1
   
    .stack : >    DARAM2  PAGE 1
    .system: >    DARAM2  PAGE 1
    .data : >    DARAM2  PAGE 1   
    }

哪里出错了?DSP是C5402。


原来是不能写入ram,不是cmd的配置问题.
现在比较困惑的是,有时能写入ram,有时不能写入ram,是不是和仿真器,目标板接通电源的顺序有关?


先打开MAP 文件看一下,然后在对照MEMORY MAP.
-----------------------------------------------------
from:

Load时出错:Data verification failed...

在用仿真器 Load Program 时出现如下错误:
   Data verification failed at address 0x80000000.
   Please verify target memory and memory map.
用的是560仿真器, 板是DM357.   请问是什么原因, 谢谢各位的答复!


我也遇到过这样的问题,这种问题发生后,等待一会之后通常CCS会报错,说仿真器失去连接,这种问题其实还是仿真器和片子没有连接好的原因,并不是程序有 问题,你还是从板子上入手吧,看看复位,电压什么的对不对,另外还有PC端的驱动能够重装一下,个人经验,仅供参考,好运!

-----------------------------------------------------
from:

加载.out时Data verification failed at address

今天第一次接触DSP仿真器和CCS
我用CCS直接打开一个现成的工程,
C文件如下:
int x,y,z;
main()
{
          
        x=1; y=2;
        while ( 1 )
  {
        z=x+y;
       
  }
}
``````````````````````````````````````
cmd如下:
-l rts2800_ml.lib
MEMORY
{
   PAGE 0 : PROG(R)     : origin = 0x3F4000, length = 0x1000
   PAGE 0 : BOOT(R)     : origin = 0x3FF000, length = 0xFC0   
   PAGE 0 : RESET(R)    : origin = 0x3FFFC0, length = 0x2
   PAGE 0 : VECTORS(R)  : origin = 0x3FFFC2, length = 0x3E

   PAGE 1 : M0RAM(RW)   : origin = 0x000000, length = 0x400
   PAGE 1 : M1RAM(RW)   : origin = 0x000400, length = 0x400
   PAGE 1 : L0RAM(RW) : origin = 0x008000, length = 0x1000

}

SECTIONS
{
   /* 22-bit program sections */
   .reset   : > RESET,   PAGE = 0
    vectors : > VECTORS, PAGE = 0
   .pinit   : > PROG,    PAGE = 0
   .cinit   : > PROG,    PAGE = 0
   .text    : > PROG,    PAGE = 0

   /* 16-Bit data sections */
   .const   : > L0RAM, PAGE = 1
   .bss     : > L0RAM, PAGE = 1
   .stack   : > M1RAM, PAGE = 1
   .sysmem  : > M0RAM, PAGE = 1

   /* 32-bit data sections */
   .ebss    : > L0RAM, PAGE = 1
   .econst  : > L0RAM, PAGE = 1
   .esysmem : > L0RAM, PAGE = 1
}
根据指导书上,
(1)  单击菜单“Project”、“Rebuild All”。
(2)  执行 File->Load Program  ,把对应的.out文件打开。。。。
但是这时候有错误信息




这样应该是没有load成功吧?这是怎么回事,该怎么办呢?
我打开别的工程也是有这样的问题。
请大家指教,谢谢!


我现在也遇到这样的问题了,网上说某块芯片坏了,但是,我试试另外一个程序,能加载,所以不是片子的问题,我觉得应该是.cmd文件的配置问题,这是我比较几个工程得出的可能不是正确的结论。呵呵至于为什么会这样,我也不清楚了


重新启动Setup CCS,正确加载对应芯片的.GEL文件,再进入CCS重新复位CPU,试一下
-----------------------------------------------------
from:

Data verification failed - jjnews2000 - Jul 20 7:14:00 2004



Hello,

When i load my program (.out file) for the first time, it works
correctly. But if i make a restart or even a second load, the program
doesn't work at all. If i look at the program memory, i can see that
the same instruction is everywhere! That is to say that the program
hasn't been loaded or badly loaded. If i try a third time, then i've
got the following
error (which is a famous error i think!): "Data verification failed
at
address 0x7600. Please verify target memory and memory map".

So as one tells me i check the memory map. But i can't see what's
wrong. Maybe one of you will see where the issue comes from?
Here is my .cmd file :
MEMORY
{
PAGE 0: PRAM: origin = 7600h, length = 8000h /* Internal
Program RAM */
VECS: origin = 0080h, length = 0080h /* Internal Program
RAM */

PAGE 1: SCRATCH: origin = 0060h, length = 0020h /* Scratch Pad
Data RAM */
DMARAM: origin = 0C00h, length = 0300h /* DMA buffer */
DATA: origin = 1100h, length = 0080h /* Internal Data
RAM */
STACK: origin = 1180h, length = 0560h /* Stack Memory
Space */
INRAM: origin = 1900h, length = 0100h /* Internal Data
RAM */
HPRAM0: origin = 1A00h, length = 0002h /* HPI memory
accessible by Host and DSP */
HPRAM1: origin = 1A02h, length = 0280h /* HPI memory
accessible by Host and DSP */
HPRAM2: origin = 1C82h, length = 0280h /* HPI memory
accessible by Host and DSP */
EXRAM: origin = 1F10h, length = 4000h /* External Data
RAM */
}

/********************************************************************
*********/
/* DSP Memory
Allocation
*/
/********************************************************************
*********/

SECTIONS
{

.cinit > PRAM PAGE 0
.text > PRAM PAGE 0
.vects > VECS PAGE 0

init_var > PRAM PAGE 0
detect > PRAM PAGE 0
vrcprg > PRAM PAGE 0
matprg > PRAM PAGE 0

.stack > STACK PAGE 1
.trap > SCRATCH PAGE 1

.const > EXRAM PAGE 1
.data > EXRAM PAGE 1
.bss > EXRAM PAGE 1
.cio > EXRAM PAGE 1

.switch > EXRAM PAGE 1 }

Thank you.

bye



______________________________




(You need to be a member of c54x -- send a blank email to c54x-subscribe@yahoogroups.com )

Re: Data verification failed - Brian C. Lane - Jul 20 15:24:00 2004

jjnews2000 wrote:
> Hello,
>
> When i load my program (.out file) for the first time, it works
> correctly. But if i make a restart or even a second load, the program
> doesn't work at all. If i look at the program memory, i can see that
> the same instruction is everywhere! That is to say that the program
> hasn't been loaded or badly loaded. If i try a third time, then i've
> got the following
> error (which is a famous error i think!): "Data verification failed
> at
> address 0x7600. Please verify target memory and memory map".

Is PMST setup correctly? I usually create a .GEL file to setup PMST,
memory map and load the .out file all in one step.

Brian

-----------------------------------------------------
from: http://hi.baidu.com/cabell2008/blog/item/9383161b9b1d8cd2ac6e75eb.html

error: Data verification failed at address 0xxxxxx

前一段时间,Load Program时总是出错:

data verification failed at address 0x81021FF4,
Please verify target memory and memory map

有时多下载几次却又可以了,这个问题困扰了我好几天,后来才知道是DSP板子上的SDRAM坏了


从网上搜到的别人对这个错误的原因的解释:

1. The RAM chip is damaged. In this case, the board has to be replaced.
              

2. The access to the external memory is secure if CSM (code security module) is enabled. To unlock CSM if not password protected, go to the GEL menu in Code Composer Studio under:
     
"GEL->Code Security Module->Unlock_CSM"
              
    This will give you access to the external RAM, and allow CCS to load your code. As a workaround, use the Internal_memory_map option to load the executable code into the internal RAM.


2009-04-19 00:56 | 回复
老兄 我也出现了这个问题 你说的不完全对   我在FALASH里装载一下   可以了 



2009-04-22 21:42 | 回复
回复dflib:我知道,你的情况我也遇到了,我一开始的时候在FLASH里装载一下,就可以了,但我的后来就不行了,我的问题就是SDRAM坏了,后来找合众达的人换了一块板子,你的可能只是偶尔出错。或者是段设置溢出,指针越界之类的。


-----------------------------------------------------
from: http://old.blog.edu.cn/user2/ccbban/archives/2007/1907185.shtml

C32的Data verification failed at address... 问题的解决
[ 2007-11-5 16:22:00 | By: 星云 ]
 

最近用C32,程序下载不进去,显示:Data verification failed at address...

用了2天,查找了各种原因,不好使。最后发现/RDY(117引脚)悬空,接地,解决之。

 

查手册,/RDY(117引脚)只有一张图,说明几乎没有,那几句话还没看懂,只说和H1的低信号连接,不知道接地究竟对不对。写手册那个哥们真逗,什么功能你就直说啊,介绍时还用这种描述:“这引脚和X4系列ready timing一样,延长……”

似乎是为了低速译码设备准


==============================================================================



==============================================================================



==============================================================================



==============================================================================



==============================================================================



==============================================================================



==============================================================================



==============================================================================


阅读(2087) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~