Compiler error PIC24FJ128GA204 and 24EP512GU810

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
patrick schoon
Posts: 74
Joined: Mon Aug 23, 2010 7:07 pm
Location: Amsterdam
Has thanked: 7 times
Been thanked: 13 times
Contact:

Compiler error PIC24FJ128GA204 and 24EP512GU810

Post by patrick schoon »

Hi,

Please check the compiler support for the PIC128GA204 and PIC24EP512GU810.
On both i get an error.

No complex data writen, just a blinking led in a loop..

Launching the compiler...
C:\Program Files (x86)\Flowcode 7\compilers\pic16\batchfiles\pic16_C30_comp.bat "test" "D:\ELECTR~1\Flowcode\MACROS~1\" "24FJ128GA204"
Launching compiler...

D:\ELECTR~1\Flowcode\MACROS~1>xc16-gcc -c -mcpu="24FJ128GA204" -omf=coff -funsigned-char -fno-short-double -Os -I"C:\PROGRA~2\FLOWCO~2\COMPIL~1\pic16\BATCHF~1\..\support\h" -I"C:\PROGRA~2\FLOWCO~2\COMPIL~1\pic16\BATCHF~1\" -std=gnu99 "test".c -o "test".o
Options have been disabled due to restricted license
Visit http://www.microchip.com/ to purchase a new key.
test.c:32:22: fatal error: p24Exxxx.h: No such file or directory
compilation terminated.

Error returned from [xc16-gcc.exe]
Completed compilation, return = 1

C:\Program Files (x86)\Flowcode 7\compilers\pic16\batchfiles\pic16_C30_comp.bat reported error code 1



FINISHED

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: Compiler error PIC24FJ128GA204 and 24EP512GU810

Post by QMESAR »

Hi
Both these chips compile just fine fore me in both FC7 and FC8
1.jpg
1.jpg (136.58 KiB) Viewed 5251 times
2.jpg
2.jpg (117.44 KiB) Viewed 5251 times

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: Compiler error PIC24FJ128GA204 and 24EP512GU810

Post by Benj »

Hi Patrick,

Can you confirm if the "p24Exxxx.h" file exists in the following directory.

C:\Program Files (x86)\Flowcode 7\compilers\pic16\support\PIC24E\h

If the file is there then it may be worth trying this workaround.

http://www.matrixtsl.com/faq/index.php? ... artlang=en

If the file is not there then it may be worth uninstalling and reinstalling Flowcode.

patrick schoon
Posts: 74
Joined: Mon Aug 23, 2010 7:07 pm
Location: Amsterdam
Has thanked: 7 times
Been thanked: 13 times
Contact:

Re: Compiler error PIC24FJ128GA204 and 24EP512GU810

Post by patrick schoon »

Guys,

Thanks for the quick help.

The workaround of re-installing and the register modification did work. All fine now. :D

Post Reply