Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   CAN (http://www.chiefdelphi.com/forums/forumdisplay.php?f=185)
-   -   Set Jaguar device number via cRIO (http://www.chiefdelphi.com/forums/showthread.php?t=85727)

biojae 10-05-2010 23:59

Re: Set Jaguar device number via cRIO
 
Quote:

Originally Posted by kamocat (Post 961477)
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?

Neither.

I can still enumerate all 4 devices on the CAN bus.

kamocat 11-05-2010 00:13

Re: Set Jaguar device number via cRIO
 
Is that with a single termination resistor, or with none whatsoever?

biojae 11-05-2010 00:20

Re: Set Jaguar device number via cRIO
 
Quote:

Originally Posted by kamocat (Post 961528)
Is that with a single termination resistor, or with none whatsoever?

Single termination (one inside the db9 to 6p-6c adapter)

kamocat 11-05-2010 00:45

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.

biojae 11-05-2010 01:01

Re: Set Jaguar device number via cRIO
 
Quote:

Originally Posted by kamocat (Post 961536)
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.

I would do it if I had a second (or third) working adapter. :]
But, the only adapter that I have gotten to work is the digikey one, and we only ordered one of them. :rolleyes:

EricVanWyk 11-05-2010 01:09

Re: Set Jaguar device number via cRIO
 
Quote:

Originally Posted by kamocat (Post 961536)
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.

The problem with digital communication is that it works perfectly until it doesn't -- Stating that something works is poor proof that it will continue to work after something changes. You really want to look at the signal in analog land before making these determinations.

It is quite possible / easy to get small CAN networks to work with poor bus layout / terminations.

kamocat 11-05-2010 10:00

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?

rrossbach 11-05-2010 16:44

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]

kamocat 14-05-2010 01:12

Re: Set Jaguar device number via cRIO
 
Quote:

Originally Posted by rrossbach (Post 961652)
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]

Well, I've tried resetting the Jaguar's ID, but it has no effect. I even tried replacing it with a different black Jaguar, but no change.
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.

biojae 14-05-2010 02:22

Re: Set Jaguar device number via cRIO
 
1 Attachment(s)
Quote:

Originally Posted by kamocat (Post 962079)
Well, I've tried resetting the Jaguar's ID, but it has no effect. I even tried replacing it with a different black Jaguar, but no change.
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.

So, I just ran BDC-COMM without anything connected to my serial port.

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.

kamocat 15-05-2010 16:08

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.

kamocat 10-06-2010 00:00

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.

kamocat 12-06-2010 00:52

Re: Set Jaguar device number via cRIO
 
Nope, problem solved.
Thank you everyone for your help!


All times are GMT -5. The time now is 04:18.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi