Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

[SOLVED] Program resetting on its own several times a second

Status
Not open for further replies.

burrow

Full Member level 2
Joined
Dec 15, 2014
Messages
147
Helped
3
Reputation
6
Reaction score
3
Trophy points
18
Activity points
1,148
Hai, Iam new to pic and this is my first project. The program is very lengthy. the program is working fine. usart is working properly,lcd everything is working. But now when i add anymore code like 'For' loop, if condition or any other instruction then program just starts resetting itself. The watchdog timer is disabled and their is no instruction to perform reset in the program.
 

Which Compiler are you using ? mikroC PRO ? Compiler maybe generating wrong .hex file. Is it cracked compiler ? If not, then reinstall Compiler and try.
 
  • Like
Reactions: burrow

    burrow

    Points: 2
    Helpful Answer Positive Rating
Which Compiler are you using ? mikroC PRO ? Compiler maybe generating wrong .hex file. Is it cracked compiler ? If not, then reinstall Compiler and try.

Ya iam using mikroc pro . it is cracked because program is lengthy and demo version is limited.
Is their any other good compiler which i can use with same code ?.

- - - Updated - - -

Hai.. it worked. i just installed latest version of mikroc And things seems to be working fine now.
Thanks a lot buddy
 

If it isn't the watchdog, the other possibility is you are calling a function without returning from it and causing a stack overflow.

Brian.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top