After compilation:
Error 24 "C:\Program Files (x86)\PICC\devices\18f4550.h"Line 2(9,19): Unknown device type -- Try PCH
In the 18f4550.h header file it's written:
//////// Standard Header file for the PIC18F4550 device ////////////////
device PIC18F4550
#nolist
//////// Program memory: 16384x16 Data RAM: 2048 Stack: 31
//////// I/O: 35 Analog Pins: 13
So, I think the right device is included....... I don't understand what happens.
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Mon Dec 05, 2016 12:41 pm
Go to the Configure / Select Device menu in the top right side of the
menu bar in MPLAB. What device is selected there ? It must be set
to 18F4550. You probably currently have it set to a 16F PIC.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum