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

reset

I am using uVision4 and have an LPC2103.
After each reset the module desn't start directly (after 2 or 3 attempt) can you help me.

Parents Reply Children
  • Don't bet on that - a correct reset pulse will guarantee that the chip is in a known state. A too short reset pulse will leave the processor in an unknown state - and it can matter what state it was in before the too short reset.

    So some programs can survive better if the reset pin isn't correctly handled. With a bad reset signal, the CPU core might be reset while some interrupt source might not have enough time to properly reset - and the end result is that you might get an interrupt that jumps into undefined memory.

    So - a correct reset but bad software can (but maybe not always) give random failures.
    And correct software with a bad reset can (but maybe not always) give random failures.

    In short - you need to make sure that both your code and your reset signal is correct.