• Resolved

CCS/TMS320F28377D: CCS Flash error with data verification failed.

Intellectual 420 points

Replies: 17

Views: 402

Part Number: TMS320F28377D

Tool/software: Code Composer Studio

Hi All,

I am using a Black hawk 560v2 USB terrace debug probe to program TMS320F28377D micro. I have flashed many times before and it ran successfully.

But after flashing one of the projects today morning it is suddenly giving out the following error and unable to flash anything.

I even tried using Uniflash but was not successful.

C28xx_CPU1: Error initializing flash programming: Interface returned from dll, but flash is not available on this device.
C28xx_CPU1: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.
C28xx_CPU1: File Loader: Verification failed: Values at address 0x80002@Program do not match Please verify target memory and memory map.
C28xx_CPU1: GEL: File: C:\Users\.....\Merged_Mana_Bala_ControlBoard_PS_CPU1.out: a data verification error occurred, file load failed.
C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU2: GEL Output:
Memory Map Initialization Complete
C28xx_CPU2: Error initializing flash programming: Interface returned from dll, but flash is not available on this device.

Any help would be appreciated.

Thanks,

Bala.

  • In reply to Bala Grandhi:

    Bala,

    I asked our UniFlash Host SW expert to take a look at this.
    Please expect a reply in a day or two.

    Thanks and regards,
    Vamsi
  • In reply to Vamsi Gudivada:

    Thanks for the update Vamsi.
  • In reply to Bala Grandhi:

    Bala,

    Could you check the values at addresses 0x700B0 and 0x700B1? You can connect the device to debugger and check the values at these addresses in memory window. Please let me know the values for both CPU1 and CPU2.

    Thanks and regards,
    Vamsi
  • In reply to Vamsi Gudivada:

    Hi Vamsi,

    The values are 0x5303 and 0x7715 at the above locations you have mentioned. They are the same for both the CPU's.

    Thanks,
    Bala.
  • In reply to Bala Grandhi:

    Bala,

    Thank you for confirming the values. The data you read from debugger memory window is correct, whereas the log that you sent shows different values for these locations. We use these locations to make sure that the device that you selected is indeed the device that you are using.

    I need to further look in to this on why this is happening. You said you were able to erase/program fine earlier on the same device, but not now. I wonder if you changed anything - power supply for the board or the host PC etc.
    May be you updated your emulation drivers?
    Looking for some clue. Please investigate a little and provide some clues.

    Can you share your linker cmd file and map file (please remove any proprietary info)?

    Are you able to do Flash operations using CCS on this device (if not UniFlash)?

    What emulator are using with UniFlashV5.0 and 3.x when you see this? Is it Black hawk 560v2 USB terrace debug probe only?
    Can you try with a different emulator? Long back, I remember I faced some issues with 560 (which I did not with other ones).
    See if there is an update available for the emulator driver and install if there is one - see if that helps.

    Thanks and regards,
    Vamsi
  • In reply to Vamsi Gudivada:

    Vamsi,

    Thanks for the detailed response.

    Earlier today, I was not able to erase/flash using both Uniflash and CCS. I was using the Uniflash 3.4 version and Black hawk 560v2 USB terrace debug probe only all the time. I didn't change the power supply/linker command file from the time I was flashing/erasing successfully to the time when I am failing to flash/erase.

    But after reading your recent reply, I have reinstalled the CCS, Uniflash with the updated BlackHawk emulation drivers. After doing this I am able to flash and erase the micro again without any problems.
    All this time I have been using the same power supply, linker command file, same Black hawk 560v2 USB terrace debug probe.

    Thank you so much for your help and time.

    Regards,
    Bala.
  • In reply to Bala Grandhi:

    Bala,

    Glad that I could help. Updating the emulator drivers is the key here then.
    I am closing the post.

    Thanks and regards,
    Vamsi