I disable MCLR by configuration bits,
__CONFIG _INTRC_OSC_NOCLKOUT & _MCLRE_OFF
then type
movlw 0x07
movwf CMCON
bcf STATUS, RP1
bsf STATUS, RP0
MOVLW 0xff
MOVWF TRISA
but TRISA register is not affected on bit 5, and i can not use PORTA bit 5 for input. Why? Microchip datasheet says that bit 5 supports input, if you disable MCLR. Currently i am working on Mplab IDE 6.30 - the chip has the same problem, or is it a software bug? (i noticed that checking the model pic16f628A does not correct the problem)
__CONFIG _INTRC_OSC_NOCLKOUT & _MCLRE_OFF
then type
movlw 0x07
movwf CMCON
bcf STATUS, RP1
bsf STATUS, RP0
MOVLW 0xff
MOVWF TRISA
but TRISA register is not affected on bit 5, and i can not use PORTA bit 5 for input. Why? Microchip datasheet says that bit 5 supports input, if you disable MCLR. Currently i am working on Mplab IDE 6.30 - the chip has the same problem, or is it a software bug? (i noticed that checking the model pic16f628A does not correct the problem)