This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Software Reset problem

Hi All,
I am facing software reset problem in the XC164.I am explaining the case in detail.Fortunately i am initialising three lEDS's on every powerUp.While during the execution of the application i observed that unfortunately sometimes that three LED's are getting glowed and off.I came to the conclusion that due to the reset i got that problem.Then i probed the problem and i made confirmation that there was no hardware reset.This is confirmed as the result of checking the hardware reset active low pin.If someone knows the reason,please help me.

Regards,Thangadurai.A

Parents
  • Dear sir,
    At first i suspected that this reset may occur due to some external harware interrupt signal.So i put while loop in all the unknown interrupts or Trap interrupts service routine to fix a bug.But the control didnt get hang anywhere in this loop but the software reset.I was amazed with that.Suddenly i had a doubt that it may be due to the supply voltage fluctuation.So i put a supply voltge waveform in a scope and observed while during the reset.But ididnt observe any fluctuation in the supply voltage,the microcontroller is consuming constatnt voltage of 5 volt>then i observed the hardware reset pin which is always 1 since it is active low which indicates that its not an hardware reset signal.Then i am suspecting the software reset but i dont know how to fix that bug....

Reply
  • Dear sir,
    At first i suspected that this reset may occur due to some external harware interrupt signal.So i put while loop in all the unknown interrupts or Trap interrupts service routine to fix a bug.But the control didnt get hang anywhere in this loop but the software reset.I was amazed with that.Suddenly i had a doubt that it may be due to the supply voltage fluctuation.So i put a supply voltge waveform in a scope and observed while during the reset.But ididnt observe any fluctuation in the supply voltage,the microcontroller is consuming constatnt voltage of 5 volt>then i observed the hardware reset pin which is always 1 since it is active low which indicates that its not an hardware reset signal.Then i am suspecting the software reset but i dont know how to fix that bug....

Children