![]() |
Re: Black jaguars: not working
It may not be your problem, but we ordered a RJ11 cable tester to test our CAN cables. We have 9 Jaguars on our board and can't have one of those cables being marginal if we can help it! You can get one for anywhere between $7 and $100+.
We still don't have our first Jaguar working on CAN so we'll see if we get to use that spiffy tester. For what it's worth we're getting this one because of it's good reviews and middle range price. |
Re: Black jaguars: not working
Quote:
|
Re: Black jaguars: not working
I stand corrected on the terminator! In re-reading page 29 of the Jaguar BDC24 getting started guide it clearly says you need a 100 ohm resistor at both ends. I wonder if that's our problem with getting the Jaguars to work via CAN! It would seem unlikely given that we only have one Jaguar in our test setup but it's certainly worth a try.
|
Re: Black jaguars: not working
Quote:
The instructions in the Getting Started Guide show a 100 ohm connected between red and green (CAN_L and CAN_H) inside the RS-232 to CAN converter. If you did this, you should have the proper termination. - Bryce P.S. I wonder if the termination needs to occur closer the the black jag than at the converter. Our cable is only 5 inches or so, but maybe even that is too long? |
Re: Black jaguars: not working
We had a 100 ohm terminator in the empty RJ11 plug on the Jaguar but didn't have one in the left one where the serial data was coming in.
|
Re: Black jaguars: not working
That could do it...
- Bryce |
Re: Black jaguars: not working
If I understand you correctly, you only have one Jag on the BUS. The Black Jag. If this is the case you should be able to get away with only one resistor for test purposes. We have six jaguars on our Kit bot with only the resistor that is in the 2CAN. We have been driving it around for the last two days without issue. See the link to the pic. I suspect the problem is elsewhere possibly in your code.
http://www.crosstheroadelectronics.c...res/Kitbot.JPG |
Re: Black jaguars: not working
Quote:
Quote:
-Joe |
Re: Black jaguars: not working
BTW: NEW CANJag CODE IS AVAILABLE FOR DOWNLOAD!!!
Quote:
|
Re: Black jaguars: not working
Quote:
Someone has already been running with 6 Jags hooked together, but I'm going to hook up a bunch tonight and verify everything. Also, Joe has released a new version of the Jag code that implements all the closed loop modes! He also said there was a TI firmware update available (Version 87). I'll be playing with that tonight too. Cheers! - Bryce |
Re: Black jaguars: not working
We continued trying to get either the 2CAN or RS-232 to work last night, still without any success in C++. The RS-232 version still throws the error, even when the robot is enabled. The 2CAN just sits there with a flashing orange light (the boot loader). It's probably some setup issue because the 2CAN seems to be a quality product. Work continues but so far it's been pretty frustrating. We've tried various RJ11 cables.
|
Re: Black jaguars: not working
Quote:
|
Re: Black jaguars: not working
Quote:
|
Re: Black jaguars: not working
I tried it with the 2CAN bus. Now, instead of giving me error messages, it just silently fails. I've updated the firmware on the 2CAN, but it still doesn't work. Any ideas? Here's the code I'm using:
Code:
#include "WPILib.h" |
Re: Black jaguars: not working
Quote:
-Joe |
| All times are GMT -5. The time now is 12:26. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi