Page 1 of 1

Pic18F4520

Posted: Wed Nov 02, 2016 7:48 pm
by josem-mp
Dear,

I am starting to work with flowcode 7. I am doing a test with the PIC18F4520 but gives me the following error when compiling.

""
Employing 18F4520 errata work-arounds:
* Corrupted fast interrupt shadow registers
Prueba.c:
36: __config("__PROG_CONFIG", "pic18", 0x4, 0xFFFF);
^ (1504) the PIC18 extended instruction set was enabled but is not supported by this compiler
(908) exit status = 1
(908) exit status = 1

C:\Program Files (x86)\Flowcode 7\compilers\pic\bin\xc8.exe notificado código de error 1""

Re: Pic18F4520

Posted: Wed Nov 02, 2016 8:30 pm
by QMESAR
Hello

Try to disable extended CPU set under the Configurations tab for the chip!
It worked for me just know :D

Re: Pic18F4520

Posted: Wed Nov 02, 2016 8:48 pm
by josem-mp
Ok,

Tanks Qmesar