ATS-5S18F46K22.c:37:45: error: (1504) the PIC18 extended instruction set was enabled but is not supported by this compiler
I have the license installed but still cant get the PIC18F46K22 to compile. I am getting the above error.
PIC18 extended instruction set was enabled but is not supported by this compiler
-
- Posts: 3
- http://meble-kuchenne.info.pl
- Joined: Tue Sep 27, 2022 2:38 pm
-
- Matrix Staff
- Posts: 1913
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 619 times
- Been thanked: 644 times
Re: PIC18 extended instruction set was enabled but is not supported by this compiler
Hello.
Select Build > Project Optiuons...
Change Extended Instruction Set Enable bit to Disabled
Are you sure you want Single-Supply ICSP enable bit on Enabled
If via ISCP and the programmer has a VPP connection, then you will need to change it to Disabled as well.
Also, disable your Watchdog Timer Enable bits unless you want it enabled?
If you do you will need to have Auto clear watchdog ticked under Other Options
The First thig I would recommend is create a one sec flash timer to check hardware is working as expected.
I have moved this topic as it has nothing to do with PIC compiler toolchain is not installed
Select Build > Project Optiuons...
Change Extended Instruction Set Enable bit to Disabled
Are you sure you want Single-Supply ICSP enable bit on Enabled
If via ISCP and the programmer has a VPP connection, then you will need to change it to Disabled as well.
Also, disable your Watchdog Timer Enable bits unless you want it enabled?
If you do you will need to have Auto clear watchdog ticked under Other Options
The First thig I would recommend is create a one sec flash timer to check hardware is working as expected.
I have moved this topic as it has nothing to do with PIC compiler toolchain is not installed
Martin
-
- Matrix Staff
- Posts: 1465
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 204 times
- Been thanked: 347 times
Re: PIC18 extended instruction set was enabled but is not supported by this compiler
The "Extended Instruction Set" bit is set in the config word for that device. You will need to set it to "disabled" in the "configure" sections of the Project Options screen.
Re: PIC18 extended instruction set was enabled but is not supported by this compiler
100% Appreciation. Thankyou very much. It worked.