neoaspilet11
Full Member level 5
- Joined
- Sep 29, 2005
- Messages
- 277
- Helped
- 29
- Reputation
- 56
- Reaction score
- 8
- Trophy points
- 1,298
- Location
- Cebu, Philippines
- Activity points
- 4,048
proteus simulation
Hello,
I got this weird PIC proteus simulation. Any ideas on this would be highy appreciated.
Proteus 7.1
The synopsis of the firmware goes like this
1.) Real time clock is running in background.
MAIN
; code in PAGE0
;..... real time clock is still running here, program flow is OK
PAGE1
call FUNCTION1
PAGE0
; some code here
end
FUNCTION1
; code in PAGE1
; some code here
; program flow OK here
btfss FLAG
goto $-1
retlw 0
And then when code enters in the loop at FUNCTION1, realtime clock stopped and FW goes to in hang state.
I have some queries.
1.) Is this something a bug on PROTEUS simulation? or something wrong in the FW.
Thanks for any ideas.
Hello,
I got this weird PIC proteus simulation. Any ideas on this would be highy appreciated.
Proteus 7.1
The synopsis of the firmware goes like this
1.) Real time clock is running in background.
MAIN
; code in PAGE0
;..... real time clock is still running here, program flow is OK
PAGE1
call FUNCTION1
PAGE0
; some code here
end
FUNCTION1
; code in PAGE1
; some code here
; program flow OK here
btfss FLAG
goto $-1
retlw 0
And then when code enters in the loop at FUNCTION1, realtime clock stopped and FW goes to in hang state.
I have some queries.
1.) Is this something a bug on PROTEUS simulation? or something wrong in the FW.
Thanks for any ideas.