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.

Problem with compiling C5517

Other Parts Discussed in Thread: TMS320C5517, TMS320C5515

Hallo,

I develop a System migrating from c5515 to c5517 to obtain the function of mcbsp.

First for the c5515 development, I used CCS 5.2 and since there is no Option for Hardware c5517, I installed CCS 5.5.

The Setup of Hardware I set to C5517 with Compiler 4.4.1.

But after the compilation, I have warning

WARNING: version specified in option -v5517 is unknown (ignored) 

I tried to run the program, the program downloaded. The modules such as I2C, and SPI, mathematical functions are working properly. but when I want to debug and halt the program to see the result in McBSP and USB, the Debugger hang with notification such:

C55xx: Trouble Reading Memory Block at 0x4050 on Page 2 of Length 0x1: (Error -1143 @ 0x4050) Device core was hung. The debugger has forced the device to a ready state and recovered debug control, but your application's state is now corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.507.0)

I suggest this come from unmatched Setting for the Hardware. is someone here has his/her Suggestion?

Thank you so much in advanced.

Best regards,

Vava

failed for C5517 >> WARNING: version specified in option -v5517 is unknown (ignored)

  • Hi,

    Your request is taken up and team will wok on this to provide an update shortly.

    Thanks & regards,

    Sivaraj K

  • Hi,  

    “-v5517” is not added to the compiler version 4.4.1, so if enabled this would result in the warning message. Its suggested to use v5515 option while executing CSL example code on C5517 device.

    Only C5517 specific flag needs to be set is in csl_general.h. Refer to the C55XCSL-LOWPOWER-3.04.00_Installation_Guide.pdf  installed in the CSL path.

    Hope this information helps.

    Regards

     Vasanth

  • Hallo Vasanth,

    thank you so much for your clear answer. the next thing that i just found that we need to use XDS560 debugger instead of XDS100, is that right? because with XDS100 i can not access some memory on debug mode.


    I saw that #define C5517 on the CSL file, i  downloaded those files also yesterday, but in this case, i am not using the CSL library, because mode code basically adapted from c5515 that i built before.

    once again, thank you so much! :)

    best regards,

    vava

  • Hi,

      Are you using spectrum Digital C5517 EVM ? In my understanding you could use either of the debugger, it shouldn't create issues.

    Regards

     Vasanth

  • Hi Vasanth,

    no we are using our custom board.

    i read on the page of TMS320C5517 on TI page and on the Tools&Software (http://www.ti.com/product/TMS320C5517/toolssoftware), the list only contains XDS560 High Performance Debug Probe. if i refer to TMS320C5515 for example, it is written both XDS560 High Performance Debug Probe and XDS100 Low-cost Debug Probe.


    the debug is always failed when i pause the program and see the register of USB, McSPI, and McBSP. for other registers are fine.

    the error is always the same: C55xx: Trouble Reading Memory Block at 0x4050 on Page 2 of Length 0x1: (Error -1143 @ 0x4050) Device core was hung. The debugger has forced the device to a ready state and recovered debug control, but your application's state is now corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further. (Emulation package 5.1.507.0)

    then i always have to reset the board.

    best regards,

    vava

  • Hi Vava,

      Yes, pl use the recommended debugger as mentioned in the product folder - http://www.ti.com/product/TMS320C5517/toolssoftware. Since I work with C5517 EVM , I use either the onboard emulator or USB560 JTAG Emulator and both works fine for me.

    Regards

     Vasanth

  • Hi Vasanth,

    thank you so much for your detailed feedback. I never get bored using TI products, because the presence of this forum help me a lot to overcome problem really soon! :)

    all the best!

    best regards,

    vava