Menu

#283 Interrupts remain disabled after debug reset

open
nobody
breadboard (1)
5
2022-07-30
2022-07-30
No

I have some code which runs fine the first time, After hitting the Reset button though, No interrupts seem to be generated in the simulator. I checked GIE, PEIE, TMR2IE which are the bits involved. Also, I followed Timer 2 and it resets after the PR2 count is reached. TMR2IF is set.

I'll investigate a bit more tomorrow (well, later today)... Any suggestions what could cause this? Is there any register value which could survive a Reset?

I'm using a pic16f628a, and gpsim 0.31 on Linux.

(Is there interest in a tutorial on how to use the breadboard? It seems that the only one, referenced by 'remy', has disappeared, I had a hard time figuring out things)

Discussion

Anonymous
Anonymous

Add attachments
Cancel