Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
18F25K22 Support [solved]
#11
    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
Reply


Messages In This Thread
18F25K22 Support [solved] - by Mitchy - 2011-02-12, 07:27:49
RE: 18F25K22 Support - by Mikael Gustavsson - 2011-02-12, 12:03:44
RE: 18F25K22 Support - by Mitchy - 2011-02-12, 12:41:13
RE: 18F25K22 Support - by Mikael Gustavsson - 2011-02-12, 22:12:41
RE: 18F25K22 Support - by Mitchy - 2011-02-13, 10:14:13
RE: 18F25K22 Support - by Mikael Gustavsson - 2011-02-14, 21:20:23
RE: 18F25K22 Support - by moonshadow - 2011-02-17, 14:06:05
RE: 18F25K22 Support - by Mikael Gustavsson - 2011-02-17, 21:18:59
RE: 18F25K22 Support - by Mitchy - 2011-02-19, 00:10:20
RE: 18F25K22 Support - by moonshadow - 2011-03-17, 15:24:44
RE: 18F25K22 Support [solved] - by rotting79 - 2013-10-08, 07:10:35
RE: 18F25K22 Support [solved] - by rotting79 - 2013-10-29, 03:13:42

Forum Jump:


Users browsing this thread: 2 Guest(s)