CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

UDP Packet Loss Issue in Embedded Project with CCS C and PIC

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Makiwa



Joined: 21 Feb 2025
Posts: 1

View user's profile Send private message

UDP Packet Loss Issue in Embedded Project with CCS C and PIC
PostPosted: Fri Feb 21, 2025 8:45 am     Reply with quote

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: 19700

View user's profile Send private message

PostPosted: Fri Feb 21, 2025 10:43 am     Reply with quote

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?.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group