Go to Post Secure your battery well, or it will fly like a fish. - Nate Laverdure [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #166   Spotlight this post!  
Unread 21-02-2008, 18:28
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: The 8.2 (or 8.3) Battery Voltage Bug

Quote:
Originally Posted by Tom Line View Post
Help!

We now figured out why the 8.2V bug went away last time - it's because we stopped using our practice bot + controller and switched to our new one.

Today we went back to the practice bot, loaded the code that works perfectly well on our competition bot, and it immediately went into the 8.2V bug.

I've deleted and commented out huge chunks of code in an attempt to change the compiled memory footprint however it does not seem to make a difference. Nothing we do with this code seems to correct the problem.

The issue immediately goes away upon loading the IFI default code. Can someone take a look at this and see if there's anything that jumps out at you as to the cause of the issue? Thank you!

We updated the master code to check if that fixed the issue and it did not.
Got your code and it looks like you didn't make the changes to the linker script discussed here:

http://www.ifirobotics.com/docs/memory_problem_8722.pdf

Also make sure you're using these libraries:

http://www.ifirobotics.com/docs/lega...es_2-24-06.zip

Let me know if you're still having a problem after you make these changes.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #167   Spotlight this post!  
Unread 21-02-2008, 18:36
TomZ's Avatar
TomZ TomZ is offline
Electrical and Robot Operator
AKA: /* Tom */
FRC #1718 (Fighting Pi)
Team Role: Electrical
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Richmond, Michigan
Posts: 20
TomZ is just really niceTomZ is just really niceTomZ is just really niceTomZ is just really niceTomZ is just really nice
Send a message via MSN to TomZ
Re: The 8.2 (or 8.3) Battery Voltage Bug

Quote:
Originally Posted by Kevin Watson View Post
Got your code and it looks like you didn't make the changes to the linker script discussed here:

http://www.ifirobotics.com/docs/memory_problem_8722.pdf

Also make sure you're using these libraries:

http://www.ifirobotics.com/docs/lega...es_2-24-06.zip

Let me know if you're still having a problem after you make these changes.

-Kevin
Thanks for the help, we fixed the two errors in the code and now it works fine.

Many Thanks From Team 1718
The Fighting Pi
  #168   Spotlight this post!  
Unread 21-02-2008, 20:05
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,569
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: The 8.2 (or 8.3) Battery Voltage Bug

Thank you Kevin. I'm a bit embarassed . I was told these were done... Mr. Z and myself are going to have some words when I get back...
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
Reading battery voltage in software RbtGal1351 Programming 17 21-10-2007 13:07
How to obtain battery voltage from within EasyC DavidSJohnson Programming 2 14-02-2006 00:05
battery voltage compensation Rickertsen2 Programming 5 17-10-2005 22:12
RC Circuits Melissa Nute Math and Science 3 25-01-2004 05:02
Battery Chargers Neal Probert Electrical 46 16-02-2003 22:31


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

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