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.
Post Reply
User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

PIC12F1501 chip support

Post by STibor »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PIC12F1501 chip support

Post by Benj »

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: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: PIC12F1501 chip support

Post by STibor »

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: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: PIC12F1501 chip support

Post by kersing »

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.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: PIC12F1501 chip support

Post by STibor »

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: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: PIC12F1501 chip support

Post by kersing »

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)
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
STibor
Posts: 263
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 116 times
Been thanked: 113 times
Contact:

Re: PIC12F1501 chip support

Post by STibor »

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!

Post Reply