a try all configurarion in hardware and software, other forum, say that using a command for set de fuses, but, not work, my configuration word is 2F4A, in de code write:
@ DEVICE HS_OSC
@ DEVICE WDT_OFF
@ DEVICE lvp_off
Define OSC 20
use other combination too:
@ DEVICE HS_OSC
@ DEVICE WDT_OFF
Define OSC 20
@ DEVICE HS_OSC
@ DEVICE lvp_off
Define OSC 20
@ DEVICE HS_OSC
Define OSC 20
with osciloscope, obtain sin wave in pins 14 and 13 at 20 +- 0.8 Mhz, for test, program pic whit this:
Prg:
PortA = %01010
PortB = %01010101
pause 500
hserout ["Prueba de envio 1",13]
PortA = %10101
PortB = %10101010
pause 500
hserout ["Prueba de envio 2",13," ",13]
goto prg
Bookmarks