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.

USB Suspend failed

Other Parts Discussed in Thread: TMS320C5515

Hi, I use CCS 6.0 and TMS320C5515 eZDSP USB Stick Development Tool. I try an example
csl_usb_cdc_example from CSL library. It works, I can receive and transmit data but
suspending is not working - I get message "USB Suspend failed". Which is quite interesting,
the message "CSL CDC Module Open Successful" is printed twice.

My problem is that if I start debugging and then stop debugging and then launch the program
again, I get the following error:
"Error connecting to the target:
(Error -1138 @ 0x5F)
Device refused to allow debug mode. Power-cycle the board. If error persists, confirm
configuration and/or try more reliable JTAG settings (e.g. lower TCLK).
(Emulation package 5.1.507.0)".
After re-plugging both USB cables (one for debugging and one for communication), everything is OK, but it's quite inconvenient to re-plug device before each program launch. Any advices?

Best regards,

Natalia.

  • Hi,

    Team is working on this and will respond to this query as soon as possible.

    Thanks & regards,

    Sivaraj K

  • Hi,

    I did try csl_usb_cdc_example from CSL library (3.04) along with CCS5.5 version (Not CCS6.0) on TMS3205515 eZDSP USB STK , but couldn't re-create the issue that you are observing.

    I was able to place USB in USB suspend mode multiple times, bring it out of suspend mode and do certain transfers with out having to re-plug the device. I also tried other USB example (CSL_USB_DmaExample_Out) and this worked sucessfully too.

     Could you try running other USB examples and observe the behaviour ?

    Regards

     Vasanth

     

  • Hi,

    I've just tried CSL_USB_PollExample_Out and CSL_USB_DmaExample_Out and they both work fine, I can reload program without re-plugging. But the problem with CSL_USB_CdcExample_Out still remains.

    Regards,

    Natalia.

  • Hi,

    For the example "CSL_USB_CdcExample_Out" - Can you only try to put device in USB suspend and bring it out of suspend mode, Do not perform any other transfers except this and let us know your observations ? 

    Regards

     Vasanth