PDA

View Full Version : Problem with MPLAB


d.courtney
01-27-2005, 05:46 PM
how do you export MVS projects as hex files

AIBob
01-27-2005, 06:45 PM
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
01-29-2005, 03:22 PM
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
01-29-2005, 03:31 PM
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, 04:22 PM
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, 09:42 PM
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/showthread.php?p=330690#post330690