Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Weird PICF16877 behaviour via PROTEUS simulation

Status
Not open for further replies.

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.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top