| Author |
Message |
usenetSeu
Guest
|
Posted:
Sun Dec 04, 2005 1:16 am Post subject:
Need general guidance/advice with a "Data verification faile |
|
|
Hi all,
I need help tracking the source of the following problem. I am new to
DSP programming, so any small suggestion or question would be a
tremendous help.
Every time I load a program onto my eZdsp TMS320LF2407a I receive the
following error message,
"Data verification failed at address 0x1000
Please verify target memory and memory map",
repeated for the addresses 13E8 and 19C4. I am using Code Composer
v4.12. Running the program does not work; software breakpoints are
automatically disabled and variables in the watch window do not
refresh.
I tried the same .out file in Code Composer Studio 3.1.0, with the
recommended Spectrum Digital drivers and C2400 libraries (at
http://emulators.spectrumdigital.com/c2000/), only to receive the same
error message for the same memory addresses.
I also tried a custom linker file, using suggestions from various posts
and from various TI application notes for this board, in order to load
the program into legal and recognized regions of memory. Sometimes I
successfully loaded the program into memory, but simple tests like
checking the value of one of the timers in the Watch Window, would fail
when running the program.
Running code taken straight from the TI website will give me errors at
different addresses. (BTW, I tried looking for solutions at
http://focus.ti.com/docs/prod/folders/print/tms320lf2407a.html.)
Since this seems like it could be a flash-related issue, I made sure
that there was no power to JP3 (jumper in position 1-2) and made sure
that the emulator was working using Spectrum Digital's SDConfig
utility.
No amount of emulator or hard resets will remove this problem.
I have also heard that there is a code security feature in the 24xxa
boards, but I do not know if this a relevant issue. From what I've
read, I believe the password is stored on addresses 40-44, but do not
know how to change the values at these locations.
I am at a loss as to what else I can do. Below is some detailed
information about the environment I'm working on, and I can easily
attach the GEL file and other output someone asks.
I am working on a time-critical project, and so will check this post
several times a day. Please help!
Thanks in advance,
Eric Wendel
The program I am trying to load is written in C and makes use of
several functions and header files taken from TI application notes for
this board.
| Code: |
#include "f2407_c.h"
#include "funlib.h"
#include <math.h>
static double clocktime0;
void main(void) {
initGen();
initClock(3, 0);
updateClock();
while(1) {
updateClock();
clocktime0 = clocktime;
}
}
|
Integrated Development Environment 4.10.57.57 Texas Instruments
Board Revision 00.00.81
Target Silicon Revision 00.00.205
Device Driver Revision 2.15 Spectrum Digital Incorporated
Command Window 1.21 Texas Instruments |
|
| Back to top |
|
 |
Korenje
Guest
|
Posted:
Sun Dec 04, 2005 3:22 pm Post subject:
Re: Need general guidance/advice with a "Data verification f |
|
|
Hi
I don't know wheather you program into flash or into ram, but anyway I
would first check the following:
If you are running from ram I would fill all ram locations with 0x0000,
check the problematic locations, fill all ram with 0xFFFF and check the
problematic locations. If the ram is set as it is supposed to be, the
you probably have problems with CC. if the ram has indeed failed try
changing the location of your program in .cmd file
if you are running from flash do the same but instead fill ram with
0x0000 do flash clear and for fill with 0xFFFF do flash erase
Hope this helps
Regards,
Mitja |
|
| Back to top |
|
 |
Noway2
Guest
|
Posted:
Mon Dec 05, 2005 5:16 pm Post subject:
Re: Need general guidance/advice with a "Data verification f |
|
|
Question: Are you having this problem with a RAM loaded Ti example
project or only your own project?
It sounds like something has been mapped into flash memory, so unles
this is your intent, make sure this is not the case first. You will
probably need to go over your linker command files very carefully and
double check any memory definition PRAGMA statements you may have. I
am not familiar with the memory map of the F2407, so I can't comment on
the memory locations that are generating the error.
If you are attempting to put something into flash memory, the "load
program" option will not work. Instead you need to us a flash
programming utility.
Other than the instance I mentioned above, I have only seen this occur
when a program has crashed and I am attempting to reload a (usually)
different project. In these cases, I
"disconnect" from the target and then reconnect which clears up the
problem.
I also would not suspect the code security module (the passwords)
unless you have written them to something other than FF's. If you did,
hopefully it wasn't zeros as this could lock the processor indefinately. |
|
| Back to top |
|
 |
usenetSeu
Guest
|
Posted:
Tue Dec 06, 2005 9:15 am Post subject:
Re: Need general guidance/advice with a "Data verification f |
|
|
I apologize for being vague about where I was loading my program. I am
definitely loading into Ram, and the voltage to flash is disabled by
setting the jumper to positions 1-2 on JP3, if you are familiar with
this particular board.
Mitja:
I will try your suggestion as soon as I can, thank you! Just a side
question: could you suggest an efficient way of setting all of the
memory locations to those values?
Noway2:
I am having this problem with TI projects and with my own projects, and
I am loading into RAM. I thought as well that something may have been
mapped to flash memory, but I thought that as long as I disable the Vcc
to flash by setting the jumpers correctly (as I mentioned above) then I
would be able to blank the flash memory, thereby undoing any flash
programming ... is this a correct assumption?
I will make sure that the password locations are set to FFFFFF, and see
if that helps. Thanks,
Eric W |
|
| Back to top |
|
 |
Korenje
Guest
|
Posted:
Tue Dec 06, 2005 9:15 am Post subject:
Re: Need general guidance/advice with a "Data verification f |
|
|
Hi Eric
| Quote: | could you suggest an efficient way of setting all of the
memory locations to those values?
|
CC/edit/memory/fill
As I understand you set your ezDSP so that DSP is in MP mode. check for
ezDSP memory map what kind of memory is at those locations. If flash,
relocate code to raom (.cmd file)
Regards, Mitja |
|
| Back to top |
|
 |
Noway2
Guest
|
Posted:
Tue Dec 06, 2005 5:15 pm Post subject:
Re: Need general guidance/advice with a "Data verification f |
|
|
Based on your response, my first thought was that the F2407 processor
was like the F2812 that I am familiar with, which must have the FLASH
core voltage connected at all times. While I am not familiair with
your ezDSP kit or that processor, I did take a look at the F2407
datasheet. It appears that on that part, as long as you have the pin
pulled to ground (or +5V) that the part will function - it just can't
be floating. With this pin pulled to ground, you will not be able to
program the flash, but it won't necessarilly be "erased" or blank and
may still even be accessible for read access depending on the device
architecture
According to the datasheet the addresses that you mentioned in your
initial post are part of FLASH Sector1. I would say that you need a
VERY carefull examination of the memory map, specifically read through
the .MAP file (generate one if not done so) and see what is being
written to that memory location. Knowing what is trying to go there
should help you to correct the problem. |
|
| Back to top |
|
 |
|
|
|
|