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

choice of PIC specification

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



Joined: 06 Jul 2012
Posts: 8

View user's profile Send private message

choice of PIC specification
PostPosted: Thu Jul 12, 2012 9:45 am     Reply with quote

Hello people,
I wonder if I can edit a model of PIC in CCS so that it is the functionality of the model PIC16F178X? If as is possible to obtain the code of the design specification? Shocked
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Thu Jul 12, 2012 10:00 am     Reply with quote

What? your comment made no sense...

If you want you can PM me in spanish and i might help or translate properly.

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jul 12, 2012 4:25 pm     Reply with quote

I think he may have an older version of the CCS compiler (full IDE) and
he wants to add the 16F1782 or 16F1783 to the device database.
In other words, he wants to "add a new chip". This can partially be done
by creating a new record in the database by using the Device Editor
that comes with the PCW, PCHWH, or PCWHD compilers. But if you
do this successfully, you will only have added the ability to compile
and program for that PIC. If the PIC has any new features that require
built-in functions, you will have to write those functions yourself. Or if
the PIC peripherals are sufficiently different from other PICs, the CCS
built-in functions may not work. Again, you will have to write new ones
by yourself.

There are several threads on how to use the Device Editor. The best way
to find them is to search Google for this:
Quote:

site:ccsinfo.com/forum "Device Editor"
diegofortuna



Joined: 06 Jul 2012
Posts: 8

View user's profile Send private message

PostPosted: Fri Jul 13, 2012 4:52 am     Reply with quote

Hola,
Me pregunto si puedo editar un modelo de PIC en CCS para que la funcionalidad es el modelo PIC16F178X? Si es posible, obtener el código y las especificaciones de este modelo?
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Fri Jul 13, 2012 6:25 am     Reply with quote

Hi Diego,

Forum rules state that the language is English... thus i asked you to PM (private message) me... so i wont answer in spanish.

anyways...
regarding your question: PCM programmer's answer is as close as you can get.

what is your compiler version?

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
diegofortuna



Joined: 06 Jul 2012
Posts: 8

View user's profile Send private message

PostPosted: Mon Jul 16, 2012 10:25 am     Reply with quote

My version is 4.78 ... I can not find this model in the library
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Tue Jul 17, 2012 6:14 am     Reply with quote

Latest compiler revision is 4.134 so 4.78 is not a valid revision.

check the top of your LST file

G.
_________________
CCS PCM 5.078 & CCS PCH 5.093
diegofortuna



Joined: 06 Jul 2012
Posts: 8

View user's profile Send private message

PostPosted: Tue Jul 17, 2012 8:36 am     Reply with quote

Forgive me by mistake. The version I saw here is 4.074. I have great difficulty in finding this model of PIC, it is new model ... Shocked Shocked Shocked
Gabriel



Joined: 03 Aug 2009
Posts: 1067
Location: Panama

View user's profile Send private message

PostPosted: Tue Jul 17, 2012 10:51 am     Reply with quote

Current revision 4.135 (just Checked) is 61 revisions later than yours...

The _current_revision only supports 16F1782 and 16F1783

The PIC16F178x line is pretty new... probably newer than CCS 4.074 from what I've been able to google...

That new line of PICs has a billion new features and hardware modules that are almost certainly NOT supported on your compiler...

So, if you follow PCM's advice you might get the ability to compile code for your PIC however you will have to code everything yourself to support the hardware features of your PIC, it can be done, but you will spend more time getting the functions to work than coding your _actual_application...

In other words, change pic, change design.... or code EVERYTHING your self.
Its a waste of time to try to get it to work on your pic with your compiler rev.

G
_________________
CCS PCM 5.078 & CCS PCH 5.093
diegofortuna



Joined: 06 Jul 2012
Posts: 8

View user's profile Send private message

PostPosted: Wed Jul 18, 2012 6:12 am     Reply with quote

Okay then ... It is that this model is the best that fits in my project, but I'll find a solution ... Surprised

   Thanks for the help! Laughing
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