Hi,
I am getting problem to compile 16 bit chip in Flowcode 6,I am using professional licence for FC6.
I have design a flowchart very simple just flash a LED with 500 ms delay.
I have tried it on 33fj32mc202 and 33fj32mc204,i did not check it with reinstall fc because it is working fine on all 8 bit chips and PIC24 Family, Plz suggest me the right way
compiler message shown below,
Target folder: C:\Users\SYSPRO\Desktop\Working\EMBEDD~1\Working\7-5-2016\1\test
Source name: C:\Users\SYSPRO\Desktop\Working\Embedded Web Server\Working\7-5-2016\1\test\Flowcode1.fcfx
Title:
Description:
Device: PIC16.33F.33FJ32MC202
Generated by: Flowcode v6.1.3.2
Date: Saturday, May 07, 2016 20:11:45
Users: 1
Registered to: sysprofessional
Licence key: -------
http://www.matrixtsl.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_comp.bat "Flowcode1" "C:\Users\SYSPRO\Desktop\Working\EMBEDD~1\Working\7-5-2016\1\test\" "33FJ32MC202"
Launching compiler...
C:\Users\SYSPRO\Desktop\Working\EMBEDD~1\Working\7-5-2016\1\test>pic30-gcc -c -mcpu="33FJ32MC202" -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\PROGRA~2\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\MX_support" -Wall -std=gnu99 "Flowcode1".c -o "Flowcode1".o
Compilation successful!
Completed compilation, return = 0
Launching the linker/assembler...
C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_link.bat "C:\Users\SYSPRO\Desktop\Working\EMBEDD~1\Working\7-5-2016\1\test\Flowcode1" 33FJ32MC202 33F
C:\Users\SYSPRO\Desktop\Working\EMBEDD~1\Working\7-5-2016\1\test>pic30-gcc -Wl,"C:\Users\SYSPRO\Desktop\Working\EMBEDD~1\Working\7-5-2016\1\test\Flowcode1".o,-L"C:\PROGRA~2\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\C_tools\lib",--heap=256,--report-mem,--script="C:\PROGRA~2\FLOWCO~1\COMPIL~1\pic16\BATCHF~1\..\Support\33F\gld\p33FJ32MC202.gld",-o"C:\Users\SYSPRO\Desktop\Working\EMBEDD~1\Working\7-5-2016\1\test\Flowcode1".cof
c:\progra~2\flowco~1\compil~1\pic16\bin\bin\..\bin/pic30-coff-ld.exe: Error: Settings in '__FGS.sec' are not valid for target device 33FJ32MC202
Error returned from [pic30-gcc.exe]
C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_link.bat reported error code 1
FINISHED
FC6 Compilation problem with DSPIC
Moderator: Benj
- sysprofessional
- Posts: 54
- Joined: Sat Oct 26, 2013 7:16 pm
- Has thanked: 28 times
- Been thanked: 4 times
- Contact:
- 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: FC6 Compilation problem with DSPIC
Hello,
Thanks for letting us know. We have now found and fixed some problems with the alignment of the configuration words for the devices you mentioned as well as a few others.
Extract the attached files into your "Flowcode 6\FCD\PIC16" folder to apply the changes.
However this has not fixed the compilation error so it looks like this is a compiler related bug. We will continue investigating and see if we can find the cause.
Thanks for letting us know. We have now found and fixed some problems with the alignment of the configuration words for the devices you mentioned as well as a few others.
Extract the attached files into your "Flowcode 6\FCD\PIC16" folder to apply the changes.
However this has not fixed the compilation error so it looks like this is a compiler related bug. We will continue investigating and see if we can find the cause.
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
- 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: FC6 Compilation problem with DSPIC
I've had a good play, taking compiler resources for a working device 33FJ64MC202 and placing it in the 33FJ32MC202 resources but so far I've not been able to fix the problem.
We have also tested the fixed chip definition files using the new Flowcode v7 compiler and this is working correctly so this confirms it is a compiler issue that is causing the problem.
We have also tested the fixed chip definition files using the new Flowcode v7 compiler and this is working correctly so this confirms it is a compiler issue that is causing the problem.
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
- 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: FC6 Compilation problem with DSPIC
Right I've managed to fix the compile error by getting rid of the problematic config registers from the definition file.
The registers only dealt with things like code protect so you should be ok with the config settings removed as long as you don't need the code protect functionality.
The registers only dealt with things like code protect so you should be ok with the config settings removed as long as you don't need the code protect functionality.
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
Re: FC6 Compilation problem with DSPIC
Hello,
I have a similar problem whenever I try to us the eeprom in my code. The chip in question is the PIC24FV32KA301. If I remove all occurrences of the eeprom I can compile successfully but once I include it I get the following error:
Error returned from [pic30-gcc.exe]
Can you provide a fix for me please?
I have a similar problem whenever I try to us the eeprom in my code. The chip in question is the PIC24FV32KA301. If I remove all occurrences of the eeprom I can compile successfully but once I include it I get the following error:
Error returned from [pic30-gcc.exe]
Can you provide a fix for me please?