Go to Post Well, we put it in the bag at 11:58 last night. Needless to say we had to pull guys off of it to put it in the bag. I hope we didn't miss somebody and bag him up too. - jimwick [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 01-02-2006, 19:28
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
IFI Loader Question

We have not been able to get the robot to run since when we first plugged it in. Ever since I have edited the code and sent the new code to the robot.. it hasn't been moving. None of the motors are running. Ive tried the default code, Ive tried switch PWM ports, Ive tried everything. When we move the joysticks, the PWM01 and PWM02 lights arn't lighting up either. WE did get it running for a bout 1 minute. Then it stopped then next time I loaded the program.

I noticed there is the IFI Loader 1.1.0. Right now we are using 1.0.2 Or whatever that version was. It was dowloading it to the robot, so I thought it was alright. Then I realized that may be the problem. When I tried installing the new IFI Loader, it said my system files are out of date, and I needed to hit ok and restart the computer to update them. I tried that and it didn't work. Does it mean that I need Windows SP2? I am trying to install SP2 for Windows over night. Other than that.,, what other files would need to be updated? And could this be the reason the bot isn't running?
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
  #2   Spotlight this post!  
Unread 02-02-2006, 15:37
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: IFI Loader Question

Okay, I got the new IFI Loader all working, but the robot and motors get have no motion. I put the new code on and it does the same thing. All of the speed controllers are solid orange, but nothing happens. Any ideas?
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
  #3   Spotlight this post!  
Unread 02-02-2006, 16:15
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: IFI Loader Question

If the default code works and yours doesn't, the problem is in your code. Make sure that nothing else in the code is affecting the outputs you are controlling between your code and PutData(...).

Also, make sure your code is in or called by Process_Data_From_Master_uP(...).

And lastly, make sure you aren't in autonomous mode or disabled (the Disabled LED on the OI should be off in user controlled mode).
  #4   Spotlight this post!  
Unread 02-02-2006, 16:16
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: IFI Loader Question

First things first. Are you certain you're loading the same code that you compiled, and are you certain that you're compiling the same code that you edited? It's easy to accidentally modify files in the wrong directory, or to accidentally choose the wrong .hex file in the IFI loader.
  #5   Spotlight this post!  
Unread 02-02-2006, 16:52
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: IFI Loader Question

Okay, I think the problem is some where in the compiling part. What is the proccess for doing this? I forgot since last year. Is there a certain directory I have to choose in the project dialog box. I remember doing something wiht that last year. Thanks for th help so far
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
  #6   Spotlight this post!  
Unread 02-02-2006, 22:27
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: IFI Loader Question

Okay the problem is with me compiling it. I open my code, edit what I need. Then I go to Make and it is suppose to make a hex file with the new code. I cant find where this file gets put when it is made. Do I have to specify a certain directory to put it in or is there defaults? After I make it, I open the IFI Loader and load it. The problem is, the Compiler isn't making the file correctly or the directory for the file is all messed up.
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
  #7   Spotlight this post!  
Unread 03-02-2006, 00:00
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: IFI Loader Question

Unless you've managed to change some deep settings, the compiled .hex file is placed in the directory where the .mcp project file resides. That's almost always the same directory which contains the .c and .h source files.
  #8   Spotlight this post!  
Unread 03-02-2006, 09:35
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: IFI Loader Question

Hmmm, do I just hit build and it suppose to compile and be there. Is there a dialog box that comes up when you do it? I hit make, and it seems like nothing happens. Maybe I have some setting messed up. Ill try reinstalling MPLAB to get the defaults back.
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
  #9   Spotlight this post!  
Unread 03-02-2006, 10:21
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: IFI Loader Question

Before you can do anything worthwhile, you need to have loaded a project. You do that by choosing Open... from the Project menu and selecting the proper .mcp file.

The project file defines which source files are used to build the program, and lets the IDE tell the compiler and linker exactly what to do.

When you Make or Build the project, you should see a bunch of output from the compiler and linker as each source file is checked and turned into executable code.
  #10   Spotlight this post!  
Unread 03-02-2006, 15:50
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: IFI Loader Question

Okay, aprently the output dialog box was under the project. I scrolled down and found it..... that was way to easy. Okay, now I know my error. It says, "Couldn't locate build tool. Check tool locations." I extracted the MPLAB, and installed it. I didn't mess with any files. So is there some other files I need to the program to build?
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
  #11   Spotlight this post!  
Unread 03-02-2006, 15:53
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: IFI Loader Question

Quote:
Originally Posted by Idaman323
Okay, aprently the output dialog box was under the project. I scrolled down and found it..... that was way to easy. Okay, now I know my error. It says, "Couldn't locate build tool. Check tool locations." I extracted the MPLAB, and installed it. I didn't mess with any files. So is there some other files I need to the program to build?
You also need to install the C18 2.4 compiler that was provided in this year's kit of parts on a CD. The compiler takes all your C code and turns it into machine code that the robot controller can understand.
  #12   Spotlight this post!  
Unread 03-02-2006, 16:12
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: IFI Loader Question

Hmmm, that may be why.... I downloaded this version. Thanks! Im gona try it right now.
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
  #13   Spotlight this post!  
Unread 03-02-2006, 19:07
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: IFI Loader Question

Okay, I got the default code working after we compiled it. Yay!!! I tried compiling the camera code and it said it is missing stdio.h and all of the other Header files are missing. Where do i find these?
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
  #14   Spotlight this post!  
Unread 03-02-2006, 21:11
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: IFI Loader Question

If you installed the C-18 compiler with default options, these header files are under C:\mcc18\h. To point the compiler to this file, click Project > Build options > Project, and change the Include path to C:\mcc18\h, and the library path to C:\mcc18\lib.

Post back here if you have problems with it.
JBotAlan
__________________
Aren't signatures a bit outdated?
  #15   Spotlight this post!  
Unread 04-02-2006, 01:33
Idaman323 Idaman323 is offline
In Theory, Our Robot Would Own.
FRC #1706
Team Role: Driver
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Wentzville, MO
Posts: 116
Idaman323 is an unknown quantity at this point
Re: IFI Loader Question

Yah! Thats what I remember doing last year. I knew I had to do something like that. Hopefully /I will become more experienced with this in the next fea years

Thanks for all the help!
__________________
TEAM 1706
2007 Judges Award, St. Louis (For our amazing ability to have bad luck)
2005 Rookie Inspiration Award, St. Louis
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 Problem Master Dictator General Forum 18 02-02-2006 20:27
IFI Loader and PROG button Dave... Programming 3 20-02-2005 12:03
Bug in IFI Loader rwaliany Programming 2 06-01-2004 21:26


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

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