Hey there
hope can still write in this one...
anyway, I've been using the 18F45K22, 18F44K22 with success, and now I'm trying to use the 18F24k22, but nothing (should be the same, or almost, right?)
I've tried to clear the ASELC, but nothing and when I tried to make the C7 pin an input, this message came out (picture attached).
I've program the PIC already, just to see if it works, and yes, it is working, so may be the bootloader the one that doesn't work.... I guess
Here is the text that i modify, so u can check them out, maybe u can see something that i don't
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 = EXTMCLR ;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
config CCP3MX = PORTB5 ;P3A/CCP3 input/output is multiplexed with RB5
....and.....
; Make uart pins digital
ifdef ADCON1
ifndef DEV_MODE
; error Do you need to configura uart pins to be digital? If not, remove this line
ifdef __18F24K22
clrf ANSELC
movlw 0x80
movwf TRISC
endif
endif
endif
I'd put it down into test with a oscilloscope, and the GUI send the data, but the PIC never answers back, so any Idea?
thanks in advance
hope can still write in this one...
anyway, I've been using the 18F45K22, 18F44K22 with success, and now I'm trying to use the 18F24k22, but nothing (should be the same, or almost, right?)
I've tried to clear the ASELC, but nothing and when I tried to make the C7 pin an input, this message came out (picture attached).
I've program the PIC already, just to see if it works, and yes, it is working, so may be the bootloader the one that doesn't work.... I guess
Here is the text that i modify, so u can check them out, maybe u can see something that i don't
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 = EXTMCLR ;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
config CCP3MX = PORTB5 ;P3A/CCP3 input/output is multiplexed with RB5
....and.....
; Make uart pins digital
ifdef ADCON1
ifndef DEV_MODE
; error Do you need to configura uart pins to be digital? If not, remove this line
ifdef __18F24K22
clrf ANSELC
movlw 0x80
movwf TRISC
endif
endif
endif
I'd put it down into test with a oscilloscope, and the GUI send the data, but the PIC never answers back, so any Idea?
thanks in advance