What does microcontroller do when its powered on?

Discussion in 'Embedded Systems and Microcontrollers' started by vinothmct, Sep 26, 2012.

  1. vinothmct

    Thread Starter New Member

    Sep 24, 2012
    What does Microcontroller do when its powered on? Does the oscillator gives out clock signals and it executed instructions or what it does . I wish to know the flow . Can anybody help me ?
  2. t06afre

    AAC Fanatic!

    May 11, 2009
    Given that the controller has some working clock source. It will start to execute instructions from the program memory. Are you interested in starting with microcontrollers. But unsure what to do ;)
  3. nigelwright7557

    Senior Member

    May 10, 2008
    A microcontroller will go through a reset sequence, usually making all ports tri state and will set up some registers to initial values.
    Once it is properly reset it will start executing its program.