This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320f28377d: Data verification failed at address 0x00080000 Please verify target memory and memory map.

Part Number: TMS320F28377D
Other Parts Discussed in Thread: C2000WARE, CONTROLSUITE

Tool/software: Code Composer Studio

hi when i m trying to load the program in flash memory of tms28337 processor i am getting following problem

C28xx_CPU1: File Loader: Data verification failed at address 0x00080000 Please verify target memory and memory map.
C28xx_CPU1: GEL: File: C:\CCSV6 Programs\dqsvm28377\Debug\dqsvm28377.out: a data verification error occurred, file load failed.

i m  using ccs6.0 version of ccs . i read also other thread related to this issue .should i have to reinstall ccs6.02 version for fixing   flash related issue

im ussing memcopy function for load starting address

void MemCopy(Uint16 *SourceAddr, Uint16* SourceEndAddr, Uint16* DestAddr)
{
while(SourceAddr < SourceEndAddr)
{
*DestAddr++ = *SourceAddr++;
}
return;
}

i m able to run program with RAM. and in flash with tms28335 processor.

  • Navneet,

    1) Regarding the verification error: It might be that you are missing some updates. Why can't you move to CCS v7? It will have all the latest updates. If you can not move to CCSv7, make sure you check for updates in CCSv6 and install them. If that does not fix it, check below post and make sure you don't have issues that are mentioned in there: e2e.ti.com/.../1743025

    2) Regarding the Memcopy(): I don't think there is a relation between the load failure and usage of Memcopy(). However, note that you can now use memcpy() from RTS library. Checkout the TI examples in C2000Ware.

    Thanks and regards,
    Vamsi
  • hi vamsi,

    thanks for support . i have updated debug server flash .but problem remains same. but when i installed 6.2.0 iam able to load the program but program get stopped in run condition  and able to update GPIO . but program code is not executing i am attaching the scree shot of error.

    but i am able to load and run control suite C:\Users\nmangal\Desktop\controlSUITE\device_support\F2837xD\v160\F2837xD_examples_Dual\flash_programming

    sucessfully

    in the example code flash linking  cmd file is little bit different from other flash linking . i want to know this may be reason of my problem .

  • Navneet,

    Good that you are able to load the code to Flash now.  CCSv6 also would work but you might have missed other updates (like TI C2000 Device support).  

    Coming to your new questions: 

    1) Linker command file used for Flash programming example will slightly differ since we have to show how Flash API library can be included via that linker command file.  

    2) Address 0x3FE493 belongs to ITRAP ISR in BootROM.  Meaning CPU fetched an illegal opcode.  Step through the code and see which instruction is causing the ITRAP.  May be your CPU is fetching from an erased flash bank or an uninitialized RAM.  Make sure to copy all the required functions to RAM using memcpy() function as shown in TI examples.  If the issue still persists, open a new thread to match the title with the discussion - it will help others browsing the forum.

    Thanks and regards,
    Vamsi  

  • HI Vamshi,

    Thanks for your extended support . now i able to run from flash . basically i didnot  enable auto ecc generation so my  program get stuck in sysclk files .

    thanks once again for your support.

  • Navneet,

    Glad that your application is running successfully from Flash now.

    Looks like your single bit error ISR is mapped to Flash for load and RAM for execution.  But it is not copied to RAM and hence caused ITRAP upon a single bit error occurrence.  Good that you are programming ECC now.  However, you need to make sure that your ISR is copied to RAM if you want it to execute from RAM.  If not - an ITRAP will occur when a single bit error occurs.

    I am closing this thread.

    Thanks and regards,
    Vamsi