Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Problem with MPLAB (http://www.chiefdelphi.com/forums/showthread.php?t=33504)

d.courtney 27-01-2005 17:46

Problem with MPLAB
 
how do you export MVS projects as hex files

AIBob 27-01-2005 18:45

Re: Problem with MPLAB
 
In the toolbar:
Project -> Build All
or Ctrl+F10
if that does not work, then make sure that mcc18 is inside..
By going to (in the toolbar):
Project -> Select Language Toolsuite...

d.courtney 29-01-2005 15:22

Re: Problem with MPLAB
 
Yah i tryed that still dosen't work. when i go to build it says:

Executing: "c:\mcc18\bin\mcc18.exe" -p=18F452 "user_SerialDrv.c" -fo="user_SerialDrv.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
This version of the compiler supports only the PIC18F8520 processor.
Halting build on first failure as requested.
BUILD FAILED: Sat Jan 29 15:21:31 2005

Help please

AIBob 29-01-2005 15:31

Re: Problem with MPLAB
 
Try re-installing mcc18,
or if that does not work, than perhaps you have the wrong PIC setup in the workspace by going to "Configure -> Select Device" and set it to PIC18F8520

d.courtney 02-02-2005 16:22

Re: Problem with MPLAB
 
Ok I did all that now it says:

Executing: "c:\mcc18\bin\mcc18.exe" -p=18F8520 "user_SerialDrv.c" -fo="user_SerialDrv.o" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
C:\mcc18\h\p18f8520.h:169:Error [1109] type mismatch in redeclaration of 'PORTBbits'
C:\mcc18\h\p18f8520.h:201:Error [1109] type mismatch in redeclaration of 'PORTCbits'
Halting build on first failure as requested.
BUILD FAILED: Wed Feb 02 16:20:53 2005

Mark McLeod 02-02-2005 21:42

Re: Problem with MPLAB
 
Quote:

Originally Posted by d.courtney
C:\mcc18\h\p18f8520.h:169:Error [1109] type mismatch in redeclaration of 'PORTBbits'

Rickertsen2 just cleared this up over here:
http://www.chiefdelphi.com/forums/sh...690#post330690


All times are GMT -5. The time now is 18:28.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi