As it's config fuse related, i'll bet on your MPASM version. Download the last version of MPASM and post your results.
the MPASM .inc files are located in C:\Program Files\Microchip\MPASM Suite
at the end of the file you'll find all config fuses
Code:
;----- CONFIG1L Options --------------------------------------------------
_PLLDIV_1_1L EQU H'F8' ; No devide (4MHz input)
_PLLDIV_2_1L EQU H'F9' ; Divide by 2 (8MHz input)
_PLLDIV_3_1L EQU H'FA' ; Divide by 3 (12MHz input)
_PLLDIV_4_1L EQU H'FB' ; Divide by 4 (16MHz input)
_PLLDIV_5_1L EQU H'FC' ; Divide by 5 (20MHz input)
_PLLDIV_6_1L EQU H'FD' ; Divide by 6 (24MHz input)
_PLLDIV_10_1L EQU H'FE' ; Divide by 10 (40MHz input)
_PLLDIV_12_1L EQU H'FF' ; Divide by 12 (48MHz input)
_CPUDIV_OSC1_PLL2_1L EQU H'E7' ; [OSC1/OSC2 Src: /1][96MHz PLL Src: /2]
_CPUDIV_OSC2_PLL3_1L EQU H'EF' ; [OSC1/OSC2 Src: /2][96MHz PLL Src: /3]
_CPUDIV_OSC3_PLL4_1L EQU H'F7' ; [OSC1/OSC2 Src: /3][96MHz PLL Src: /4]
_CPUDIV_OSC4_PLL6_1L EQU H'FF' ; [OSC1/OSC2 Src: /4][96MHz PLL Src: /6]
_USBDIV_1_1L EQU H'DF' ; Clock source from OSC1/OSC2
_USBDIV_2_1L EQU H'FF' ; Clock source from 96MHz PLL/2
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks