PIC12F1501 chip support

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

PIC12F1501 chip support

Postby STibor » Mon Jun 20, 2016 6:02 pm

Hello!

PIC12F1501 is not supported.
The PIC12F1501 the PIC16F1503, 1507, 1508 belong to the family. (I do not understand why 12F to prefix this controller ...)
It is possible the PIC 12F1501 support?
Thanks for youre answer!

User avatar
Benj
Matrix Staff
Posts: 14581
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4605 times
Been thanked: 4241 times
Contact:

Re: PIC12F1501 chip support

Postby Benj » Tue Jun 21, 2016 10:46 am

Hello,

Sorry these devices are not supported by the PIC compiler in Flowcode 6.

We have a new compiler for Flowcode v7 so I will see if I can get these devices included for you.

There are a number of PIC device families that cross the 12F / 16F boundary. On the modern PIC devices the main difference between a 12F and 16F is the pin count. 12F devices are always 8-pin whereas 16F devices start at 14-pin.

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: PIC12F1501 chip support

Postby STibor » Wed Jun 22, 2016 8:04 pm

Hello!

Thanks for the reply!

Manually you can not create device description files?

A little experimenting, I created 12F1501.fcdx file PIC12F1501.TDF file (registers rewrote the basis of the pic data sheet) PIC12F1501.h file. 16F1503 modifying files.
Unfortunately does not work, ansela, option reg gives the compiler error unknown error.

kersing
Valued Contributor
Valued Contributor
Posts: 1894
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 541 times
Been thanked: 1058 times
Contact:

Re: PIC12F1501 chip support

Postby kersing » Wed Jun 22, 2016 8:10 pm

You can create the required files yourself, however Matrix indicated in the past they will not do create the files required for the compiler to support additional chips and they can not provide support if you create them yourself.
These users thanked the author kersing for the post:
EtsDriver (Wed Jun 22, 2016 8:42 pm)
Rating: 5.26%
 
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: PIC12F1501 chip support

Postby STibor » Wed Jun 22, 2016 8:45 pm

The question is, what type of files?
The question to solve this problem?
If there is an immutable file compiled which prevents the creation of the chip is not dealt with.
If it is not possible to create the chip, I understand.
We can understand that there is no capacity for development.
I believe that the very flowcode7 sale, but the world still has not stopped.
The work can not stop.

kersing
Valued Contributor
Valued Contributor
Posts: 1894
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 541 times
Been thanked: 1058 times
Contact:

Re: PIC12F1501 chip support

Postby kersing » Wed Jun 22, 2016 9:31 pm

If you want to create the Boost C compiler support files, check the forum for examples, it has been done before, all files required are text files you can create with an editor. You need at least xxx.TDF and xxx.h for Boost C. And when those are ready you need to update a file named map.txt and a file named BoostCPic16.h. When all files for Boost C are ready you need the xxx.fcdx file as well and at that point you should be done. (Apart from fixing issues if you made mistakes)

I've done this myself for Flowcode 5 to support the 16F1455 and 18F24K50/18F25K50 and it is not too difficult, but a lot of work and you might encounter compiler bugs like I did. (I had to buy Boost C with a support contract to get SourceBoost to fix the compiler)
These users thanked the author kersing for the post (total 3):
Benj (Thu Jun 23, 2016 12:08 am) • medelec35 (Thu Jun 23, 2016 6:10 am) • Rudi (Thu Jun 23, 2016 9:04 am)
Rating: 15.79%
 
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 115 times
Been thanked: 112 times
Contact:

Re: PIC12F1501 chip support

Postby STibor » Thu Jun 23, 2016 4:03 am

Thanks for the reply!

You solved the problem.
I BoostCPic16.h. file has not been edited with.
Therefore, the end result was bad.
There is hope.
Thank you!
These users thanked the author STibor for the post:
Benj (Thu Jun 23, 2016 2:34 pm)
Rating: 5.26%