Can't compile PIC18F26J11
I am trying to port some code from a PIC16F88 to a larger PIC18F26J11 but I get wierd errors.
Error[132] c:\pbp\18f25j11.inc 18: Unknown processor (18F26j11)
Error [105] c:\pbp\18f25j11.inc 19: Cannot open file (Include file "P18F26J11.INC not found)
There is a file "18f25j11.inc " in the c:\pbp directory.
I have loaded the latest MPASM and I am running MCSP 3.0.0.5 with PBP 2.60a.
What do I have to do to work with the PIC18F26J11?
Thanks
BrianT
ALready upgraded - still no compile
Before starting the PIC18F26J11 exercise, I removed the older MPASM directories from both c:\program files\microchip and c:\MPASM then I downloaded the latest MPLab IDE and MPASM.
I am now running :-
MCS+ v3.0.0.5
PBP v2.60La
MPLab v8.56
MPASM v5.20
Win XP pro
The system is telling me it can't find a file that I can plainly see with windows explorer.
WTF?
BrianT
dyslexic fingers - should be PIC18F26J11 - problem found
Thanks for the last tip ScaleRobotics - you were spot on.
It is not enough to rename a directory from MPASM to MPASM old. You must physically remove the old MPASM version. Your tip was right, MCSP was using the now obsolete MPASM in C:\Program files\mecanique\MCSP\MPASM. I had done a default install of MBLab and that had put MPASMWIN.exe into the C:\Program Files\Microchip\MPASM SUITE directory.
I did a manual find on MPASM from within MCSP 'compile and program' options and pointed MCSP to the Microchip\MPASM Suite directory. MCSP now compiles but with a heap of errors that is o be expected for just changing the processor from PIC16F88 to PIC18G26J11 and nothing else.
It looks like a lot of homework to understand the very different config fuse structure in the 26J11 part.
I don't think my setup is quite right as I get a fleeting burst of C:\ DOS prompt when I compile but that is a task for later.
Cheers
BrianT