Creating/modifying FCD files to support new chips

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

User avatar
mytekcontrols
Posts: 89
Joined: Sun Aug 19, 2007 6:38 pm
Location: Santa Rosa, California
Has thanked: 3 times
Been thanked: 6 times
Contact:

Creating/modifying FCD files to support new chips

Postby mytekcontrols » Mon Oct 23, 2017 8:31 pm

Ok here's the dilemma I'm faced with...
I'm using the last revision of Flowcode V4 (v4.5.18.74) and find myself missing an FCD file for a PIC12F1571 which I would like to use for a project. However I did notice that there is an FCD for a PIC12F675 which has a lot of similar stuff, but obviously missing a few things such as the PLL. So my thought was could the 12F675.fcd file be modified to include and/or fix the differences, then renamed as 12F1571.fcd, and be used in FlowCode V4?

- Michael
Michael St. Pierre
FlowCode V3&V4 Pro Registered User
Manufacture: Heat Load Controllers,
and a variety of other widgets.

kersing
Valued Contributor
Valued Contributor
Posts: 1760
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 463 times
Been thanked: 969 times
Contact:

Re: Creating/modifying FCD files to support new chips

Postby kersing » Mon Oct 23, 2017 10:08 pm

Have you checked if the BoostC compiler provided with Flowcode V4 supports the chip? Otherwise you still will not be able to use the chip...

Looking at the supported chips for the newest BoostC compiler this chip is not listed so you are out of luck. Flowcode 7 uses a different compiler and lists the chip when creating a new project so may-be you need to upgrade...
These users thanked the author kersing for the post (total 2):
LeighM (Tue Oct 24, 2017 8:27 am) • mytekcontrols (Tue Oct 24, 2017 11:56 pm)
Rating: 11.76%
 
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
mytekcontrols
Posts: 89
Joined: Sun Aug 19, 2007 6:38 pm
Location: Santa Rosa, California
Has thanked: 3 times
Been thanked: 6 times
Contact:

Re: Creating/modifying FCD files to support new chips

Postby mytekcontrols » Tue Oct 24, 2017 11:55 pm

Thanks for checking that out. Too bad, but I guess I could always take the assembler output, tweak it to look like a PIC12F1571 and then run that through MPASM. I just don't feel like redoing my flowcode in a different language or upgrading beyond where i am at.

Thanks again,
Michael
Michael St. Pierre
FlowCode V3&V4 Pro Registered User
Manufacture: Heat Load Controllers,
and a variety of other widgets.

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

Re: Creating/modifying FCD files to support new chips

Postby Benj » Wed Oct 25, 2017 10:27 am

Hi Michael,

I guess I could always take the assembler output, tweak it to look like a PIC12F1571 and then run that through MPASM


That sounds like a lot of effort, the 12F1571 is quite a bit different from the 12F675 so might not be worth doing it this way. Why not download and try the free 30-day trial of Flowcode 7. This should be enough to allow you to load your v4 project, change the target device, compile to target and see if it's going to do what you need. Hopefully while doing this you will like what you see in v7 and want to upgrade permanently :D .