Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Sidecar pwm ports 5 and up aren't responding (http://www.chiefdelphi.com/forums/showthread.php?t=102934)

Dragonbots 17-02-2012 19:41

Re: Sidecar pwm ports 5 and up aren't responding
 
Quote:

Originally Posted by DavisC (Post 1128413)
I would attempt changing only the PWM back to 1 in the code (and the DSC). And if it works then I guess you have a broken DSC; but if it does not work then it leaves the potential for something else to be the problem (including the rest of the code).

well i tired that, I set the code to run pmw ports 5 and 6, and it didnt work, then i switched back to pmw port 1 and 2 and it worked, so could our DSC be broken?

EricH 17-02-2012 19:54

Re: Sidecar pwm ports 5 and up aren't responding
 
I'm wondering if the DB-37 cable made contact all the way when it was reassembled. It can't hurt to check the continuity on pins 5 and higher.

The other thing I'm curious about is, when you have the Jaguar on port 5, with code set for port 5, what is the Jag's light doing? Yellow solid or yellow blinking?

Dragonbots 17-02-2012 20:04

Re: Sidecar pwm ports 5 and up aren't responding
 
the jaguars are blinking

EricH 17-02-2012 20:07

Re: Sidecar pwm ports 5 and up aren't responding
 
No code getting to the Jags. But the Jag power and PWM connections are good at the Jag end.

Definitely check the DB-37 pins 5 and up for continuity. I think there might be something with that due to the reassembly.

DavisC 17-02-2012 20:11

Re: Sidecar pwm ports 5 and up aren't responding
 
Alright so somewhere between the cRIO and the Jaguars, the code is not connecting.

So testing 1 at a time to isolate the problem, I would try a different...
1. ...DSC
2. ...cRIO-DSC Cable
3. ...cRIO Module

If you do this while the robot is Enabled then you can just look for the Jaguar lights to turn solid. For whichever item you changed that time (then works), the resonable idea is that it is that item...

EricH 17-02-2012 20:54

Re: Sidecar pwm ports 5 and up aren't responding
 
Davis, while I like your suggestion, it's just not feasible right now for this team. They're rookies, with one cRIO FRC-II and one set of modules and one cable. When you only have one, it's kind of hard to change them out. (Unless they can borrow one over the weekend at the local preship scrimmage.)

That's why I'm suggesting they check the DB-37's continuity on the higher pins; if it's the cable, they can rework it again.

DavisC 17-02-2012 22:48

Re: Sidecar pwm ports 5 and up aren't responding
 
Ok, I was not aware of that.

I just looked at the assembly instructions; would you be able to use a Voltmeter (and use the ohms setting) and attempt to measure resistance by connecting 1 lead to say Pin 1 of male side and other lead to pin 1 of female side?
(I will try that tomorrow, but should that sucessfully tell whether each pin is connected properly?). Or are there already better ways of testing, posted?

EricH 17-02-2012 23:03

Re: Sidecar pwm ports 5 and up aren't responding
 
Quote:

Originally Posted by DavisC (Post 1129184)
Ok, I was not aware of that.

I just looked at the assembly instructions; would you be able to use a Voltmeter (and use the ohms setting) and attempt to measure resistance by connecting 1 lead to say Pin 1 of male side and other lead to pin 1 of female side?
(I will try that tomorrow, but should that sucessfully tell whether each pin is connected properly?). Or are there already better ways of testing, posted?

Yes, that's how you'd do it. For the female side, it's helpful to have something to extend the pin out of the connector.

slijin 17-02-2012 23:11

Re: Sidecar pwm ports 5 and up aren't responding
 
Quote:

Originally Posted by EricH (Post 1129069)
No code getting to the Jags. But the Jag power and PWM connections are good at the Jag end.

Definitely check the DB-37 pins 5 and up for continuity. I think there might be something with that due to the reassembly.

Unless something went horribly wrong during reassembly, I seriously doubt this is the issue. If you've put one together (which I assume you have), you'd know how the pins cut through the wire - although I suppose that if not clamped together properly, the pins wouldn't be making contact.

Quote:

Originally Posted by Dragonbots (Post 1128338)
also, when i do download the code to run ports 5 and 6, it gives error code
-44061 and that the code is running too slow. any help on how to fix this.

Was this issue ever resolved?

Quote:

Originally Posted by EricH (Post 1129069)
But the Jag [...] PWM connections are good at the Jag end.

How exactly has this been confirmed on Jags 5 and up? Were the PWMs from Jags 1-4 plugged into these Jags to ensure that they are functional?

badger3.14 17-02-2012 23:19

Re: Sidecar pwm ports 5 and up aren't responding
 
my team has repeatedly had ports go out on sidecars. the only solution that we have found is to replace the sidecar.

Grim Tuesday 17-02-2012 23:22

Re: Sidecar pwm ports 5 and up aren't responding
 
This happened to us. It turned out to be our ribbon cable to our C-RIO. FIRST gave it to us made wrong and we had to re-cut it, and we did it wrong too. We used the big cable from last year, and all ports worked fine, so I would suggest trying that.

slijin 17-02-2012 23:26

Re: Sidecar pwm ports 5 and up aren't responding
 
Quote:

Originally Posted by Grim Tuesday (Post 1129208)
This happened to us. It turned out to be our ribbon cable to our C-RIO. FIRST gave it to us made wrong and we had to re-cut it, and we did it wrong too. We used the big cable from last year, and all ports worked fine, so I would suggest trying that.

http://www.chiefdelphi.com/forums/sh...84&postcount=8

bearfromtx 20-02-2012 21:10

Re: Sidecar pwm ports 5 and up aren't responding
 
Yea stop day is tomorrow, and we are having the same problem. It came from now where for us. We had our bot finally working and suddenly nothing. We have replace the sidecar but cannot get the PWMs to output to Jag/Victors. We are using the big cable from previous years, but I will have to check that tomorrow.

Any other suggesting anyone can give? I spend half the day troubleshooting the problem and cannot find anything other than the PWM output from the DSC. All motor control lights are blinking yellow indicating that my assumption is correct, but just cant find a solution.

Schmidty850 21-02-2012 21:26

Re: Sidecar pwm ports 5 and up aren't responding
 
We got it working. The solution?
Remove the sidecar and replace it with another. Remove all wiring and re do it. Re-image and re-deploy code and a working bot we got just in time for stop build time :)

EricH 21-02-2012 22:22

Re: Sidecar pwm ports 5 and up aren't responding
 
Quote:

Originally Posted by Schmidty850 (Post 1132104)
We got it working. The solution?
Remove the sidecar and replace it with another. Remove all wiring and re do it. Re-image and re-deploy code and a working bot we got just in time for stop build time :)

Like I said earlier, replacing the sidecar is NOT AN OPTION. Redoing the wiring might be an option, but not right now.

The re-image and re-deploy might be an option, but we're just about all out of time.


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

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