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

Power on reset problem

If I power up my board the code runs but not properly, it appears to skip through delay routines instantly which is preventing correct initiation of some of the external devices.
...but if I then use the reset button on the board everything works fine.

The uc is a Philips 80C31 running at 11MHz.
The board has the reset circuitry as per the data sheet. Does anyone have any ideas as to what is going on here and what I can do to fix it? - I am going to try a longer RC period on the reset pin.


Many thanks

Parents
  • Months later I hit the same problem on a different product.
    The fix this time was to remove the resistor on the standard RC reset circuit. According to the data book the resistor is not necessary with the Philips 80C31 due to parasitic resistances within the device itself. Having removed the resistor the board now boots and runs correctly. This suggests that the 80C31 was not being reset correctly at power up, the RC time being too short. Removing the resistor will have increased the power on reset delay. Curious that some of the code worked correctly though.

Reply
  • Months later I hit the same problem on a different product.
    The fix this time was to remove the resistor on the standard RC reset circuit. According to the data book the resistor is not necessary with the Philips 80C31 due to parasitic resistances within the device itself. Having removed the resistor the board now boots and runs correctly. This suggests that the 80C31 was not being reset correctly at power up, the RC time being too short. Removing the resistor will have increased the power on reset delay. Curious that some of the code worked correctly though.

Children