Upload
halee-mcdowell
View
34
Download
2
Embed Size (px)
DESCRIPTION
Memory. Atmega128 memory system. 20072413 박민호. Description - program memory. Memory. 출처 : AVR Atmega128 Datasheet. Description - data memory. Memory. (Units : Bytes) Register file ( GPRs) :32 I/O Register(SFRs) : 64 Extended I/O Register :160 Internal SRAM :4096 - PowerPoint PPT Presentation
Citation preview
MemoryAtmega128 memory system
20072413 박민호
Memory
Description - program mem-ory
출처 : AVR Atmega128 Datasheet
* Features• 128KB Flash memory• 비휘발성• 8bit 단위이지만 하나의 주소 번지가 16bit 로 되어있어서 16bit MCU 인 것처럼 동작됨• 64KB Flash memory 가 두 개임 (RAMPZ 로 제어 )• ISP(In System Programming) 가능
* Boot Flash Section• 부팅에 필요한 기본적인 정보
* Application Flash Section• 프로그램 코드가 적재되는 곳
Memory
(Units : Bytes)
Register file(GPRs) : 32
I/O Register(SFRs) : 64
Extended I/O Register : 160
Internal SRAM : 4096
External SRAM : 61183
Description - data memory
출처 : The AVR microcontroller and embedded systems: using Assembly and C 저자 - Muhammad Ali Mazidi, Sarmad Naimi, Sepehr Naimi
* PINF 값 읽어오기
① LDS R16, $20 ;2 cycle ② IN R16, $00 ;1 cycle
Q&A
Thank you
Mem-ory