|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
|
|
Re: Set Jaguar device number via cRIO
Quote:
I can still enumerate all 4 devices on the CAN bus. |
|
#17
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
Is that with a single termination resistor, or with none whatsoever?
|
|
#18
|
|
Re: Set Jaguar device number via cRIO
Single termination (one inside the db9 to 6p-6c adapter)
|
|
#19
|
||||
|
||||
|
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.
|
|
#20
|
|
|
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. ![]() |
|
#21
|
|||
|
|||
|
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. |
|
#22
|
||||
|
||||
|
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? |
|
#23
|
|||
|
|||
|
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 : 11-05-2010 at 16:46. |
|
#24
|
||||
|
||||
|
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. |
|
#25
|
|
|
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. |
|
#26
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
Okay, thanks!
Strangely, my setup enumerates nothing when I disconnect the black jaguar. However, I will recheck this when I have the chance. |
|
#27
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
This title has become misleading, so I'm going to defer to another thread, and come back to this if this is actually an issue.
|
|
#28
|
||||
|
||||
|
Re: Set Jaguar device number via cRIO
Nope, problem solved.
Thank you everyone for your help! |
![]() |
| 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 | 28-05-2010 16:33 |
| Set Jaguar device number via cRIO | kamocat | FRC Control System | 0 | 08-05-2010 20:41 |
| CAN Jaguar code set up as a VxWorks Library | taichichuan | CAN | 0 | 21-02-2010 22:16 |
| Unable to set team number | Erebos | FRC Control System | 4 | 27-01-2009 17:00 |
| Can not set team number on DS | TekClaz | FRC Control System | 2 | 23-12-2008 14:25 |