| View previous topic :: View next topic |
| Author |
Message |
SeeCwriter
Joined: 18 Nov 2013 Posts: 162
|
| Extended Instruction Set |
Posted: Thu Feb 12, 2026 9:49 am |
|
|
I'm using v5.123 of the IDE, with an 18F67K22. I have my application and a bootloader app for the PIC.
Adding #FUSE XINST in my main app works.
But adding that same fuse to the bootloader generates warning "Feature not supported XINST".
This is the whole bootloader include file:
| Code: |
#include <18F67K22.h>
#device ADC=12
#FUSES PUT
#FUSES HSM
#FUSES XINST
#FUSES WDT_SW
#FUSES WDT512
#FUSES BORV30
#use delay(clock=64MHz,restart_wdt)
#define PUSH_BUTTON PIN_E0
#use rs232(baud=38400,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8,stream=COM1)
|
What am I missing?
Update:
Today, the XINST fuse is flagged as not supported in my main app also. I must have been misreading the fuses yesterday.
In any case, the PIC datasheet says it supports the extended instrustion set. |
|
 |
gaugeguy
Joined: 05 Apr 2011 Posts: 354
|
|
Posted: Thu Feb 12, 2026 12:34 pm |
|
|
| Why do you think you need the extended instruction set? |
|
 |
dyeatman
Joined: 06 Sep 2003 Posts: 1978 Location: Norman, OK
|
|
 |
SeeCwriter
Joined: 18 Nov 2013 Posts: 162
|
|
Posted: Thu Feb 12, 2026 12:49 pm |
|
|
I probably don't need it. I only tried to enable it because it added some new commands and thought it might make the code more efficient.
Edit:
Not probably, I definitely don't need it.
Before I posted my question I searched the forum for "XINST", then "Extended Instruction" and received hundreds of results that had nothing to do with what I was searching for. A previous poster answered my question with a link to a forum thread that went into detail about extended instructions (thank you), with the term "XINST" in the title of the thread. Yet that thread did not appear in the first couple of pages of results. Maybe it was on page 37. It should have been the first or second result on the first page. I'm not impressed with search function. |
|
 |
|