Go to Post What, there is life outside of CD? - JB987 [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 21-01-2013, 17:58
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 51
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
Re: BDC-comm for 2CAN

We saw the grayed out UI problem when someone changed the 2CAN's IP. BDC-COMM started up, saw the 2CAN (the COM Port showed "2CAN" and didn't warn about not connecting), but the entire UI was disabled as if there wasn't a 2CAN.

Switching back to the default IP fixed the problem.

The root cause may have been a misconfigured laptop network though. I am currently running the 2CAN on IP 10.33.22.10 and my laptop talks to it fine. BDC-COMM works fine on my laptop.

Terrible bug report I'm sorry, but maybe it will point you towards something in network communications.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-03-2013, 01:12
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: BDC-comm for 2CAN

Not sure what happened, but now we cannot connect to our practice robot 2CAN with the new BDC-Comm.

The only port listed is 2CAN. We can connect over the web interface, and with the 2CAN firmware utility, but apparently not BDC-Comm, anymore.

We tried from several computers that previously worked, but now we get a message from BDC-Comm that it cannot find the selected COM port. That error appears on every laptop. We tried to change to a 192.168.0.xx subnet, and that didn't work either. Tried disabling the wireless networks, and verified for all of our laptops that the firewall was turned off. From earlier issues, we made sure the firmware utility was not running in the background, but in those cases, it would pretend to connect and it would not give the missing COM port message.

At least the web interface is still working great. I wish I knew what may have changed.

Has anyone seen this type of problem?

-- Len
Reply With Quote
  #3   Spotlight this post!  
Unread 24-03-2013, 15:28
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: BDC-comm for 2CAN

Can you confirm that FIRST 2.29 firmware is loaded on the 2CAN?
The 2.29 crf is in the zip with the bdc_comm.exe on our website.
2CAN Firmware version is at the bottom of the webpage and also can be retrieved thru the firmware utility.

That error can happen if BDC_Comm can't "find" the 2CAN or if it fails to load the DLLs it uses to find/connect to the 2CAN. Can you confirm that all the files in bdc-comm (CTR-2CAN supported) - 1_7_2013.zip are uncompressed together in the same directory. The directory should have a bdc_comm.exe, along with bdc-2can.dll and 2CAN_Comm.dll

Since you can get to the webdash I'm thinking something else is stopping bdc_comm.exe from finding the 2CAN. Usually it's a firewall issue. Are you connecting an Ethernet cable directly between the laptop and 2CAN or going over wireless? It shouldn't matter but a direct cable connection might help narrow down the issue.
Reply With Quote
  #4   Spotlight this post!  
Unread 25-03-2013, 01:32
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: BDC-comm for 2CAN

Yes. The firmware utility says that the connected 2CAN is on firmware 2.29.

The 2CAN is connected directly to the laptop with an ethernet patch cable.

I will have to check on the DLL's and the folder. Now that you mention it, the BDC-Comm.exe file, rather than a shortcut, may have been on the desktop of both of the laptops we tried. I know that when it worked earlier, we were just running the program out of the unzipped folder it came in. I think one of our aspiring programmers was "optimizing" or "organizing" the laptops...

-- Len
Reply With Quote
  #5   Spotlight this post!  
Unread 28-03-2013, 01:13
Levansic's Avatar
Levansic Levansic is offline
Registered User
AKA: Len Evansic
FRC #0585 (Cyber Penguins)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Tehachapi, CA
Posts: 185
Levansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud ofLevansic has much to be proud of
Re: BDC-comm for 2CAN

Thanks again Omar!

It was indeed the missing DLL files. Apparently the executables were copied to the desktop, and the remainder of the folder thrown away or stashed somewhere else.

-- Len
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 03:38.

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