Pic18F4520

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
josem-mp
Flowcode v5 User
Posts: 34
Joined: Sun May 26, 2013 3:51 pm
Been thanked: 1 time

Pic18F4520

Post 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""

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times

Re: Pic18F4520

Post by QMESAR »

Hello

Try to disable extended CPU set under the Configurations tab for the chip!
It worked for me just know :D
Attachments
1.JPG
1.JPG (62.95 KiB) Viewed 3778 times
2.JPG
2.JPG (38.62 KiB) Viewed 3778 times

josem-mp
Flowcode v5 User
Posts: 34
Joined: Sun May 26, 2013 3:51 pm
Been thanked: 1 time

Re: Pic18F4520

Post by josem-mp »

Ok,

Tanks Qmesar

Post Reply