Go to Post This is one area where you want an old hand in the room to show you how to work on this thing. .... If you survive it, electricity hurts really bad. - ebarker [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 08-01-2007, 23:20
brennerator brennerator is offline
Registered User
#1560
 
Join Date: Jan 2005
Location: Silicon Valley
Posts: 75
brennerator is an unknown quantity at this point
Please help; HUGE mplab problem

I have no source files!

I took the FRC default code but I have no source files so I cannot build!! It only accepts .asm format, of which I have no files.
  #2   Spotlight this post!  
Unread 08-01-2007, 23:26
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: Please help; HUGE mplab problem

Quote:
Originally Posted by brennerator View Post
I have no source files!

I took the FRC default code but I have no source files so I cannot build!! It only accepts .asm format, of which I have no files.
What do you mean you have no source files...
go to kevin.org/frc
and download a version of the code that suits your needs (probably camera_s_2.zip).
Unzip that to a low leve directory (c:\code\) and then in mplab open project
and select the project in that directory.

Tell me how that goes
  #3   Spotlight this post!  
Unread 08-01-2007, 23:58
brennerator brennerator is offline
Registered User
#1560
 
Join Date: Jan 2005
Location: Silicon Valley
Posts: 75
brennerator is an unknown quantity at this point
Re: Please help; HUGE mplab problem

see it gives me this error:
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\main.o" is up to date.
Make: The target "C:\Code\Robotics.cof" is out of date.
Executing: "C:\mcc18\bin\mplink.exe" /l"C:\mcc18\lib" "18f8722.lkr" "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\main.o" "C:\Code\FRC_alltimers_8722.lib" "C:\Code\FRC_library_8722.lib" /o"Robotics.cof" /M"Robotics.map"
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find definition of symbol 'Process_Data_From_Local_IO' in file 'C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\main.o'.
Errors : 1

BUILD FAILED: Mon Jan 08 20:58:20 2007
  #4   Spotlight this post!  
Unread 09-01-2007, 00:30
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: Please help; HUGE mplab problem

Quote:
Originally Posted by brennerator View Post
see it gives me this error:
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\main.o" is up to date.
Make: The target "C:\Code\Robotics.cof" is out of date.
Executing: "C:\mcc18\bin\mplink.exe" /l"C:\mcc18\lib" "18f8722.lkr" "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\main.o" "C:\Code\FRC_alltimers_8722.lib" "C:\Code\FRC_library_8722.lib" /o"Robotics.cof" /M"Robotics.map"
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - could not find definition of symbol 'Process_Data_From_Local_IO' in file 'C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\main.o'.
Errors : 1

BUILD FAILED: Mon Jan 08 20:58:20 2007
MPLAB has problems with paths to build directories that are too long and (if I remember correctly) include spaces. Try moving your build directory to something like c:\frc.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #5   Spotlight this post!  
Unread 09-01-2007, 00:50
brennerator brennerator is offline
Registered User
#1560
 
Join Date: Jan 2005
Location: Silicon Valley
Posts: 75
brennerator is an unknown quantity at this point
Re: Please help; HUGE mplab problem

Ok I have no idea what is going on:

Now i get this;
Make: The target "C:\Code\main.o" is up to date.
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\ifi_startup.o" is out of date.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "ifi_startup.c" -fo="ifi_startup.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\ifi_utilities. o" is out of date.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "ifi_utilities.c" -fo="ifi_utilities.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. o" is out of date.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "user_routines.c" -fo="user_routines.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. c:168:Warning [2066] type qualifier mismatch in assignment
C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. c:191:Warning [2066] type qualifier mismatch in assignment
C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. c:193:Error [1203] too few arguments in function call
Halting build on first failure as requested.
BUILD FAILED: Mon Jan 08 21:49:59 2007
  #6   Spotlight this post!  
Unread 09-01-2007, 01:25
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: Please help; HUGE mplab problem

Quote:
Originally Posted by brennerator View Post
Ok I have no idea what is going on:

Now i get this;
Make: The target "C:\Code\main.o" is up to date.
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\ifi_startup.o" is out of date.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "ifi_startup.c" -fo="ifi_startup.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\ifi_utilities. o" is out of date.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "ifi_utilities.c" -fo="ifi_utilities.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Make: The target "C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. o" is out of date.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "user_routines.c" -fo="user_routines.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. c:168:Warning [2066] type qualifier mismatch in assignment
C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. c:191:Warning [2066] type qualifier mismatch in assignment
C:\Documents and Settings\Achuta\Desktop\FRC_DEFAULT\user_routines. c:193:Error [1203] too few arguments in function call
Halting build on first failure as requested.
BUILD FAILED: Mon Jan 08 21:49:59 2007
The first two warnings are related to calls to printf() and the error, I'm guessing, has to do with a call to Generate_Pwms().

To fix the problem, go to this dialog box: Project->Build Options->Project->MPLAB C18 Tab

Once you're there, click on the "Use Alternate Settings" check box, and then add "-nw=2066 -D_FRC_BOARD" to the end of the stuff in the associated text box. When done, it should read "-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -nw=2066 -D_FRC_BOARD" (without the quotes).

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
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 Problem, please help. winners Programming 9 18-01-2006 17:54
BIG Problem, please help me!! Srkasner FIRST Tech Challenge 2 11-01-2006 12:45
gearing problem. Help please! camsrobotics Motors 9 22-01-2005 20:45
PLEASE HELP US FIND OUR MOMMY (or MPLAB) superlou Programming 3 23-02-2004 16:33
BIG PNUEMATIC PROBLEM NEED HELP PLEASE!!!! archiver 2001 1 24-06-2002 00:30


All times are GMT -5. The time now is 19:39.

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