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.
//Configuration data not present in .C for 24FJ256GA110
Moderator: Benj
Re: //Configuration data not present in .C for 24FJ256GA110
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...
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...
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel