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

loss board configuration

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



Joined: 06 Dec 2012
Posts: 1

View user's profile Send private message ICQ Number

loss board configuration
PostPosted: Thu Dec 06, 2012 9:17 am     Reply with quote

good evening;
please i have the following problem, i have estblished Ad-hoc network between the board and my laptop. and fixed my ip address board at 169.254.1.30, desactivate dhcp client and activate ip_gleaning. My laptop get automatically 169.254.39.61 address.
I can see packet send through the network using wireshark and all work fine: i can also ping the board... but at certain moment the board becomes unreacheable i don't no why ( it loss ip address, Mac and doesn't send or receive any packet). I think that it is after a tcp request from laptop to the board. please what cause this issu?



this is my following protocol configuration

#define STACK_USE_UART // Application demo using UART for IP address display and stack configuration
#define STACK_USE_IP_GLEANING
#define STACK_USE_HTTP2_SERVER // New HTTP server with POST, Cookies, Authentication, etc
#define STACK_USE_ICMP_SERVER // Ping query and response capability
//#define STACK_USE_DYNAMICDNS_CLIENT // Dynamic DNS client updater module
#define STACK_USE_ICMP_CLIENT // Ping transmission capability
#define STACK_USE_DNS // Domain Name Service Client for resolving hostname strings to IP addresses
//#define STACK_USE_DHCP_SERVER // Single host DHCP server
//#define STACK_USE_DNS_SERVER // Domain Name Service Server for redirection to the local device
//#define STACK_USE_UDP_PERFORMANCE_TEST // Module for testing UDP TX performance characteristics.
temtronic



Joined: 01 Jul 2010
Posts: 9254
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Thu Dec 06, 2012 9:27 am     Reply with quote

Sorry but you don't give us any PIC type information..like what 'the board' is, compiler version,PIC ,etc?

However, I read your post and you say that 'the board' has an address of 169.254.1.30, yet your PC software reads it as 169.254.39.61 ?

If this is true, I can understand why the PC doesn't read the PIC.
As to 'why' I can't explain without first seeing your code.

Maybe others have better understanding of your problem ?
asmallri



Joined: 12 Aug 2004
Posts: 1636
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: loss board configuration
PostPosted: Thu Dec 06, 2012 10:31 am     Reply with quote

djougue wrote:
My laptop get automatically 169.254.39.61 address


Please explain what you mean here. If you PC is configured to use DHCP and it is not able to get a DHCP lease it will use an address similar to the one you have listed however it will continue trying to acquire a DHCP address and during this process network connectivity will be lost.

What is the subnet mask that is being used?
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
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