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

Looking for PIC <18F6527.h> Header-File

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



Joined: 10 Nov 2003
Posts: 3

View user's profile Send private message Send e-mail

Looking for PIC <18F6527.h> Header-File
PostPosted: Tue Aug 23, 2005 4:02 am     Reply with quote

Hi Folks,

I am using an older version of the CCS-Compiler. (Baseline 3.91 of PCWH)

Now I want to start a new project using the 18F6527 - PIC but my CCS version does not contain the necessary header.

Could anyone send me the header file (just copy from the DEVICES folder)

Thanks a lot ! ! !

Greetings from Germany

Thomas
Ttelmah
Guest







PostPosted: Tue Aug 23, 2005 4:26 am     Reply with quote

Repeat after me:
Adding the header file, wll not make the compiler support the chip.
You need to buy an upgraded version with the chip in it's database.

Best Wishes
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Tue Aug 23, 2005 5:20 am     Reply with quote

Quote:
(Baseline 3.91 of PCWH)
Do you mean v3.191?

Ttelmah is right. Some people might point you to the chipedit.exe tool that comes with PCWH, but this is only an option when your chip has minimal differences from supported processor models (otherwise you will spend a lot of time and still fail to get it working).
Considering the cheap price for another year support and upgrades you are better of with the upgrade.
valar2006



Joined: 22 Jul 2005
Posts: 1

View user's profile Send private message

PostPosted: Tue Aug 23, 2005 5:35 am     Reply with quote

Huh? coreg canada
canada esomeprazole description [spam] medicine
[spam] free shipping zanaflex addiction
wawrzyniak



Joined: 10 Nov 2003
Posts: 3

View user's profile Send private message Send e-mail

Why should it not work?
PostPosted: Tue Aug 23, 2005 6:26 am     Reply with quote

Hi

1) The uC core is the same like the 18F458 etc.
2) PIC 18 assembler is PIC 18 assembler.

The only difference is the on chip periphery (Timer etc.) which I can set via SFR.

There are two possibilities:
A) to set the SFR directly or
B) set the SFR using the Header

Why should it not work?

Please send me the Header. I'm gonna try it at my own risk.
If it does not work, I will buy an update.

You are right! The baseline is the 3.191 :-)

Ciao Thomas
MikeValencia



Joined: 04 Aug 2004
Posts: 238
Location: Chicago

View user's profile Send private message Send e-mail Yahoo Messenger

PostPosted: Tue Aug 23, 2005 6:58 am     Reply with quote

One of the rules in posting code is

Quote:

7.) Realize that CCS examples and drivers that are included with the compiler are only available to licensed CCS users. Please do NOT copy this code into the forums. You MAY #include such files in any libraries or examples.


You should try asking CCS for the .h file. Subscribers on the forum though are asked not to post copyrighted code. At most, you can only #include the .h file in your example code. Sorry.

If cost is the issue, you should consider buying PCH. Perhaps, since you are past PCWH subscriber, CCS may give it to you for the price of an upgrade. Doesn't hurt to ask.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

Re: Why should it not work?
PostPosted: Tue Aug 23, 2005 7:19 am     Reply with quote

wawrzyniak wrote:
Hi

1) The uC core is the same like the 18F458 etc.
2) PIC 18 assembler is PIC 18 assembler.

The only difference is the on chip periphery (Timer etc.) which I can set via SFR.

There are two possibilities:
A) to set the SFR directly or
B) set the SFR using the Header

Why should it not work?

Please send me the Header. I'm gonna try it at my own risk.
If it does not work, I will buy an update.

You are right! The baseline is the 3.191 :-)

Ciao Thomas


Well heck if its the same then just use the 18F458.h. Afterall, if you specify a device that does not exist whacha think the compiler is gonna tell ya!
Ttelmah
Guest







PostPosted: Tue Aug 23, 2005 7:19 am     Reply with quote

The header file, _will do nothing for you_. Have a look at one. It does not do any of the setting of the SFR stuff. It is purely a text file containing numeric defines, and a list of the options. The options themselves (which these numbers control), are controlled by the 'devices.dat' file, not the 'header'. Potentially, if you have PCWH, then you can use the device editor to turn on/off the options for a device, and map the various parts to the right addresses, and with this done, then the header file would possibly work, but without these other changes, the compiler will not know where all the peripheral components sit, and the header file will not fix this...

Best Wishes
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

View user's profile Send private message Send e-mail

I think the policy needs one more rule :)
PostPosted: Tue Aug 23, 2005 7:23 am     Reply with quote

Rule 11 - Quit asking for header files that do not exist with your version of compiler. If you do not have them, there is a reason. They will do you no good.
wawrzyniak



Joined: 10 Nov 2003
Posts: 3

View user's profile Send private message Send e-mail

PostPosted: Wed Aug 24, 2005 2:19 am     Reply with quote

You can use the Device.dat from the demo Version.

Thank's for your "help" mates.

I'm gonna start to write my own Header file now.


Ciao Thomas
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