Hi,
I get the following error when trying to compile to this PIC24 with FCv7.2.1.4:
TEST PIC24FJ128GA202.c:32:22: fatal error: p24Exxxx.h: No such file or directory
The file cannot be found anywhere in the Flowcode 7 folder. Is it possible to get this file and will this solve the compile problem completely?
Kind regards.
Leo
PIC24FJ128GA202 compile error
Moderator: Benj
- 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: PIC24FJ128GA202 compile error
Hi Leo,
The file should be stored here in the Flowcode installation "Flowcode 7\compilers\pic16\support\PIC24E\h"
If the file does not exist then maybe there was a problem with the Flowcode installation? Performing a repair installation should hopefully solve the problem for you.
If the file is there then can you post your Flowcode project and we will investigate for you.
The file should be stored here in the Flowcode installation "Flowcode 7\compilers\pic16\support\PIC24E\h"
If the file does not exist then maybe there was a problem with the Flowcode installation? Performing a repair installation should hopefully solve the problem for you.
If the file is there then can you post your Flowcode project and we will investigate for you.
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
-
leoo
- Flowcode V4 User
- Posts: 55
- Joined: Mon Jan 19, 2009 11:43 am
- Has thanked: 41 times
- Been thanked: 9 times
Re: PIC24FJ128GA202 compile error
Hi Ben,
I found the file where you said it would be, so I assume that the installation is OK.
It seems as if the compiler is looking for the p24Exxxx.h file in the PIC24F/h folder. I copied the p24Exxxx.h file into the PIC24F/h folder and the test prog compiled OK and generated the hex file. I then got a "Unknown chip type in data file" message while trying to send the hex file to the chip.
The settings on the EB064-00-2 are set to Vrail, USB and the program pins are set to B (B0 and B1)
Kind regards.
Leo
I found the file where you said it would be, so I assume that the installation is OK.
It seems as if the compiler is looking for the p24Exxxx.h file in the PIC24F/h folder. I copied the p24Exxxx.h file into the PIC24F/h folder and the test prog compiled OK and generated the hex file. I then got a "Unknown chip type in data file" message while trying to send the hex file to the chip.
The settings on the EB064-00-2 are set to Vrail, USB and the program pins are set to B (B0 and B1)
Kind regards.
Leo
- 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: PIC24FJ128GA202 compile error
Hi Leo,
I found the reason for the problem, the file was looking at the P24E header rather than the P24F header. I've now fixed this in the definitions file.
To use the latest file simply copy it to your "Flowcode 7/FCD/PIC16" folder and restart Flowcode.
The device is not on the supported chips list for the EB064 board and so is likely not supported in our mLoader software. You may be able to use the chip on the board using a PICkit 3 programmer.
I found the reason for the problem, the file was looking at the P24E header rather than the P24F header. I've now fixed this in the definitions file.
To use the latest file simply copy it to your "Flowcode 7/FCD/PIC16" folder and restart Flowcode.
The device is not on the supported chips list for the EB064 board and so is likely not supported in our mLoader software. You may be able to use the chip on the board using a PICkit 3 programmer.
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