Posts: 9
Threads: 3
Joined: Jun 2012
2012-07-17, 05:35:59
(This post was last modified: 2012-12-25, 17:09:50 by Mikael Gustavsson.)
has anyone used the Bootloader with the PIC18F4xk22 family?
i've been using this family, the 45k22 and the 44k22, but i can't make it run, i've already tried baud rate, internal osc, pll, but nothing.
any idea? any
thanxxx in advance
Posts: 623
Threads: 0
Joined: Nov 2009
2012-07-21, 21:36:11
(This post was last modified: 2024-07-04, 21:03:51 by Mikael Gustavsson.)
Please see ghus reply in this thread: [broken link]
Posts: 9
Threads: 3
Joined: Jun 2012
Hey there, thanks for your replay and the link,
and yes it works, but besides, i've done something else to make it work
i've set fuses directly from the .INC file as:
config FOSC = INTIO67;Internal oscillator block
config PLLCFG = OFF ;Oscillator used directly ( Disabled )
config PRICLKEN = ON ;Primary clock is always enabled
config FCMEN = OFF ;Fail-Safe Clock Monitor disabled
config IESO = OFF ;Oscillator Switchover mode disabled
config PWRTEN = OFF ;Power up timer enabled
config BOREN = OFF ;Brown-out Reset disabled in software
config WDTEN = OFF ;Watch dog timer is always disabled.
config PBADEN = OFF ;PORTB<5:0> pins are configured as digital I/O on Reset
config HFOFST = OFF ;HFINTOSC output and ready status are delayed by the oscillator stable status
config MCLRE = EXTMCL ;MCLR pin enabled, RE3 input pin disabled
config STVREN = OFF ;Stack full/underflow will not cause Reset
config LVP = OFF ;Single-Supply ICSP disabled
config XINST = OFF ;Instruction set extension and Indexed Addressing mode enabled
config DEBUG = OFF ;Disabled
and set the FOSC at 1MHz, because it is the reset value, latter in the main program i've change it to 16MHz-INTOSC
thanxxs and great SF