I'd had a series of
problems with mplab simulator only with pic 16c505.(MPLAB V4.00.14)
If I configure pins 2,3 and 4 with GP5,GP4 and
GP3(GP3 only input in16c505) respectively, the asynchronous stimulus configured
as toggle not respond(except GP3 respond only us MCLR, not as GP3). The same
happen with clock stimulus.
This is my config:
list
p=16c505 ;
list directive to define processor
#include
<p16c505.inc> ; processor
specific variable definitions
__CONFIG _CP_OFF
& _WDT_OFF & _MCLRE_OFF & _IntRC_OSC_RB4EN
movlw
b'01110101'
OPTION
movlw b'00111100'
TRIS PORTB
movlw b'00100111'
TRIS PORTC
What's wrong?
Can anybody try duplicated this problem
in mplab simulator?
********************************
Roberto
Guimaraes
e-mail rodelta@wnet.com.br
********************************