Difference between reset and power cycle

Discussion in 'Embedded Systems and Microcontrollers' started by lkay, Dec 29, 2015.

  1. lkay

    Thread Starter New Member

    Dec 29, 2015
    1
    0
    Lets pick arduino for instance. What is the difference in the system behavior when I hit the rest button and when I power cycle (unplug and plug the power USB)
     
  2. Papabravo

    Expert

    Feb 24, 2006
    10,152
    1,794
    A power cycle will almost surely scramble the contents of RAM. A RESET will probably leave the RAM untouched, UNLESS the firmware or the C-startup routine has code to initialize the RAM.
     
Loading...