Opened 14 months ago

Closed 14 months ago

Last modified 10 months ago

#28 closed defect (fixed)

Initialization of the AVR I/O registers

Reported by: dsl Owned by: dsl
Priority: major Milestone: MCUSim-0.2
Component: avr Keywords: planned-in-0.2
Cc:

Description

Each AVR MCU usually has a bunch of I/O registers and each register has its
own access mask (flags to R/W per bit) and initial value which will be
assigned to the register on MCU reset.

I'd like to have a list of all I/O registers combined with their access masks
and initial values to reset MCU correctly and assign default values to the I/O
registers on one hand, and use access masks in the AVR decoder to prevent
read-only bits from being changed - on the other.

Change History (6)

comment:1 Changed 14 months ago by dsl

Milestone: MCUSim-0.2Work in Progress

comment:2 Changed 14 months ago by dsl

Resolution: fixed
Status: newclosed

I'm considering this issue to be fixed with patch 0.1.0118: https://github.com/dsalychev/mcusim/commit/69625972eb9fb07694fbd634ff290b762b8712bf. There is a complete list of I/O registers created for ATmega8A only at the moment, but the same list for ATmega328/328P will be added in the upcoming patches.

comment:3 Changed 14 months ago by dsl

Milestone: Work in ProgressMCUSim-0.2

comment:4 Changed 11 months ago by dsl

Milestone: MCUSim-0.2MCUSim 0.2

Milestone renamed

comment:5 Changed 11 months ago by dsl

Milestone: MCUSim 0.2mcusim 0.2

Milestone renamed

comment:6 Changed 10 months ago by dsl

Milestone: mcusim 0.2MCUSim-0.2

Milestone renamed

Note: See TracTickets for help on using tickets.