CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Unknown device type "18F67J60.H"

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
JerryR



Joined: 07 Feb 2008
Posts: 164

View user's profile Send private message

Unknown device type "18F67J60.H"
PostPosted: Tue Aug 02, 2016 8:28 am     Reply with quote

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: 9134
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Aug 02, 2016 10:36 am     Reply with quote

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: 164

View user's profile Send private message

PostPosted: Tue Aug 02, 2016 11:06 am     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Aug 02, 2016 11:21 pm     Reply with quote

in your code drop the pic in pic18f just #include <18f67j60>
Ttelmah



Joined: 11 Mar 2010
Posts: 19260

View user's profile Send private message

PostPosted: Wed Aug 03, 2016 12:28 am     Reply with quote

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. Smile
JerryR



Joined: 07 Feb 2008
Posts: 164

View user's profile Send private message

PostPosted: Wed Aug 03, 2016 5:54 am     Reply with quote

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!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group