|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|
|
Re: Set Jaguar device number via cRIO
Quote:
It seems that in other adapters (maybe only the ones I bought), that the spacing between the side of the adapter and the pins was slightly off. The slot was large enough to allow the 6 pin cord to fit in and latch, but the off spacing would make the pins not line up causing no comms in either direction. Try a continuity test between the pins of the 6 pin cord and the cords inside the adapter (or the DB9 pins). |
|
#2
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
Watch out for the 100 Ohm resistor legs if you tried to put the resistor into the 6P6C connector itself. I experienced many problems with the resistor shorting itself out if I tried building it like the manual says. I found that connecting the resistor to a wire pigtail coming out of the modular connector to be much more reliable.
HTH, Mike |
|
#3
|
|
|
Re: Set Jaguar device number via cRIO
Quote:
After crimping the resistor into the connector (and verifying that it works), take a little 2 part epoxy mixed well and cover the resistor and its legs. Once it is cured, the resistor won't be able move and the legs will not short each other out. |
|
#4
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
Quote:
I also double-checked my wires, and they are straight-through. I've tried the terminating resistor both with and without a pigtail. I think with the pigtail is both more reliable, and easier to create. Last edited by kamocat : 05-10-2010 at 08:56 PM. |
|
#5
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
Could somebody unplug their termination resistor, and try enumeration (with the cRIO or the BDC-COMM utility)?
Does it say there's no no devices on the network at all, or does it say there's one device with a device number of 0? |
|
#6
|
|
|
Re: Set Jaguar device number via cRIO
Quote:
I can still enumerate all 4 devices on the CAN bus. |
|
#7
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
Is that with a single termination resistor, or with none whatsoever?
|
|
#8
|
|
Re: Set Jaguar device number via cRIO
Single termination (one inside the db9 to 6p-6c adapter)
|
|
#9
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
Okay. The Getting Started guide said small networks may still work with a single termination. I'm not going to ask you to clip off your resistor.
|
|
#10
|
|
|
Re: Set Jaguar device number via cRIO
Quote:
But, the only adapter that I have gotten to work is the digikey one, and we only ordered one of them. ![]() |
|
#11
|
|||
|
|||
|
Re: Set Jaguar device number via cRIO
Quote:
It is quite possible / easy to get small CAN networks to work with poor bus layout / terminations. |
|
#12
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
I think if the enumeration worked, then the other CAN communications would work. However, I don't know what would cause the enumeration to respond like this.
What does it mean when it says there's only one device on the network, and its address is 0? Why doesn't it just say there are no devices there? |
|
#13
|
|||
|
|||
|
Re: Set Jaguar device number via cRIO
Sorry if this is a dumb question, but I'm not clear on what behavior you're seeing.
How many Jaguars do you have connected to the CAN bus? If it's only one, and you are just seeing an enum response with device id 0, have you tried resetting the id of that Jag to something >=2 via bdc-comm? If not, follow the steps on page 10 of the bdc-comm user's guide and let us know the results. If you still have multiple Jags on the CAN bus, let us know what you see in bdc-comm.....do you see all the Jags except the one with device id 0? You may just need to assign a new id to the Jaguar that currently thinks it is id 0. - Ron Team #2607 controls mentor [EDIT: to answer your question, the enum responding that there's one device with id 0 is (I'm almost positive) a valid response, provided that's the actual situation on the CAN bus] Last edited by rrossbach : 05-11-2010 at 04:46 PM. |
|
#14
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
Quote:
I'm pretty sure 0 is not a valid ID for a device on the CAN network, but I don't know if the host might appear as having an ID of 0 (regardless of whether the CAN bus itself is working or not). When I connect another Jaguar, the enumeration still only reports a single device with an ID of 0. Currently I am working with the BDC-COMM, and a USB to Serial device (Keyspan brand). Once I get that working, I'll move back to the cRIO. |
|
#15
|
|
|
Re: Set Jaguar device number via cRIO
Quote:
It enumerates a Jaguar with an ID of 0. This means that you have a communication problem between your computer and the black jag. There are several points of failure, if one of them doesn't work, then none of it will. Chances are, if you couldn't connect with the cRio, or the computer that the problem lies either with the 6-pin cord from the adapter or the adapter itself. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Set computer to receive it's IP via DHCP? | grosh | FRC Control System | 21 | 05-28-2010 04:33 PM |
| Set Jaguar device number via cRIO | kamocat | FRC Control System | 0 | 05-08-2010 08:41 PM |
| CAN Jaguar code set up as a VxWorks Library | taichichuan | CAN | 0 | 02-21-2010 10:16 PM |
| Unable to set team number | Erebos | FRC Control System | 4 | 01-27-2009 05:00 PM |
| Can not set team number on DS | TekClaz | FRC Control System | 2 | 12-23-2008 02:25 PM |