Go to Post Remember the volunteering is not mandatory for the people to do it. It IS mandatory if FIRST is to survive and the regionals to leave a positive impact on everybody. - Alavinus [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 25-02-2005, 22:09
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
MPLAB IDE Problem

I get an error that basically means it isn't finding the default header files(math.h, pwm.h, etc.). How do I change where it is searching during the build process?
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).

Last edited by amateurrobotguy : 25-02-2005 at 22:15.
  #2   Spotlight this post!  
Unread 25-02-2005, 22:14
probizzle's Avatar
probizzle probizzle is offline
Registered User
AKA: Prabhas Pokharel
#0639 (Code Red)
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2003
Location: Ithaca
Posts: 78
probizzle will become famous soon enoughprobizzle will become famous soon enough
Send a message via AIM to probizzle
Re: MPLAB IDE Problem

Can you display the exact error? We would be able to assist you better that way.
__________________
Code Red Team 639 Winners of the 2005 FingerLakes Regional with 191 and 494.
--
http://pset.deu83.com << my baby
http://www.setgame.com/set/ << it's mother
  #3   Spotlight this post!  
Unread 25-02-2005, 22:18
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: MPLAB IDE Problem

D:\Robot\MyFiles\user_SerialDrv.c:27: unable to locate 'string.h'
D:\Robot\MyFiles\user_SerialDrv.c:28: unable to locate 'usart.h'
D:\Robot\MyFiles\user_SerialDrv.c:29: unable to locate 'string.h'
error 1 spawning D:\Robot\mcc18\bin\cpp18
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).

Last edited by amateurrobotguy : 25-02-2005 at 22:21.
  #4   Spotlight this post!  
Unread 25-02-2005, 22:24
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: MPLAB IDE Problem

Also, do I need to specify the output directory and stuff under Build Option(Green)
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).
  #5   Spotlight this post!  
Unread 25-02-2005, 22:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: MPLAB IDE Problem

You don't need to specify the output directory. It will default to your project folder.

You need to assign:
Library Path to c:\mcc18\h
Include Path to c:\mcc18\lib

both under Project -> Build Options... -> Project
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #6   Spotlight this post!  
Unread 25-02-2005, 22:42
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: MPLAB IDE Problem

I did that, and set the linker to the lnk or whatever. It still isn't finding the headers
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).
  #7   Spotlight this post!  
Unread 25-02-2005, 22:46
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: MPLAB IDE Problem

It is Include=h
Library=lib
linker=lkr
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).
  #8   Spotlight this post!  
Unread 25-02-2005, 22:47
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: MPLAB IDE Problem

Does the .BIN ever need to get remade for my .c code changes? In other words, is it a contant?
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).
  #9   Spotlight this post!  
Unread 25-02-2005, 23:28
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: MPLAB IDE Problem

.BIN only needs to be loaded once. Think of it as a patch to your operating system. It doesn't need to be done everytime you start your computer.

Does your MPLAB options window look exactly like this?
http://www.chiefdelphi.com/forums/at...achmentid=2610

Those includes are located by the correct Include Path. You can double-check you have the correct path by cutting it from the Options window and pasting it into Run from your Start menu.

You could try hitting "Suite Defaults" and enter the paths again.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 25-02-2005 at 23:35.
  #10   Spotlight this post!  
Unread 25-02-2005, 23:58
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: MPLAB IDE Problem

A build generates .cof.
I think those are files meant for debug purposes.
I assume I only need to dl .hex files to the bot, which I can do with File-->Export-->xxxx.INHEX32

*Update*
Just looked at posted pic, now it genrates new .coff and .hex and .lst

Really, I guess, the only useful is .hex just to get the bot running.
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).

Last edited by amateurrobotguy : 26-02-2005 at 00:02.
  #11   Spotlight this post!  
Unread 26-02-2005, 09:29
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: MPLAB IDE Problem

The .hex is the only file you're after.
Some of the other files are useful for debugging problems or checking on the amount of memory you are using up on the controller.

You can only download the .hex file to the robot using the separate IFI_Loader program available at http://www.ifirobotics.com/docs/ifi-loader-v1-0-10.zip
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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
MPLAB IDE HELP Idaman323 Programming 2 16-02-2005 18:01
MPLAB IDE 6.60 Error mchan1111 Programming 8 08-11-2004 20:17
MPLAB IDE Project Specs Raven_Writer Programming 18 19-01-2004 15:53
using the MPLAB IDE MPLAB SIM simulator WizardOfAz Programming 1 03-11-2003 01:24


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

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