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.

How to fast transfer data to dsp?

Other Parts Discussed in Thread: OMAP-L138

Hello.

I have a DSP C6713. I want  transfer data from PC to DSK. I tried to read the data from the PC via usb interface using fopen and fread functions. But in this case the data is transferred very very slowly.
How can I quickly transfer a lots of binary  data on board?

  • When you're using fread and fopen that's actually going through the JTAG emulation which then goes over the USB.  This is very slow is impossible to make it fast.  Can you just buy a different board?  Maybe OMAP-L138/C6748?

  • Brad Griffis said:

    When you're using fread and fopen that's actually going through the JTAG emulation which then goes over the USB.  This is very slow is impossible to make it fast.  Can you just buy a different board?  Maybe OMAP-L138/C6748?

     


    No. I can't buy another board.

    According to USB specification usb 1.0 allows up to 1.5 Mbit/s data rate. may i transfer data directly through usb, without jtag emulation?

  • Open up a 6713 data sheet.  The device does not have USB!!!  The USB you are using is a separate device on the EVM.  It has USB on one side and then hooks up to the JTAG of the 6713.  So the bottleneck here is primarily the JTAG.

    When you do the fread(), how much data are you reading?  If you read the data in larger chunks, e.g. pull into a temp buffer, then you might get a small performance lift.  It's going to be pretty slow no matter what you do though.

  • Brad Griffis said:

    Open up a 6713 data sheet.  The device does not have USB!!!  The USB you are using is a separate device on the EVM.  It has USB on one side and then hooks up to the JTAG of the 6713.  So the bottleneck here is primarily the JTAG.

    When you do the fread(), how much data are you reading?  If you read the data in larger chunks, e.g. pull into a temp buffer, then you might get a small performance lift.  It's going to be pretty slow no matter what you do though.

    Ok. I  figured it out.  I read in blocks of 128 bytes. If interfaces on c6713 are so slow how to use them in production? In real application i don't want transfer data through jtag.

  • lexa fedotov said:
    If interfaces on c6713 are so slow how to use them in production?

    The interface you're using (JTAG emulation) is a debug interface, i.e. it should not be used for production.

     

    lexa fedotov said:
    In real application i don't want transfer data through jtag.

    Is your end goal to have high speed communication with a PC?  The 6713 is an old device and really doesn't have interfaces that are well suited to PCs.  Newer devices like c6748 support ethernet, USB, SD/MMC, UART, etc. and are much more suitable for communication with a PC.  I'm not sure what to tell you -- there's really not a great solution that I know of for communicating between a 6713 and a PC. It simply wasn't designed for that purpose.