View previous topic :: View next topic |
Author |
Message |
diegofortuna
Joined: 06 Jul 2012 Posts: 8
|
choice of PIC specification |
Posted: Thu Jul 12, 2012 9:45 am |
|
|
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? |
|
|
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
|
|
Posted: Thu Jul 12, 2012 10:00 am |
|
|
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
|
|
Posted: Thu Jul 12, 2012 4:25 pm |
|
|
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
|
|
Posted: Fri Jul 13, 2012 4:52 am |
|
|
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
|
|
Posted: Fri Jul 13, 2012 6:25 am |
|
|
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
|
|
Posted: Mon Jul 16, 2012 10:25 am |
|
|
My version is 4.78 ... I can not find this model in the library |
|
|
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
|
|
Posted: Tue Jul 17, 2012 6:14 am |
|
|
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
|
|
Posted: Tue Jul 17, 2012 8:36 am |
|
|
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 ... |
|
|
Gabriel
Joined: 03 Aug 2009 Posts: 1067 Location: Panama
|
|
Posted: Tue Jul 17, 2012 10:51 am |
|
|
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
|
|
Posted: Wed Jul 18, 2012 6:12 am |
|
|
Okay then ... It is that this model is the best that fits in my project, but I'll find a solution ...
Thanks for the help! |
|
|
|