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.

CCS5.2.1.00018 crashes when using C674x cycle accurate simulator

Hi

I'm having an executable for the C674x, which I'm trying to load into the C674x simulator. Unfortunately, CCS completely crashes when I do that.

I've attached the executable.

Why is CCS crashing ?

BR

Niklas

dsp_SIMC67_d.zip
  • Hi Niklas,

    what would help us is if you could send any error logs or dump files generated.  Do you see this with all projects/workspaces?  How was the file you are trying to load generated?  What settings are you using?  What platform do you have selected?

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS

    Any furhter details would be helpful.

    Best Regards,
    Lisa

  • - I'm using "C674x CPU cycle accurate simulator, little endian"

    - Binary is in ELF object format, built from our own make file project.

    - I have attached the platform configuration (board SIMC67)

    About the "settings". I'm a little bit unsure what you are looking for. Could you please explain.

    Also, if you try to load the image into CCS, you will also discover that CCS crashes immediately. CCS does an illegal access outside it's virtual address space.

    BR

    Niklas

    BoardConfigurations.zip
  • Hi Niklas,

    did you rename a .out to a .d?  I was trying to reproduce the issue here but CCS obviously does not use .d.  so I can not load that in.  Did you do the build with CCS?

    Best Regards,
    LIsa

  • Hi Lisa

    CCS can load it as it is. You just select,"all files" as filter when you load it. Or, you can rename it to "dsp_SIMC67_d.out" as well

    BR

    Niklas

  • HI Niklas,

    ok, I see the same behaviour but need to know

    - does this load fine on hardware?

    - how was this generated?  (ccs?  other tool?  etc etc)

    Best Regards,
    Lisa

  • Hi

    The platform is "SIMC67", see the boardconfiguration folder I uploaded.

    - It does not load onto target, because the SIMC67 platform is different than our real target (which is the TI814X in the uploaded boardconfiguration). Our SIMC67 platform is only intended for doing modultests on windows.

    - It was built with CGTOOLs 7.3.5

    BR

    Niklas

  • Hi Niklas,

    so this was generated with CCS?  Can you confirm what target it was built for?  Ie was it built for the same as the simulator we tried?

    Best Regards,
    Lisa

  • Hi Lisa

    It was built with cgtools 7.3.5 (we have a makefile project, not a CCS project), for the xdc target "ti.targets.elf.c674". So, yes, it is a ELF binary, built for C674 in little endian mode.

    Actually, if you select the the C674 simulator in big endian mode, CCS will refuse to load it due to that CCS detects that the binary is aimed for a little endian target.

    BR

    Niklas

  • Hi Niklas,

    I have filed a bug for you and passed this to the simulation team.  Unfortunately I am not sure if there is any work around I can offer at the moment.

    The bug ID is SDSCM00045262 and you can actually also track it here

    https://cqweb.ext.ti.com/cqweb/main?command=GenerateMainFrame&service=CQ&schema=SDO-Web&contextid=SDOWP&username=readonly&password=readonly

    Hope it helps at least to know that there does seem to be a simulator issue here.

    Best Regards,
    Lisa