Go to Post In order to change the world and make it a better place we must start with ourselves. - wendymom [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 Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 12-11-2011, 23:44
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,901
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: CAN tutorial

The solid light means the jag has a signal which infers communication. Seems like I was getting this problem earlier, but I didn't actually have communication. Turned out I had a pin wrong in my RS232 adapter cable.

If the led remains solid after you press the assign button, it is not getting the command for some reason.

Can you down load the Version 92 firmware? Is the temp updating? That would eliminate some possibilities.

Some computer comm questions. Look in system settings is your RS232 port really comm 1? What kind of RS232 port are you using? Do you have another program trying to use the com port. RSlinxs (Allen Bradley & the old Palm software was real bad about that. Do you have a IR port.
Reply With Quote
  #17   Spotlight this post!  
Unread 13-11-2011, 22:23
ratdude747's Avatar
ratdude747 ratdude747 is offline
Official Scorekeeper
AKA: Larry Bolan
no team
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Madison, IN
Posts: 1,063
ratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond repute
Re: CAN tutorial

I may also suggest reading my whitepaper on serial CAN... the later firmware sections in particular.

there is a link in my signature
__________________
Dean's List Semi-finalist 2010
1747 Harrison Boiler Robotics 2008-2010, 2783 Engineers of Tomorrow 2011, Event Volunteer 2012-current

DISCLAIMER: Any opinions/comments posted are solely my personal opinion and does not reflect the views/opinions of FIRST, IndianaFIRST, or any other organization.
Reply With Quote
  #18   Spotlight this post!  
Unread 15-11-2011, 15:45
Eric Sakshaug Eric Sakshaug is offline
Registered User
FRC #0340 (Greater Rochester Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2009
Location: Brockport, NY
Posts: 8
Eric Sakshaug is an unknown quantity at this point
Re: CAN tutorial

Quote:
Originally Posted by FrankJ View Post
The solid light means the jag has a signal which infers communication. Seems like I was getting this problem earlier, but I didn't actually have communication. Turned out I had a pin wrong in my RS232 adapter cable.

If the led remains solid after you press the assign button, it is not getting the command for some reason.

Can you down load the Version 92 firmware? Is the temp updating? That would eliminate some possibilities.

Some computer comm questions. Look in system settings is your RS232 port really comm 1? What kind of RS232 port are you using? Do you have another program trying to use the com port. RSlinxs (Allen Bradley & the old Palm software was real bad about that. Do you have a IR port.
Thank you for yet another speedy response!

I can re-check the pins on the RS232 to CAN cable (the next time I'll be able to do so is on Thursday), this is the only thing I can think of that would be the issue, because it's not even updating the temperature.

We have not updated the firmware from factory default, I was afraid that the issue was with sporadic communications, not no communications, and that might risk bricking the jag.

Under the system settings, it used to be that a printer port on the laptop (a very old laptop) was assigned to COM1, we disabled that in the system settings, and forced the com port on the jag to 1, under the software of the usb to serial interface that we use.

When we select "connect" in BDC comm, the status LED on the adapter blinks (it's active), and the software shows it as a "busy" state, all leading me to think that we do have comms, but it must be with wiring. I will also try with another black jag, and see if it's the jag that's the issue, I'll keep you posted
Reply With Quote
  #19   Spotlight this post!  
Unread 15-11-2011, 21:44
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,901
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: CAN tutorial

Sounds like what I had with a bad cable. The BCD-Comm program was showing connected but that just seems to mean it is talking the the serial port. I apparently had transmission to the jag because the LED on the jag was solid. I fixed the pins & suddenly everything works.
Reply With Quote
  #20   Spotlight this post!  
Unread 16-11-2011, 23:49
Eric Sakshaug Eric Sakshaug is offline
Registered User
FRC #0340 (Greater Rochester Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2009
Location: Brockport, NY
Posts: 8
Eric Sakshaug is an unknown quantity at this point
Lightbulb Re: CAN tutorial

I believe I have figured out the issue here, and it is totally 100% human error if so. I believe that the issue arose from the fact that I forgot that DB9 female is reverse on its pin numbering from DB9 male... This would explain why it was a solid yellow LED (jag was receiving comms from the computer, because pin 3 is the same on both male and female, and is Tx), but was not appearing on BDC-comm (Rx was not wired in at all, rather, it was the DTR pin) it might also explain why it could not change its number, it must require some sort of handshaking to do so. Again, this is theory, and will not be tested until Thursday, but I'm willing to make a solid bet that that's the issue here. I'm sorry that I sort of wasted your time.
Reply With Quote
  #21   Spotlight this post!  
Unread 17-11-2011, 09:48
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,901
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: CAN tutorial

Don't be sorry. Wasting time is one of my favorite activities.

BTW I did not see this as a time waster.
Reply With Quote
  #22   Spotlight this post!  
Unread 05-12-2011, 14:48
Eric Sakshaug Eric Sakshaug is offline
Registered User
FRC #0340 (Greater Rochester Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2009
Location: Brockport, NY
Posts: 8
Eric Sakshaug is an unknown quantity at this point
Re: CAN tutorial

Quote:
Originally Posted by Eric Sakshaug View Post
I believe I have figured out the issue here, and it is totally 100% human error if so. I believe that the issue arose from the fact that I forgot that DB9 female is reverse on its pin numbering from DB9 male... This would explain why it was a solid yellow LED (jag was receiving comms from the computer, because pin 3 is the same on both male and female, and is Tx), but was not appearing on BDC-comm (Rx was not wired in at all, rather, it was the DTR pin) it might also explain why it could not change its number, it must require some sort of handshaking to do so. Again, this is theory, and will not be tested until Thursday, but I'm willing to make a solid bet that that's the issue here. I'm sorry that I sort of wasted your time.
Yes, this was the issue, all of our Jaguars are now working just fine, and I'm excited for working with CAN this build season
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