C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

For general Flowcode discussion that does not belong in the other sections.
Post Reply
daddytims_tims
Posts: 74
http://meble-kuchenne.info.pl
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 118 times
Been thanked: 13 times

C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

Post by daddytims_tims »

Hi everyone

I am trying to create a Project using the pic18f2420/ as well as the 18f2321.but first
I decide to try a compile a simple 1 sec flash program, however it's not compiling.

How can I resolve these issues?
I attached the message as well as the 2 projects

How can I resolve this Problem.

Please and thank you.
Attachments
Pic18F2420.fcfx
(9.34 KiB) Downloaded 192 times
Pic18F2321_Test.fcfx
(9.27 KiB) Downloaded 194 times
Pic18f2420_2321_MSG.txt
(3.43 KiB) Downloaded 193 times

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

Post by medelec35 »

Hello.
The compiler message is stating
the PIC18 extended instruction set was enabled but is not supported by this compiler
You will need to go to the Project Options and change the configuration settings:

Code: Select all

Extended CPU Enable
from Enabled to disabled.
While you are at it, if I was you, I would also change

Code: Select all

Watchdog Timer
and

Code: Select all

Low Voltage Programming
from Enabled to Disabled .
Check you have the

Code: Select all

Oscillator
settings, set up correctly to match your hardware.
Martin

daddytims_tims
Posts: 74
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 118 times
Been thanked: 13 times

Re: C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1_Solved

Post by daddytims_tims »

Goodmorning,

Thank you for your assistance, Martin
It compiled now

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

Post by medelec35 »

Thats Great!
Thank you for updating us.
Martin

daddytims_tims
Posts: 74
Joined: Thu Jun 16, 2022 6:16 pm
Has thanked: 118 times
Been thanked: 13 times

Re: C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

Post by daddytims_tims »

Hi

Following up on the same Project,
There's another thing, I wanted to build a time crucial project,
I used the internal Osc Helper at 8MHZ, when testing the Led on the Breadboard The led Flash stays for 3sec on and 3 sec Off.

So therefore, the chip is running very Slow in real Life

Can This Be resolved?

medelec35
Matrix Staff
Posts: 2086
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 644 times
Been thanked: 702 times

Re: C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PIC\batch\pic_xc8_comp.bat reported error code 0x1

Post by medelec35 »

Within Project Options..., did you set the clock speed to 8MHz as well?
If you did then if you upload your latest project, then I will take a look at it for you.
Martin

Post Reply