Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Starterware/TMS320C6748: Failed to send small udp packet < 18bytes on TMS320C6748

$
0
0

Part Number:TMS320C6748

Tool/software: Starterware

Hello Champs,

Customer used starterware 1.2 for UDP, if he send <18 bytes data, the host could not receive the packet. He found the packet length is modified to 60 by ilne 348 in C6748_StarterWare_1_20_04_01\third_party\lwip-1.3.2\ports\am1808\netif\sitaraif.c 

/* adjust the packet length if less than minimum required */

if(p->tot_len < MIN_PKT_LEN) {
p->tot_len = MIN_PKT_LEN;
p->len = MIN_PKT_LEN;
}

If he manually set the MIN_PKT_LEN to 18, it still could not send the small packet.

How to send small packet <18 bytes?

Thanks.

Rgds
Shin


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>