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.

Data verification failed at address 0x9000 in TMS320F28335

Other Parts Discussed in Thread: TMS320F28335, TMS320F28027

Hi

I am working on TMS320F28335.

I keep getting the following error: 

"Data verification failed at address 0x9000.

please verify target memory and memory map"

but

Build Complete,
  0 Errors, 0 Warnings, 0 Remarks.

i tried with option - "large memory model" in build options.

I also tried with "memory map" in tool bar menu, but it does not set itself at one particular slot memory.


please reply on this issue.

thanks for your future reply.

 

Regards,

V.Sandeep

Research Scholar

IIT Delhi

INDIA.

  • I presume you are getting this error when you are trying to load the program onto the target device, correct?  You cited build messaged indicating no errors.  Those are distinctly different things.  Building the application code and then downloading it to the target.

    The error you are gettting is generated when Code Composer Studio downloads the code to the target and then attempts to perform a verification; did the contents attempted to be written actually get read back.  This error message indicates that CCS did not read back what it wrote to memory.

    The datasheet indicates the SRAM at address 0x9000 is protected by the Code Security Module (CSM).  This might be a reason why you are getting the data verification issue if the secure blocks have not been unlocked by writing the correct 128-bit key value which matches the value stored in the password locations in flash.  Details on how to unlock the CSM are provided in the TMS320x2833x, 2823x System Control and Interrupts Reference Guide (Rev. D) in Section 4.3.2.

  • Hi

    Thank you very much for your reply and detailed explanation.

     

    Yes, as you told that my device is in lock mode.

    SECURE bit =1

    and all PWL 0-7 =0x0000.

    so, as per the password match flow mentioned in the document, i have to write the correct passwords to KEY registers 0x00 0AE0- 0x00 0AE7 to unlock my device.

    but how can i get those passwords?

    the device is new one and no body works and locks.

     

    please reply on this issue.

    Thanks,

  • SANDEEP VUDDANTI said:

    so, as per the password match flow mentioned in the document, i have to write the correct passwords to KEY registers 0x00 0AE0- 0x00 0AE7 to unlock my device.

    but how can i get those passwords?

    the device is new one and no body works and locks.

    Sandeep,

    For a new (or erased) device the password will be all 0xFFFF. 

    You may also find this wiki page helpful: http://processors.wiki.ti.com/index.php/Code_Security_Module_FAQ_for_C2000#Reasons_CSM_Appears_Secure

    Regards,

    -Lori

  • I have written a short program to unlock the DSP chip TMS320F28027

    volatile int *CSM=(volatile int *)0x000AE0;
    volatile int *PWL=(volatile int *)0x003F7FF8;
    volatile int tmp;
    int I;
    main()
    {for(I=0;I<8;I++) tmp=*PWL++;
    asm("EALLOW");
    *CSM++=0xFFFF;
    *CSM++=0xFFFF;
    *CSM++=0xFFFF;
    *CSM++=0xFFFF;
    *CSM++=0xFFFF;
    *CSM++=0xFFFF;
    *CSM++=0xFFFF;
    *CSM++=0xFFFF;
    asm("EDIS");
    }

    but after I rebuild it  ,it also can not  write to flash. So,How can I unlock the TMS320F28027, can you tell me the specify procedures?

    Thank you!

  • Hi, BrandonAzbell

    I have read some guides and I think what you have said is reasonable. However, another doubt I have is: since the problem is caused by the CSM module, the first register influenced should be 0x8000, why it indicate the 0x9000 is influenced?

    I have a similar problem with the host: "data verification failed at address 0x8000".....I failed to resolve it. My device is a new one, but I cannot unlock the device after I did a dummy read from password location and write 0xFFFF to key register--all these are done in gel file. I use the initial gel file from Ti and I have check it.

    Another problem confusing me is: when loading program, the problem has changed to "data verification at address 0x8023"......I'm sure I did no change to the device.

    Could you help me with it?

    Thank you~

    Wenlong Lee