//Configuration data not present in .C for 24FJ256GA110

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

Post Reply
Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times

//Configuration data not present in .C for 24FJ256GA110

Post by Mathy »

Hi,

I have a big problem with this MCU.
Configuration data are not present in the C file but it is with the 24FJ254DA210 for exemple.

Can you fix this because changing MCU is impossible in this application ?

Thank you for your help.

Mathy
Posts: 333
Joined: Mon Oct 05, 2009 2:39 pm
Has thanked: 30 times
Been thanked: 33 times

Re: //Configuration data not present in .C for 24FJ256GA110

Post by Mathy »

Hello,

Is it possible to look at my problem because I'm desesperate...

If I choose to don't use the external program to configure the MCU in the compiler options, I'm able to write the fuse in the configuration box ( the required _CONFIG data ).
But after clicking OK, the configuration words disappears....

please...

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: //Configuration data not present in .C for 24FJ256GA110

Post by Benj »

Hello,

I have just given this a go using Flowcode v4.4 and using PPP to setup the configuration inside Flowcode seems to work fine. I then compiled to C and the settings are included in the C code.

If you need to manually embed your own configuration C code then you can do this by creating a new project. Do not open the Project Options Configure window as this will add the C code to the Flowcode file for you. Instead go into the Project options supplementary code window and add the C code for the configuration setting here into the definitions section.

You can also hard code the configuration directly into the Flowcode definition file FCD if you wish to. This way any time you use that specific target your config data will already be included and correct. If you have access to Flowcode PIC then you can use the MIAC or Formula Flowcode FCD as a template to modifying the 16-bit PIC FCD. All the hardcoded config stuff is at the top of the FCD file in the device section or directly underneath.

Post Reply