I think that happens when you try to make CCS load things into external memory while you have the Flash memory enabled instead of the SRAM. For external memory, CCS can only write to SRAM not Flash. But I don't even know if you are using a DSK or what so this may not apply. If it's a 5402 DSK, check some of those CPLD control registers and make sure the correct memory settings are there. Also check your wait states. When you start up CCS it makes sure SRAM is enabled so your first load will work. If your program then enables Flash or alters something else and never returns it to its previous state, any future CCS loads may fail. -micah --- wrote: > There are 2 messages in this issue. > > Topics in this digest: > > 1. Data verification failed > From: "jjnews2000" > <> > 2. Re: Data verification failed > From: "Brian C. Lane" > < > ________________________________________________________________________ > ________________________________________________________________________ > > Message: 1 > Date: Tue, 20 Jul 2004 07:14:05 -0000 > From: "jjnews2000" > <> > Subject: Data verification failed > > 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 ________________________________________________________________________ > ________________________________________________________________________ > > Message: 2 > Date: Tue, 20 Jul 2004 08:24:09 -0700 > From: "Brian C. Lane" <> > Subject: Re: Data verification failed > > 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 > > -- > ----------------- > Brian C. Lane (W7BCL) > Programmer > www.shinemicro.com RF, DSP & Microcontroller > Design > > ________________________________________________________________________ > ________________________________________________________________________ > > > _____________________________________ > Note: If you do a simple "reply" with your email > client, only the author of this message will receive > your answer. You need to do a "reply all" if you > want your answer to be distributed to the entire > group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to > To Post: Send an email to > > To Leave: Send an email to > Archives: http://www.yahoogroups.com/group/c54x > > Other Groups: http://www.dsprelated.com > Yahoo! Groups Links > __________________________________ |
Re: Digest Number 788
Started by ●July 22, 2004