View previous topic :: View next topic |
Author |
Message |
JerryR
Joined: 07 Feb 2008 Posts: 167
|
Unknown device type "18F67J60.H" |
Posted: Tue Aug 02, 2016 8:28 am |
|
|
Hi Group:
I'm using PCWH version 5.021 and I'm unable to compile a simple program.
The Build Output window flags the follow when i attempt to ompile:
Clean: Deleting intermediary and output files.
Clean Warning: File "J:\AAA_PROJECTS\Dantherm New AC Controller\C Code\lcd.o" doesn't exist.
Clean: Deleted file "J:\AAA_PROJECTS\Dantherm New AC Controller\C Code\lcd.ERR".
Clean: Done.
Executing: "C:\Program files\Picc\CCSC.exe" +FH "lcd.c" #__DEBUG=1 +ICD +DF +LN +T +A +M +Z +Y=9 +EA #__18F67J60=TRUE
--- Info 300 "C:\PROGRA~1\PICC\devices\18F67J60.h" Line 11(9,15): More info: Device database: "C:\Program Files\PICC\dll\5.021\devices5.dat"
*** Error 24 "C:\PROGRA~1\PICC\devices\18F67J60.h" Line 11(9,22): Unknown device type "PIC18F67J60.H"
1 Errors, 0 Warnings.
Build Failed.
Skipping link step. Not all sources built successfully.
BUILD FAILED: Tue Aug 02 10:20:24 2016
The error occurs in the 18F67J60.h file at the the line:
#device PIC18F67J60.h
Does anyone see something I don't? Why is an 18F67J60 an unknown device?
I've had a terrible time since CCS sent me a new devices5.dat. Could this be the problem?
Regards and thanks |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9245 Location: Greensville,Ontario
|
|
Posted: Tue Aug 02, 2016 10:36 am |
|
|
first guess would be that that version of the compiler is older than the PIC type.
I'm thinking you should be able to go to CCSs website and find a compiler version vs PIC type chart ?
jay |
|
|
JerryR
Joined: 07 Feb 2008 Posts: 167
|
|
Posted: Tue Aug 02, 2016 11:06 am |
|
|
temtronic:
I'll confirm that, however, I did re-install 5.021 and the issue resolved. A few months back I asked CCS to amend the devices5.dat files because there wwas a mistake in pin assignments for an unrelated controller. They did so and the file they produced was somehow corrupted, Just a guess, however.
Thanks so much temtronic for your interest. |
|
|
drolleman
Joined: 03 Feb 2011 Posts: 116
|
|
Posted: Tue Aug 02, 2016 11:21 pm |
|
|
in your code drop the pic in pic18f just #include <18f67j60> |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19545
|
|
Posted: Wed Aug 03, 2016 12:28 am |
|
|
JerryR wrote: | temtronic:
I'll confirm that, however, I did re-install 5.021 and the issue resolved. A few months back I asked CCS to amend the devices5.dat files because there wwas a mistake in pin assignments for an unrelated controller. They did so and the file they produced was somehow corrupted, Just a guess, however.
Thanks so much temtronic for your interest. |
I'd guess it was based on a slightly older release.
I'd point out to them that they have made a mistake, and ask nicely for a compiler with the issue resolved, that works for all the chips it is meant to.
With luck, you may get a nice new release. |
|
|
JerryR
Joined: 07 Feb 2008 Posts: 167
|
|
Posted: Wed Aug 03, 2016 5:54 am |
|
|
drolleman, Ttelmah:
Thank you for your replies. I'm probably going to renew my subscription soon and that might fix a lot of issues I've been having. I did reinstall the IDE/PCWH and it resolved the header file issue.
Thanks again and best regards! |
|
|
|