View previous topic :: View next topic |
Author |
Message |
Makiwa
Joined: 21 Feb 2025 Posts: 1
|
UDP Packet Loss Issue in Embedded Project with CCS C and PIC |
Posted: Fri Feb 21, 2025 8:45 am |
|
|
Hello,
I am currently working on an embedded project using the CCS C compiler for a PICmicro microcontroller. I've configured the system to use communication over an Ethernet network, but I'm encountering an issue when managing UDP packets. When attempting to send a UDP packet to a remote server, it seems like there's packet loss or an unusually long response delay.
I've checked the network configuration and the TCP/IP stack, but I can't clearly pinpoint the cause of the problem. If anyone has faced a similar issue or has suggestions on optimizing UDP packet handling in this context, I would greatly appreciate your input!
Thank you in advance for your help! |
|
 |
Ttelmah
Joined: 11 Mar 2010 Posts: 19701
|
|
Posted: Fri Feb 21, 2025 10:43 am |
|
|
You need to give a lot more information. There are so many generations of
PIC, that knowing which chip is vital.
Then how is the Ethernet being handled?. Internal Ethernet peripheral,
or an external chip?. how is the Ethernet connected?. Is this a local
network, or going via the internet?. How long are the packets?. |
|
 |
|