Go to Post I guess we'll just have to resort back to our original plan of telepathy. - seg9585 [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: 14 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 29-01-2011, 18:16
el-zoroo el-zoroo is offline
Chief Operating Officer
AKA: Zuhair
FRC #2374 (Crusaderbots)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Beaverton, OR
Posts: 13
el-zoroo is an unknown quantity at this point
Unable to Assign ID to Jaguar with BD-COMM

Hi,
We are trying to assign IDs to a Black Jaguar from BD-COMM. We made a CAN to serial adapter. We also terminated the other port with a CAN terminator.



The steps we are taking are:

1) Connect Black Jaguar serial port to computer with a 6P6C to RS232 adapter. As the picture shows, we recrimped the wire so that it is reversed.



2) Open up BD-COMM to the System tab. At this point, the Black Jaguar has a solid yellow light.

3) We change the id to 2 and click assign. The jag never turns green. We press the user button within the 5 second time window. Sometimes it turns solid yellow for a bit.

Afterwards, the Black Jaguar blinks a slow yellow and we cannot locate it in BD-COMM.

From what it looks like, we can't find anyway to assign an ID to the Jag. We've confirmed that the adapter is working.

Any troubleshooting suggestions?

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2011, 21:15
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Unable to Assign ID to Jaguar with BD-COMM

Those are some beautiful pictures of how to wire the CAN bus correctly.

The first thing I would check is your termination resistor. Is it shorting the CAN bus together?

What happens when you take it out?

Do other Jaguars have this issue?
Have up updated firmware?
Can you control motors and set parameters?
__________________
-- Marshal Horn
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2011, 00:19
imac256 imac256 is offline
Registered User
AKA: Ian McInerney
FRC #2022 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2009
Rookie Year: 2009
Location: Aurora, IL
Posts: 30
imac256 is a glorious beacon of lightimac256 is a glorious beacon of lightimac256 is a glorious beacon of lightimac256 is a glorious beacon of lightimac256 is a glorious beacon of light
Re: Unable to Assign ID to Jaguar with BD-COMM

Quote:
The first thing I would check is your termination resistor. Is it shorting the CAN bus together?
Not necessarily the problem. Since the picture makes it appear as if the Jaguar is directly connected over the serial port, the CAN bus shouldn't even be used yet (It would be purely serial communication).

If you can talk to the Jaguar try re-flashing its firmware, if not then try the BDC-Comm "Recover Jaguar" setting to see if it is stuck in a boot-loader state.
__________________
- Ian McInerney
Alumni & Mentor, Team 2022 Titan Robotics
Junior, Iowa State University majoring in Electrical Engineering
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2011, 12:06
dyanoshak dyanoshak is offline
Registered User
AKA: David Yanoshak
FRC #2158 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Austin, TX
Posts: 190
dyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond reputedyanoshak has a reputation beyond repute
Re: Unable to Assign ID to Jaguar with BD-COMM

Quote:
Originally Posted by el-zoroo View Post
We've confirmed that the adapter is working.
When connected with BDC-COMM, before trying to update the ID, can you see proper responses to commands? For example, set the Percent VBUS to something other than neutral; does the LED indicate what it should?

-David
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2011, 01:57
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,064
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: Unable to Assign ID to Jaguar with BD-COMM

+1 on updating the FW first. that fixed a bunch of 09 gray jags that would not reset the ID.

also make sure you have an un-shorted, 100 ohm resistor in the serial adapter and terminator... i personally do not recommend the direct-crimp terminator method touted by TI. it does not seem all that robust as most RJ-12 plugs i have seen are for braided wire (the contacts piece and bisect each wire); while resistors are solid wire. also, i have heard they tend to short out easily. I recommend crimping some wire in the plug and soldering the resistor to the wires; that reduces the risk of a short and is the correct use of the plugs.
__________________
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.

Last edited by ratdude747 : 31-01-2011 at 02:04.
Reply With Quote
  #6   Spotlight this post!  
Unread 31-01-2011, 20:25
el-zoroo el-zoroo is offline
Chief Operating Officer
AKA: Zuhair
FRC #2374 (Crusaderbots)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Beaverton, OR
Posts: 13
el-zoroo is an unknown quantity at this point
Re: Unable to Assign ID to Jaguar with BD-COMM

Our main programmer (el-zoroo) left already, so I'm just going to quickly sum up what we did today.

We tried some more things today to fix this. Replacing the directly-crimped terminator with one with some wire soldered to the resistor, but that didn't do anything. We also tried reloading the firmware, but whenever we tried, BDC-COMM complains that it can't contact the boot loader. We verified with a multimeter that the cable itself works fine. We also tried using a usb-to-serial adapter instead of this laptop's built in serial port. BDC-COMM defaulted to the built in serial port (1), and the jaguar thought that it had comm (solid yellow light), although BDC-COMM wouldn't allow us to do anything besides attempt to assign a new board ID. However, when we switched it to the usb adapter (4), the jaguar lost comm (blinking yellow light), but BDC-COMM allows us to try to set the voltage, etc. Using the Classmate with the usb adapter has the same effect as using the built-in serial port on the other laptop. We're planning on messing around with the serial port's data rate, bits per second, etc. in the device manager tomorrow.
Reply With Quote
  #7   Spotlight this post!  
Unread 31-01-2011, 21:52
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Unable to Assign ID to Jaguar with BD-COMM

The only time I've had that "could not contact bootloader" error was when I had my RS232-CAN converter cable backwards. (The other symptom I had with that configuration was that the only number it would enumerate was 0)

Go ahead and play with the RS232 configuration.
Also, try with your other Black Jaguar and see if it's any different.
__________________
-- Marshal Horn
Reply With Quote
  #8   Spotlight this post!  
Unread 01-02-2011, 01:43
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,064
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: Unable to Assign ID to Jaguar with BD-COMM

the boot loader error just means you have no valid connection.

verify you have the correct pinouts for the serial adapter:

(RJ12, DB9)

1, 3
3, (terminator)
4, (terminator)
5, 5
6, 2

also verify you have the correct COM port in bdc-comm, in case you have multiple ports on your computer.
__________________
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
  #9   Spotlight this post!  
Unread 01-02-2011, 18:46
el-zoroo el-zoroo is offline
Chief Operating Officer
AKA: Zuhair
FRC #2374 (Crusaderbots)
Team Role: Leadership
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Beaverton, OR
Posts: 13
el-zoroo is an unknown quantity at this point
Re: Unable to Assign ID to Jaguar with BD-COMM

Hi, another update.

We verified our adapter's pinout again, and it still looks good.
We also swapped to our other black jag and that's also not working.
Both jags display a solid yellow light until BD-COMM tries to do anything.
We bought a Serial to USB convertor, in suspicion that our serial port was not working, but that does not fix anything.
And we also verified that using a non-reversed 6 pin cable does not work. When we reset the jag, the light turns red and green for a split second, then goes back to flashing.

Any other recommendations?

Update: We used the wire as it came directly to the serial port and it works! I think the reversed cable is for the cRIO. Thanks for the help!

Last edited by el-zoroo : 01-02-2011 at 18:53. Reason: Update to troubleshooting
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 17:50.

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