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.

TMS320F2808-Q1: Load failed .out file

Part Number: TMS320F2808-Q1

Dear All,

I am getting the following error when I try to debug.

C28xx: GEL: File: C:\workspace_v7\bilia_can\Debug\bilia_can.out: Load failed.

I don't get this error for only 1 of my DSP boards but for the rest I get this error.

I do not understand where the problem lies. I checked the voltages on the JTAG connector pins and they seem to be fine.  I was going through other forums which suggest to do something with .gel file but adding .gel files to my project doesn't work. Building the project doesn't give me any errors.

Would appreciate if anyone could give me some suggestions.

Thanking you,

Malvika

  • Malvika,

    What version of CC are you using? Typically custom gel files need to be placed in the gel directory within the ccs installation: <ccs_install_directory>\ccs\ccs_base\emulation\gel . Do you have a custom gel for the device in use? I'm going to have an emulation expert further comment on the issue you are facing.

    Regards,

    Ozino

  • Malvika,

    Are you able to connect to the target successfully? I'm trying to see if your target configuration file is properly defined.

    Regards,

    Ozino

  • Dear Ozino,

    Thank you for your reply.

    I am using the CCS version 7.2.0.00013. I just checked the emulation folder (C:\ti\ccsv7\ccs_base\emulation\gel). Here I found a file named f2808.gel

    In the folder: C:\tidcs\c28\DSP280x\v170\DSP280x_headers\gel, I found the file DSP280x_Peripheral which is not there in the emulation folder. Should I copy this into the emulation/gel folder?

    I am able to connect to the target. Otherwise I have noticed that it says Check power to the device.

    I get the following messages in the console:

    C28xx: Flash Programmer: Device is locked or not connected. Operation cancelled.
    C28xx: File Loader: Memory write failed: Unknown error
    C28xx: GEL: File: C:\workspace_v7\bilia_can\Debug\bilia_can.out: Load failed.

    Best Regards,

    Malvika

  • I use TI XDS100v2 USB Debug Probe. 

    I verfied the connection:

    The JTAG DR Integrity scan-test has succeeded.

  • Hi Malvika,

    You mentioned that you are able to connect to the target. Please connect to CCS and check the values at flash address location. If values are 0xFFFF then it's good . Else the device may have been locked.

    Best Regards

    Siddharth

  • Hi Siddharth,

    please could you tell me where I should look for the flash address location?

    Best Regards,

    Malvika

  • Hi Malvika,

    The Flash memory starts at address 0x3E8000.

    Best Regards

    Siddharth

  • Do you mean these flash settings?

    BR,Malvika

  • Malvika,

    After connecting the device in CCS, you can open the Memory browser by clicking on View->Memory browser. You can then enter the address in the memory browser and check the values.

    Also, is this a custom board ? Also, did you trying loading any other binary file on these boards?

    Best Regards

    Siddharth

  • Hi Siddharth,

    The board which gives the error of load failed doesn't allow me to type any location in the memory browser.

    I used the other board which doesn't give this error and I see the following:

    It is a customized board.

    Before I had reinstalled CCS, the board was working fine but now.. after the reinstallation, just 1 of the 3 boards that I have do not show the load failed error.

    BR,Malvika

  • Hi Malvika,

    Looks like the device may have been locked on the other boards. Are you able to erase the Flash memory on these devices?

    ECSL (Emulation Code Security Logic) in F2808 will trip an emulator connection to prevent unauthorized users from stepping through secure code. Any code access to secure memory while the emulator is trying to connect (or) connected will trip the emulator connection. This error gets reported in CCS as shown below:-

    "C28xx: Flash Programmer: Device is locked or not connected. Operation cancelled."

    Do you know if there is any password in the code to secure access to the device?

    Best Regards

    Siddharth