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 CCS Technical Support

CCS support PIC16F72X?

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



Joined: 25 Jul 2008
Posts: 3
Location: Singapore

View user's profile Send private message MSN Messenger

CCS support PIC16F72X?
PostPosted: Fri Jul 25, 2008 3:00 am     Reply with quote

HI all,

Sorry... newbie here Embarassed

Does CCS C Compiler PCM version 4.038 support PIC16F72X device?
I can work on the library/header, but I am not sure whether it can compile correctly using CCS.
I am trying to experiment the new Mtouch device from Microchip.

Thanks for your help!
Ttelmah
Guest







PostPosted: Fri Jul 25, 2008 3:25 am     Reply with quote

Not directly.
If you look at the data sheet for (say) the 16F722, this wasn't even printed by Microchip, till the end of December 2007. The earliest compiler 'after this', was about 4.066.
If you can find another chip with similar 'basic' peripherals, you can always rename this and use it's settings, but you will have to drive any specialist components yourself.

Best Wishes
hkartadi



Joined: 25 Jul 2008
Posts: 3
Location: Singapore

View user's profile Send private message MSN Messenger

PostPosted: Fri Jul 25, 2008 6:37 am     Reply with quote

Is that possible for me to map the register address directly (similar to Hitech compiler .h file)?
Because CCS has compiler directive #byte (if I am not wrong).

On MPLAB IDE, Configuration -> Device. Which device that I need to choose since there is no option to select PIC16F72X.

Thanks for the help.
Ttelmah
Guest







PostPosted: Fri Jul 25, 2008 8:40 am     Reply with quote

Yes, totally.
You can program _any_ 16 chip, with any of the CCS PCM compilers. All you can't do, is use the internal pre-defined functions. Best thing to do, is to find a chip that is supported, that has the same basic memory layout. Any peripherals in common, can be used with the standard code, but any 'extras', will just require you to write your own code. Back in the days when CCS, were much slower adding support than they are now, most of the 'old hands', will have done this.
If you have the 'W' version of the compiler, then in fact you are better off choosing a target that has as may peripherals as possible in common, rather than worrying about the memory size, since the device editor in this version, allows you to configure the latter.
There are off the shelf byte definitions for almost all the registers on the devices, that have been posted here in the past. A search should find them.

Best Wishes
hkartadi



Joined: 25 Jul 2008
Posts: 3
Location: Singapore

View user's profile Send private message MSN Messenger

PostPosted: Fri Jul 25, 2008 10:07 am     Reply with quote

Thanks for the detail explanation Smile
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