Go to Post Or you can always say "we programmed it that way." - probizzle [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
  #1   Spotlight this post!  
Unread 11-01-2006, 17:16
Team905Animator's Avatar
Team905Animator Team905Animator is offline
Mission Control
AKA: Casey Williams
FRC #0905 (Platt Tech Panthers)
Team Role: Leadership
 
Join Date: Mar 2002
Rookie Year: 2002
Location: Milford, Connecticut
Posts: 50
Team905Animator is on a distinguished road
Send a message via MSN to Team905Animator
IFI Loader Error

Run-time error '11':
Division by zero.

Anyone else ever get this error? The code built fine in mplab but now we get this when we try to upload it to the controller. Any help would be appreciated.
  #2   Spotlight this post!  
Unread 11-01-2006, 22:00
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: IFI Loader Error

Well, obviously it's because you are dividing something by zero... which can't be done. I'd do a ctrl+f in your code for / 0 and the like. Also check that you aren't dividing by a constant which may be a zero. Lastly, you may be dividing by a sensor that could be reading in zero.
__________________
http://www.mikesorrenti.com/
  #3   Spotlight this post!  
Unread 11-01-2006, 22:05
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: IFI Loader Error

Quote:
Originally Posted by Mike
Well, obviously it's because you are dividing something by zero... which can't be done. I'd do a ctrl+f in your code for / 0 and the like. Also check that you aren't dividing by a constant which may be a zero. Lastly, you may be dividing by a sensor that could be reading in zero.
The division by zero is an error in the IFI loader, not the robot software.
  #4   Spotlight this post!  
Unread 11-01-2006, 22:30
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: IFI Loader Error

Quote:
Originally Posted by Team905Animator
Run-time error '11':
Division by zero.

Anyone else ever get this error? The code built fine in mplab but now we get this when we try to upload it to the controller. Any help would be appreciated.
Which version of the loader are you using? Is it the newest version? And if so, are you downloading to the new RC?
__________________
  #5   Spotlight this post!  
Unread 11-01-2006, 22:54
Team905Animator's Avatar
Team905Animator Team905Animator is offline
Mission Control
AKA: Casey Williams
FRC #0905 (Platt Tech Panthers)
Team Role: Leadership
 
Join Date: Mar 2002
Rookie Year: 2002
Location: Milford, Connecticut
Posts: 50
Team905Animator is on a distinguished road
Send a message via MSN to Team905Animator
Re: IFI Loader Error

Quote:
Which version of the loader are you using? Is it the newest version? And if so, are you downloading to the new RC?
Yes, the newest version that came out of the KOP. And yes, the new RC. I dont think its the code because we tried to send the default code in and it gave the same error as the modified.
  #6   Spotlight this post!  
Unread 11-01-2006, 22:57
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: IFI Loader Error

Did you try reinstalling IFI Loader? Maybe you're missing some file in the installation.
__________________
  #7   Spotlight this post!  
Unread 12-01-2006, 22:40
Team905Animator's Avatar
Team905Animator Team905Animator is offline
Mission Control
AKA: Casey Williams
FRC #0905 (Platt Tech Panthers)
Team Role: Leadership
 
Join Date: Mar 2002
Rookie Year: 2002
Location: Milford, Connecticut
Posts: 50
Team905Animator is on a distinguished road
Send a message via MSN to Team905Animator
Re: IFI Loader Error

Quote:
Originally Posted by dhoizner
Did you try reinstalling IFI Loader? Maybe you're missing some file in the installation.
Reinstalling fixed it, thanks.
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
IFI Loader Reloaded sciguy125 Programming 26 07-08-2007 00:07
IFI Loader and PROG button Dave... Programming 3 20-02-2005 12:03
Does the new IFI Loader work with the old Firmware? gnormhurst Programming 2 17-01-2005 20:11
IFI Loader Doc's Raven_Writer Programming 0 21-01-2004 17:53
Bug in IFI Loader rwaliany Programming 2 06-01-2004 21:26


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

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