Go to Post I shouldn't be doing a happy dance or anything, should I? - Qbranch [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 26-01-2011, 22:17
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
2CAN Plugin Problems

I am the lead programmer for our team, and can't seem to get the most recent 2CAN updates to work. I downloaded the newest firmware from the website (2.01, rev 64) and flashed the 2CAN. I then went to the cRIO Image Utility and loaded the 2CAN plugin in from there. After it said it was successful, I reset the whole robot and let it boot completely. This left the 2CAN with a flashing red light, with the web dashboard saying it had no communication to the cRIO.

To test things out, I then FTP'd the plugin that came with the firmware update into the controller and reset again. This time, the 2CAN worked perfectly, and controlled our motors with the code.

The only thing that seems to not work is when i select "Run As Startup" (LabView). When it prompts to reboot and I select "yes", it hangs on shutting down (determined by the serial output and HyperTerminal) with the 2CAN plugin causing it.

Now, when i plug it back into the Image Utility, it says it has an outdated plugin installed, to FTP back into the controller, remove the current plugin (the one I FTP'd in) and load the one from the imager. Yet when I do that, it doesn't see the cRIO again.

What should I do? Is there a newer firmware/plugin version? Am I just stuck with doing a hard reset every time I want to load new code into the non-volatile memory?
__________________
I'm right 90% of the time, so why worry about the other 3%?
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2011, 18:48
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: 2CAN Plugin Problems

Looks like when the 2CANPlugin gets signaled to close (as the cRIO shuts down), it doesn't shut down correctly and holds everything up.

I fixed the plugin and rev66 is now available to download....
http://www.crosstheroadelectronics.com/2CAN.htm

Bug tracker
http://firstforge.wpi.edu/sf/go/artf...2963447752 59

Let me know if you still have trouble.
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2011, 22:54
Cecil's Avatar
Cecil Cecil is offline
Registered User
AKA: Alex Hummel
FRC #2010 (Lightning Bots)
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Champion
Posts: 343
Cecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to beholdCecil is a splendid one to behold
Re: 2CAN Plugin Problems

Thank you very much! Everything works great now.
__________________
I'm right 90% of the time, so why worry about the other 3%?
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 02:46.

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