Go to Post The flux capacitor should have been allowed under the flowchart as long as it met the single component maximum cost. I did check with Digikey and they no longer carry the line. - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-08-2009, 00:42
R.C.'s Avatar
R.C. R.C. is offline
2017... Oooh Kill em, Swerve!
AKA: Owner, WestCoast Products
FRC #1323 (MadTown Robotics)
Team Role: Engineer
 
Join Date: Feb 2008
Rookie Year: 2006
Location: Madera, CA
Posts: 2,180
R.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond repute
0.00 Volts - Code Not Downloading - Randomly Works?

Hey CD,

Our 4 year programmer left and our cRio broke when some freshman yanked on the ethernet cord. So we got our cRio back and we were getting ready for some offseason competitions and trying to get a new programmer trained. In the process we added a motor and were trying to download some code.

The robot has been working fine and has always showed the voltage. The initial problem was setting up Windriver to download to the cRIO and we solved that by -> adding new connection -> VxWorks. But today we experienced a whole new problem. The Volts showed 0.00 and new robot code was not being updated. We turned off the bot and rebooted everything a few times.

Then by the end of the day, about an hour before we left the shop. I wanted to sneak the bot up to a freshman and surprise him. ALL OF A SUDDEN, the Voltage went back to the proper 12.67 and new code was downloaded.

I am not a programmer and this has been bugging me and I was wondering if anyone could explain what happened. The robot was not touched by any other member nor tampered with. Any Ideas?

Thanks,

-RC
__________________
R.C.
Owner, WestCoast Products || Twitter
MadTown Robotics Team 1323
  #2   Spotlight this post!  
Unread 26-08-2009, 07:21
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 685
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: 0.00 Volts - Code Not Downloading - Randomly Works?

I can give you a preliminary idea, but I don't have the details or the names of the parts...

The battery "reporting gizmo" is plugged into the top of one of the blocks plugged into the cRio. If it gets loose the battery reports zero. Like all delicate electronics if a connection gets loose all sorts of things could happen, or not. You must have jiggled something when you drove the robot.

Why that has anything to do with the downloading code part I don't know. Maybe it is upstream on the power or data wires that jiggled something else? Come to think of it, without it does it report zero or nothing at all? Either way, jiggling the robot must have re-seated whatever wasn't properly set.

I remember last year when the cRio stuff was sent out pre-Kickoff there was questions about no battery reporting, because this one part wasn't included. It finally came with the KOP at Kickoff.
  #3   Spotlight this post!  
Unread 26-08-2009, 09:24
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: 0.00 Volts - Code Not Downloading - Randomly Works?

There is a possibility that you were accidentally downloading your old code to the robot.

When you go to FIRST->Download... WindRiver does not necessarily download the binary for the current project that you are editing. Rather, it downloads a file specified in the Preferences->FIRST menu. If you were to copy your project and make changes to the copy (which would be a reasonable thing to do when altering someone else's code), you need to remember to specify the new output file.
  #4   Spotlight this post!  
Unread 26-08-2009, 09:32
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: 0.00 Volts - Code Not Downloading - Randomly Works?

I agree with Roger that the 0.00 volts reading was because of a loose connection. We had issues with the analog breakout and the power connection wiggling loose.

It seems hot glue will always have a role in FRC competitions!
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
  #5   Spotlight this post!  
Unread 26-08-2009, 09:39
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: 0.00 Volts - Code Not Downloading - Randomly Works?

Don't forget that the Analog Breakout adapter can be screwed into the NI 9201 analog input module. This obviously won't help poorly fitting jumpers for the battery monitor but I've seen many teams that don't securely attach the Analog Breakout to the cRIO module.

And, of course, make sure to use a jumper that fits snugly on the 3-pin battery monitor header.

Russ
  #6   Spotlight this post!  
Unread 26-08-2009, 10:22
R.C.'s Avatar
R.C. R.C. is offline
2017... Oooh Kill em, Swerve!
AKA: Owner, WestCoast Products
FRC #1323 (MadTown Robotics)
Team Role: Engineer
 
Join Date: Feb 2008
Rookie Year: 2006
Location: Madera, CA
Posts: 2,180
R.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond reputeR.C. has a reputation beyond repute
Re: 0.00 Volts - Code Not Downloading - Randomly Works?

Thanks for all the Replies, I was stumped thinking about it and most of the replies makes sense, I'll see what happens today.

Thanks,

-RC
__________________
R.C.
Owner, WestCoast Products || Twitter
MadTown Robotics Team 1323
  #7   Spotlight this post!  
Unread 26-08-2009, 12:34
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 685
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: 0.00 Volts - Code Not Downloading - Randomly Works?

I'm not sure a screwed-down box would have done us any good -- our summer robot had a good hour of driving by elementary school students, getting under lunchroom tables and banging everywhere. Without much protection, it did survive but the box was bent by the wires. Probably if it was screwed in it would have snapped off. Luckily some careful straightening of the pins got it working again.

Jared, I'll have to keep that in mind for future reference, even though we're using LabVIEW. Even when copying to a new folder I wonder if it is working on the new directory or still pointing to the old directory. I think ye old MP-Lab had that problem feature.
  #8   Spotlight this post!  
Unread 26-08-2009, 13:52
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: 0.00 Volts - Code Not Downloading - Randomly Works?

Even if you screw in the analog board, the power connector from the PDB can come loose....that was our problem.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
downloading code to cRIO mint564 C/C++ 6 10-02-2009 19:30
Windriver downloading code problems. HUmar104 C/C++ 4 25-01-2009 20:53
Problem downloading code Romeo1351 FIRST Tech Challenge 6 01-12-2006 06:33
Downloading code to 2005 RC Eclipse Control System 2 23-02-2006 19:58
Code error on RC after downloading "bells and whistles" version of Kevins camera code DanDon Programming 6 10-01-2006 18:07


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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