Page 1 of 1

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

Posted: Wed Jul 17, 2024 10:51 pm
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.

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

Posted: Thu Jul 18, 2024 8:50 am
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.

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

Posted: Thu Jul 18, 2024 3:52 pm
by daddytims_tims
Goodmorning,

Thank you for your assistance, Martin
It compiled now

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

Posted: Thu Jul 18, 2024 4:29 pm
by medelec35
Thats Great!
Thank you for updating us.

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

Posted: Thu Jul 18, 2024 4:36 pm
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?

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

Posted: Thu Jul 18, 2024 6:34 pm
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.