




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth look into memory operations in microcontrollers, focusing on read/write memory modules and their timing diagrams. The basics of memory elements, addressing, and the sequence of events during a read or write operation. It also includes examples using the atmel mega8 microcontroller.
Typology: Study notes
1 / 164
This page cannot be seen from the preview
Don't miss anything!





























































































Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
processor
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
set of control signals
operations on data
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
exchange data with one-another
exchange
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
bus at any one time
usually determined by the instructiondecoder (in the microprocessor case)
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
(depending on the processor)
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
What are the essential components of a
memory?
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
elements – each with its own address
wide (so a byte)
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
Read
foo(A+5); reads the value from the memory locationreferenced by ‘A’ and adds the value to 5.The result is passed to a function called foo();
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
Write
writes the value 5 into the memory locationreferenced by ‘A’
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
Read Only Memory (ROM)• Computer
cannot
arbitrarily change state
of this memory
maintained
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
Erasable/Programmable ROM (EPROM)• State can be changed under very specific
conditions (usually not when connected toa computer)
Erasable/Programmable ROM (EEPROM)for program storage
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
Andrew H. Fagg: Embedded Real-Time Systems: Microcontrollers
th
(one week)