Page 1 of 1

Compiler error PIC24FJ128GA204 and 24EP512GU810

Posted: Tue Jun 19, 2018 8:30 pm
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

Re: Compiler error PIC24FJ128GA204 and 24EP512GU810

Posted: Wed Jun 20, 2018 8:45 am
by QMESAR
Hi
Both these chips compile just fine fore me in both FC7 and FC8
1.jpg
1.jpg (136.58 KiB) Viewed 5256 times
2.jpg
2.jpg (117.44 KiB) Viewed 5256 times

Re: Compiler error PIC24FJ128GA204 and 24EP512GU810

Posted: Wed Jun 20, 2018 11:40 am
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.

Re: Compiler error PIC24FJ128GA204 and 24EP512GU810

Posted: Wed Jun 20, 2018 7:16 pm
by patrick schoon
Guys,

Thanks for the quick help.

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