Compiler error PIC24FJ128GA204 and 24EP512GU810

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

Moderator: Benj

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

Compiler error PIC24FJ128GA204 and 24EP512GU810

Postby patrick schoon » Tue Jun 19, 2018 8:30 pm

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: 1087
Joined: Sun Oct 05, 2014 3:20 pm
Has thanked: 334 times
Been thanked: 544 times
Contact:

Re: Compiler error PIC24FJ128GA204 and 24EP512GU810

Postby QMESAR » Wed Jun 20, 2018 8:45 am

Hi
Both these chips compile just fine fore me in both FC7 and FC8

1.jpg
1.jpg (136.58 KiB) Viewed 932 times


2.jpg
2.jpg (117.44 KiB) Viewed 932 times

User avatar
Benj
Matrix Staff
Posts: 14130
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4325 times
Been thanked: 4070 times
Contact:

Re: Compiler error PIC24FJ128GA204 and 24EP512GU810

Postby Benj » Wed Jun 20, 2018 11:40 am

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: 51
Joined: Mon Aug 23, 2010 7:07 pm
Location: Amsterdam
Has thanked: 4 times
Been thanked: 9 times
Contact:

Re: Compiler error PIC24FJ128GA204 and 24EP512GU810

Postby patrick schoon » Wed Jun 20, 2018 7:16 pm

Guys,

Thanks for the quick help.

The workaround of re-installing and the register modification did work. All fine now. :D
These users thanked the author patrick schoon for the post (total 2):
QMESAR (Thu Jun 21, 2018 5:27 am) • Benj (Thu Jun 21, 2018 11:16 am)
Rating: 11.11%