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] PIC micontroller stuking

Status
Not open for further replies.

ismu

Full Member level 2
Joined
May 12, 2009
Messages
145
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Location
nil
Activity points
2,340
PIC microcontroller was stucked after working some time, what are posibilities?
 

What do you mean by Stucking..

I thing after sometime your controller stops working...
So my advice is to disable to Watch Dog Timer, Brown-Out-Reset and Power-On-Reset..

If your problem still persist..
Then Put your code here and Circuit..
 
  • Like
Reactions: ismu

    ismu

    Points: 2
    Helpful Answer Positive Rating
possible are crystal or oscillator circuit capacitor power supply voltage or brown out detection enable by the way what type of pic it is

enable power up timer and disable brown out detection

regards
Fragrance
 
  • Like
Reactions: ismu

    ismu

    Points: 2
    Helpful Answer Positive Rating
PIC microcontroller was stucked after working some time, what are posibilities?

The possibilities are almost endless.

Fragrance and arunsharma0731 have mentioned some of the more commonly occurring issues, however there are numerous other possibilities.

Therefore, if you require specific advice concerning your design, I would recommend posting your code, configuration register settings and schematic of your design.

BigDog
 
  • Like
Reactions: ismu

    ismu

    Points: 2
    Helpful Answer Positive Rating
Maybe the PIC is being reset somehow. You need to describe more about the circuit.

Is the MCLR pin pulled high? You could connect a 0.1uF capacitor between MCLR and ground.
Beside that, without a look at the code - which is most likely the culprit - the only other guess could be that watch dog timer is resetting the PIC. In that case, disable watch dog timer or in the code, find out where you need to clear the watchdog timer so that you don't have this problem.

Hope this helps.
Tahmid.
 
  • Like
Reactions: ismu

    ismu

    Points: 2
    Helpful Answer Positive Rating
Dear Friends i got the solution actualy problem is stack overflow by recursive function. now its removed
thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top