Go to Post We can't be afraid to critique the existing system. If we don't, how will it ever get better? - Jaine Perotti [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-18-2012, 12:04 PM
mikeh2338 mikeh2338 is offline
Registered User
FRC #2338 (Gear It Forward)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Oswego, IL
Posts: 4
mikeh2338 is an unknown quantity at this point
2CAN won't play nice with DAP-1522

Struggling with a very strange issue: 2CAN is configured as the documentation describes (IP=10.xx.yy.10) and is working fine when directly connected to a laptop - we run the 2CAN utility and web interface which shows the Jag voltage and temperature.

Then we plugged the 2CAN and laptop into adjacent wired ports of the DAP-1522 and communication stops... almost. The web interface fails to see the 2CAN. We can't even ping the 2CAN, but the trusty 2CAN firmware utility is still able to detect and reset the device.

So why would our DLINK be blocking UDP and ICMP to the one IP address? We can ping the CRIO (10.xx.yy.2) and DLINK (10.xx.yy.1), but not the 2CAN (10.xx.yy.10). We checked the DAP-1522 configuration for filters and found nothing. We tried changing the netmask of all devices from a Class-A to a Class-C network (255.0.0.0 to 255.255.255.0) - the same behavior persists, including the part where the 2CAN works fine when directly connected to the laptop. I feel like we lost a whole night on an issue that should not exist.

I went back to the "Getting Started..." document on the First site this morning and read that we should be using IPs above 10.xx.yy.10. Does anyone know why we would have issues working with ANY non-broadcast IP? The 2CAN doc recommends 10.xx.yy.2 for CRIO, 10.xx.yy.6 for ClassMate, and 10.xx.yy.10 for 2CAN - this is how we were configured last night.

Any suggestions would be welcomed.

Thanks,
Mike
Reply With Quote
  #2   Spotlight this post!  
Unread 01-18-2012, 08:39 PM
codedr codedr is online now
Registered User
FRC #0537
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Wisconsin
Posts: 68
codedr will become famous soon enoughcodedr will become famous soon enough
Re: 2CAN won't play nice with DAP-1522

The one thing I could think of is that the cable you used to directly connect the
2CAN directly to the laptop is a cross-over cable. When you use the same cable
connect to the bridge, it doesn't work anymore.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-19-2012, 09:24 AM
mikeh2338 mikeh2338 is offline
Registered User
FRC #2338 (Gear It Forward)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Oswego, IL
Posts: 4
mikeh2338 is an unknown quantity at this point
Re: 2CAN won't play nice with DAP-1522

Thanks, Dr. C... As bizarre as this problem was on Tuesday, it was even more vexing that it was gone on Wednesday. It wasn't very satisfying and I hope it doesn't repeat when the chips are down, but at least we didn't waste any more time on this one.

We tried xover and strait up cat5 cables when the issue was occurring - neither made any difference. 2CAN seems to be able to handle either type automatically.

Thanks again,
Mentor Mike
First Team 2338
Reply With Quote
  #4   Spotlight this post!  
Unread 01-19-2012, 02:53 PM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: 2CAN won't play nice with DAP-1522

Quote:
Originally Posted by codedr View Post
The one thing I could think of is that the cable you used to directly connect the
2CAN directly to the laptop is a cross-over cable. When you use the same cable
connect to the bridge, it doesn't work anymore.
Both 2CAN ports support auto MDIX, crossover is not needed.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:49 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi