Skip to content

Implement MCU reset correctly #107

@urish

Description

@urish

Datasheet says:

During reset, all I/O registers are set to their initial values, and the program starts execution from the reset vector
so there are a couple of changes to get the reset done properly:

This means we need to:

  1. Zero out just the I/O registers, not all the SRAM
  2. Make sure all the peripherals are reset (the peripherals can set the reset value of their I/O registers for those who aren't zero)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestopen for voteVote at https://wokwi.com/features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions