DSPIC33FJ256GP710A error compiler

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
Wolfgang Kos
Posts: 21
Joined: Wed Jun 19, 2013 8:43 am
Has thanked: 2 times
Been thanked: 3 times

DSPIC33FJ256GP710A error compiler

Post by Wolfgang Kos »

Hello,
i will make a test programm for DSPIC33FJ256GP710A.
Now it comes this error Error:
Settings in '__FGS.sec' are not valid for target device 33FJ256GP710A
I deleted the code and the error like the same.

Show this:
___________________________________________________________________________________________________________________________________
Target folder: C:\EPC\1FLOWC~1\EXPLOR~1
Source name: C:\EPC\1 Flowcode\Explorer 16\dsPic33FJ.fcfx
Title:
Description:
Device: PIC16.33F.33FJ256GP710A
Generated by: Flowcode v6.1.2.0
Date: Monday, June 01, 2015 09:50:53
Users: 1
Registered to: Wolfgang Kos
Licence key: YJ9FDQ
http://www.flowcode.co.uk
Start des Compilers...
C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_comp.bat "dsPic33FJ" "C:\EPC\1FLOWC~1\EXPLOR~1\" "33FJ256GP710A"
Launching compiler...

C:\EPC\1FLOWC~1\EXPLOR~1>pic30-gcc -c -mcpu="33FJ256GP710A" -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 "dsPic33FJ".c -o "dsPic33FJ".o

Compilation successful!
Completed compilation, return = 0

Start von Linker/Assembler...
C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_link.bat "C:\EPC\1FLOWC~1\EXPLOR~1\dsPic33FJ" 33FJ256GP710A 33F

C:\EPC\1FLOWC~1\EXPLOR~1>pic30-gcc -Wl,"C:\EPC\1FLOWC~1\EXPLOR~1\dsPic33FJ".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\p33FJ256GP710A.gld",-o"C:\EPC\1FLOWC~1\EXPLOR~1\dsPic33FJ".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 33FJ256GP710A

Error returned from [pic30-gcc.exe]

C:\Program Files (x86)\Flowcode 6\compilers\pic16\batchfiles\pic16_C30_link.bat Hat den Fehlercode 1 gemeldet

_________________________________________________________________________________________________________________________________________________________________________________________
Can anyone help, Thank you.

Wolfgang

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: DSPIC33FJ256GP710A error compiler

Post by Benj »

Hello Wolfgang,

It seems to be a compiler error, there is another effected device reported here: http://www.flowcode.co.uk/mmforums/viewt ... sec#p52380

You could try removing the config from your program by unticking the config options. This should allow you to compile and then the options can be added into the hex file manually or using a tool like MPLAB.

Wolfgang Kos
Posts: 21
Joined: Wed Jun 19, 2013 8:43 am
Has thanked: 2 times
Been thanked: 3 times

Re: DSPIC33FJ256GP710A error compiler

Post by Wolfgang Kos »

Hello Benj,

thank you very much.
When I unticking the config option, I can compile... :D

Post Reply