Sending without host

Hi list,
I want to send data direct from the firmware without host. I looked at
the tx_standalone.c and there came up some questions:

  1. Do I have to encapsulate my data into a ethernet packet like it’s
    done there or can I simply put something into the buffer pool and set
    the first_line-argument of the dbsm to zero?

  2. What’s this last_line-Argument for?

  3. Does the buffer pool or the DSP delete the data out of the buffer
    after sending?

  4. If the ethernet header is necessary, which fpga component interprets
    it? The buffer pool or the DSP?

kind regards,
Matthias

On 07/18/2010 12:55 PM, Matthias Schäfer wrote:

Hi list,
I want to send data direct from the firmware without host. I looked at
the tx_standalone.c and there came up some questions:

If you are going to do something completely standalone, there is no need
to use ethernet. Just send packets to the DSP Core.

  1. Do I have to encapsulate my data into a ethernet packet like it’s
    done there or can I simply put something into the buffer pool and set
    the first_line-argument of the dbsm to zero?

  2. What’s this last_line-Argument for?

Last line tells the buffer pool how big the packets are.

  1. Does the buffer pool or the DSP delete the data out of the buffer
    after sending?

It is automatically cleared.

  1. If the ethernet header is necessary, which fpga component interprets
    it? The buffer pool or the DSP?

Ethernet is not necessary.

Matt