首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

[求助]DSP装载出错

[求助]DSP装载出错

在DSP2407A,程序编译成功,但在装载程序以便于仿真时出现错误,错误提示为:

Data verification failed at address 0x0.

Please verify target memory and map.

以前有过这样的错位,将CPU复位一下后,可以解决,现在无论如何也不行了,是不是片内存储器坏了,望高手指教!

多谢版主,我的CMD文件如下:

MEMORY
{
        PAGE 0:  /* PROGRAM MEMORY */
        VECS: origin=0h, length=0040h  /* PROGRAM */  
        PM: origin=0060h, length=07FA0h /* 32K On-chip flash memory */
        SARAM_P: origin=08000h, length=0800h /* 2K SARAM in program space */
        EX1_PM: origin=8800h, length=7700h /* External RAM */
        B0_PM: origin=0FF00h, length=0100h /* On-chip DARAM if CNF=1, else */
   

        PAGE 1: /* DATA MEMORY */
        REGS: origin=0h, length=60h /* Memory mapped regs & reservd address */
        BLK_B2: origin=60h, length=20h /* Block B2 */
        BLK_B0: origin=200h, length=100h /* Block B0, On-chip DARAM if CNF=0 */
        BLK_B1: origin=300h , length=100h /* Block B1 */
        SARAM_D: origin=0800H , length=0800H /* 2K SARAM in data space */
        PERIPH: origin=7000h , length=1000h /* Peripheral register space */
        EX2_DM: origin=8000h , length=8000h /* External data RAM */
      

        AGE 2: /* I/O MEMORY */
        IO_EX: origin=0000h , length=0FFF0h /* External I/O mapped peripherals */
        IO_IN: origin=0FFF0h, length=0Fh /* On-chip I/O mapped peripherals */
}
SECTIONS
{
     .vectors: {} > VECS PAGE 0          /* INTERRUPT VECTOR TABLE */
     .text: {} > PM PAGE 0               /* CODE */
     .bss: {} > BLK_B1 PAGE 1           
     .data: {} > PM PAGE 0            /* INITIALIZATION DATA TABLES */
     .stack: {} > BLK_B0 PAGE 1 
     .context: {} > BLK_B2 PAGE 1
}

另外有时候虽然能装载成功,但在烧写时也常出现错误,错误提示为:

Error:Read status value 0x0001 from symbol PRG_status

Flash algorithm failed during clear operation

返回列表