News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

PIC16F1825 (Fuse Configurator) BORV_HI / LO

Started by JackB, Dec 11, 2025, 09:15 PM

Previous topic - Next topic

JackB


Hi everyone,

this post is not urgent, while using the Fuse Configurator for a PIC16F1825
the BORV option is set to HI or LO, and both are returning an error when compiling.

when using BORV_19 seem to work when compiling  (Code Produced by the Positron8 Compiler. Version 4.0.6.3)

can't edit the PIC Fuse configurator if anyone have a fix let me know.

Thanks to all comments.




Abdullah

;-------------------------------------------------------------------------------
;**** Added by Fuse Configurator ****
; Use the Fuse Configurator plug-in to change these settings

Device = 16F1825

Config1 FOSC_ECH, WDTE_ON, PWRTE_OFF, MCLRE_ON, CP_OFF, CPD_OFF, BOREN_ON, CLKOUTEN_OFF, IESO_ON, FCMEN_ON
Config2 WRT_OFF, PLLEN_ON, STVREN_ON, BORV_25, LVP_ON
                                     'BORV_19
;**** End of Fuse Configurator Settings ****
;-------------------------------------------------------------------------------
Xtal 32
End
' DATA SHEET 16F1825
(*BORV: Brown-out Reset Voltage Selection bit
1 = Brown-out Reset voltage set to 1.9V (typical) = BORV_19
0 = Brown-out Reset voltage set to 2.5V (typical) = BORV_25
Abdullah

Abdullah

Quote from: JackB on Dec 11, 2025, 09:15 PMHi everyone,

this post is not urgent, while using the Fuse Configurator for a PIC16F1825
the BORV option is set to HI or LO, and both are returning an error when compiling.

when using BORV_19 seem to work when compiling  (Code Produced by the Positron8 Compiler. Version 4.0.6.3)

can't edit the PIC Fuse configurator if anyone have a fix let me know.

Thanks to all comments.




HI
maybe BORV HI/LO are not valid in this type in positron compiler
Abdullah

trastikata

If uncertain, check the PPI file in folder ProtonIDE\PDS\Includes\PPI

QuoteBORV_25 EQU 0XFBFF ; Brown-out Reset Voltage (VBOR) set to 2.5 V
BORV_19 EQU 0XFFFF ; Brown-out Reset Voltage (VBOR) set to 1.9 V

Stephen Moss

#4
I think the fuse configurator now built into the Positron Studio IDE was re-written to take the fuse names from the PPI or DEF files provided with Positron as it solved certain issues.
However, the old MK2 plug-in for the Mechanique IDE that come with Positron takes it data from a Microchip file. The problem is that where Microchip subsequently renamed their Fuses after the PPI/Def files were created using the original fuse names has resulted in the fuse names no longer matching.
If you go into the fuse configurator settings and select the ASM output the fuse configurator then produces an output that only uses the fuse names as comments (so that you can set what you have set), the gets around any fuse name mismatch issues. So try that.