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

18f4520.h

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



Joined: 04 Sep 2010
Posts: 19

View user's profile Send private message

18f4520.h
PostPosted: Sat Sep 04, 2010 12:52 pm     Reply with quote

my pcw c compiler dont have the 18f4520.h device, where can i find it??
or someone please share the code for me.

for an example, this is the device code for the pic16f877a:
Code:

//////// Standard Header file for the PIC16F877A device ////////////////
#device PIC16F877A


++++++++++++++++++
Header file deleted.

Reason: Forum Rule #10
10. Don't post the CCS example code or drivers, or ask for such code and
drivers. This includes header files for devices (example 18f452.h). If you
are missing this header file that means your compiler does not support it!
Upgrade your compiler.

Forum Rules:
http://www.ccsinfo.com/forum/viewtopic.php?t=26245

-- Forum Moderator
++++++++++++++++++
Ttelmah



Joined: 11 Mar 2010
Posts: 19360

View user's profile Send private message

PostPosted: Sat Sep 04, 2010 1:58 pm     Reply with quote

The 'header', is simple text.
Adding the header, _does not_ allow the compiler to support a processor. The processor support is built into the devices file that comes with the compiler, and updating this, involves either using device editor, and copying settings from a similar chip (in which case you also just copy the header) - sometimes needed if a chip is not yet supported, or buying a compiler update.

The header file is copywrite, and won't give you support for a chip. You are in breach of forum rules, by posting the one for the pic16.

Also, the 16F877, uses the PCM compiler, while PIC18's require the PCH compiler.

Best Wishes
hasimi20



Joined: 04 Sep 2010
Posts: 19

View user's profile Send private message

PostPosted: Sun Sep 05, 2010 8:44 am     Reply with quote

I am going to use the pcwhd compiler, does the 18f4520.h available??
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Sun Sep 05, 2010 10:04 am     Reply with quote

Quote:

I am going to use the pcwhd compiler, does the 18f4520.h available??

The 18F4520.H was introduced aprox. in the first quarter of 2005, since then was included in all the PCH,
PCWH and PCWHD versions.

Regards
hasimi20



Joined: 04 Sep 2010
Posts: 19

View user's profile Send private message

PostPosted: Sun Sep 05, 2010 10:18 am     Reply with quote

hahaha....
finally!!!!i can do all my work..thanks
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