Go to Post Never quit, never give up, never say die! - Cascade [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #12   Spotlight this post!  
Unread 01-12-2008, 14:21
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 688
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: Generic error in MPLAB

I'm still too mellow from turkey to give you the same lecture Alan just gave you, so I'll just tell you to look at kevin.org/frc/ -- the pre-2009 code is all there. Look at what Kevin has as a starting point, "compare and contrast", "exercise is left for the student" and all. I'm going to take a guess and say look at 2007 FRC code -- Kevin greatly changed and simplified the 2008 code and probably wrote something in the header saying as much.

Code:
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F8722 "main.c" -fo="main.o" -D_FRC_BOARD -D_LARGE_CODE -D_DONT_USE_TMR0 -mL -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
The two -D's that are bolded I've never seen before. Looking at page 95 of Kevin's link C18_3.0_users_guide.pdf (page 104 of the PDF) show them to be for macros in one of your C listings. Do a global search thru your code to find them. I'm guessing that TMR0 is one of the PIC timers; you'll have to dig deep into PIC18_reference.pdf to read about that. They are not "standard" macros in Kevin's code. The ones I have are
Code:
-Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa- -mL -nw=2066 -D_FRC_BOARD
Come to think of it, I think Alan told me those last two, many moons ago. Thanks again, Alan.
 


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 build error Derek t Programming 7 17-01-2005 09:33
MPLAB build error cabbagekid2 Programming 7 12-01-2005 13:36
MPLAB IDE 6.60 Error mchan1111 Programming 8 08-11-2004 20:17
MPlab error ryan_f Programming 9 24-05-2004 07:30
Mplab startup error Team 869 Programming 6 25-01-2004 10:41


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

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