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.

CCSv4 Debug (DM642): Invalid File Format

Other Parts Discussed in Thread: TMS320DM642, TMS320DM648

Hello,

I'm trying to port an existing small example application, working for CCS3.3, to CCSv4. In the meantime it compiles and links to an OUT-File. My next step is to load the application on a device in a custom board (our own development), based on a DM642.

At first, I am wondering: is there no device definition file for the DM642? Is this a bug or is there an other file I can use for a custom DM642 board?

I tried to make my own definition for the DM642 device with a copy from C6415. Alternatively I used the definition for the EVMDM642, with may own GEL file instead of the default GEL file (for SDRAM cionfiguration). With both configuration I get the same error on starting debugging: "Invalid file format"

What does this error mean? It is possible to continue and to reset the target, the shown memory content is correct, so it seems to be a valid connection. But loading the OUT-File results in the same error: "Invalid file format".

Any idea?

Thanks,
Kind regards,
Andi

  • Check your build options to see what type of target you are building. DM642 is a C64x target, so if you were building for something such as a C67x you would get the Invalid file format error (I think).

  • Tim's explanation makes sense.  Attached is a zip file containing a device file and gel file for DM642.  This device file should also populate the project wizard so that you see TMS320DM642 as an option in the wizard and will set the silicon revision option automatically to avoid the error you are seeing.  The GEL file is just a stripped down version of the EVM file from spectrum.  Basically I just removed the external memory from the memory map.

    The device file goes in \ccsv4\common\targetdb\devices

    The gel file goes in \ccsv4\emulation\gel

    Let me know how they work.  I don't have a 642 board to try them on.

    Regards,

    John

     

    DM642.zip
  • Thank you very much, I had a mistake: my project is for a DM648 board, (C64+) and not DM642. Now I use the TMS320DM648 device which is in the list.

    I will test your DM642 files whemn I'm ready with a DM642 project, thanks. Do you know, is the missing of auch an device file a bug and will it be fixed in a future update?

    Kind regards,
    Andi

  • Andi,

    Our story with device files is not all that consistent.  Some teams have provided files for all their devices, others have not.  In tools apps we have been creating a bunch of them lately to try to fill some of the gaps.

    Regards,

    John