View previous topic :: View next topic |
Author |
Message |
g@rd3n3r
Joined: 14 Jul 2016 Posts: 2
|
Unknown device type "PIC18F26K80" |
Posted: Thu Jul 14, 2016 10:06 am |
|
|
Getting this error when compiling.
if I change the include to be "#include <18F26K20.h>" instead of
#include <18F26K80.h>
then the device is found
using PCH 4.053 and have compiled this source code before.
Any thoughts |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Thu Jul 14, 2016 10:20 am |
|
|
Did you accidentally move the .h file out of the Devices directory ?
Do a search of all likely places that you might have moved the file to.
You can use the Windows search engine for this. Also look in the
Windows Recycle Bin. |
|
|
gaugeguy
Joined: 05 Apr 2011 Posts: 303
|
|
Posted: Thu Jul 14, 2016 11:29 am |
|
|
I believe version 4.053 came out in 2007 and the PIC18F26K80 wasn't even n beta testing until late 2010. |
|
|
gjs_rsdi
Joined: 06 Feb 2006 Posts: 468 Location: Bali
|
|
Posted: Thu Jul 14, 2016 5:43 pm |
|
|
He is saying:
"using PCH 4.053 and have compiled this source code before"
So he should try PCM programmer advice
Best wishes
Joe |
|
|
drolleman
Joined: 03 Feb 2011 Posts: 116
|
|
Posted: Fri Jul 15, 2016 12:00 am |
|
|
I installed 4.053 and it's not there. the closest is 26k20 |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19552
|
|
Posted: Fri Jul 15, 2016 1:24 am |
|
|
I think Gaugeguy is undoubtedly right. My guess would be that the poster actually used a different chip when he 'compiled it before', possibly something like the 2680, rather than the 26K80....
Support for the 26K80, didn't appear till the low 4.100 versions (it wasn't there in 4.112, but was in 4.114). Late 2010. |
|
|
|