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.

TMS320F28069: Bootloader DFU on conltrolCARD F28069 : DFU ERR VERIFY FAIL (-14)

Part Number: TMS320F28069
Other Parts Discussed in Thread: UNIFLASH

Hello,

when uploading code bl_app_i.hex on µC i got this error :

I believe this error matches with the below, where the image read back from the device to the PC don't match.

How can I solve this issue ?

Thanks,

Alain.

  • Alain, 

    Do you get any address where the verification is failing?

    Best Regards

    Siddharth

  • Siddharth,

    I got no address . Is there a way to check at which address it fail ?

    Alain.

  • Alain, 

    Can you rerun with the verbose option (-v) on? 

    I think it should print the address.  You can connect via CCS and check the memory window to see the value programmed at the address.

    Best Regards

    Siddharth

  • Siddharth,

    the option (-v) verbose give no address. I just got the error  " DFU ERR VERIFY FAIL (-14).

    By looking into dfu code : ( dfuprog.cpp / stdafx.cpp / tidfuwrap.cpp ) the option verbose will never print the address...

    Another suggestion ?

    Thanks,

    Alain.

  • Siddhart,

    I modify the original code from the dfuprog.cpp with visual studio and add a comment to find the error.

    It seems that the error came from this part :

    ( Extract from dfuprog.cpp code)

    //Check to see if its hex
    if(pcFileBuf[0] == ':')
    {

    eRetcode = _TIDFUDownloadHex(hHandle, pcFileBuf, (unsigned long)iLen,
    true, NULL);

    if(eRetcode != DFU_OK)
    {
    QUIETPRINT("Error %s (%d) reported during file download hex\n",
    _TIDFUErrorStringGet(eRetcode), eRetcode);
    return(13);
    } else
    return(0);
    }

    I use bl_app_i.hex from C:ti ....

    Could you send me an another working hex file to test ?

    thanks

    Alain.

  • Hi siddharth,

    I export the flash memory with uniflash from address 0x3DA000 and compare it with the hex file created with code composer studio.

    The 2 files matchs, nothings are différents.

    So what send into µC flash and the hex file are the same.

    Maybe the dfuprog.exe have some mistake ?

    -------------------------------------------------------------------------------------------------

    I also pass the bool bverify to false state in :

    eRetcode = _TIDFUDownloadHex(hHandle, pcFileBuf, (unsigned long)iLen,
    true, NULL);

    No error appears.( program working)

    Should I remove the verification or you have any idea what to do next to solve the issue?

    Alain.

  • hello,

    some update was posted.

    Alain.

  • Alain,

    It's strange that the verification is failing even though the programmed data and exported data match. Not sure what could be causing this. 

    If the program is working for you,  you can bypass the verification step for now. 

    Best Regards

    Siddharth