18
7679H–CAN–08/08
AT90CAN32/64/128
4.
Memories
This section describes the different memories in the AT90CAN32/64/128. The AVR architecture
has two main memory spaces, the Data Memory and the Program Memory space. In addition,
the AT90CAN32/64/128 features an EEPROM Memory for data storage. All three memory
spaces are linear and regular.
Notes:
1. Byte address.
2. Word (16-bit) address.
4.1
In-System Reprogrammable Flash Program Memory
The AT90CAN32/64/128 contains On-chip In-System Reprogrammable Flash memory for pro-
gram storage (see “Flash size”). Since all AVR instructions are 16 or 32 bits wide, the Flash is
organized as 16 bits wide. For software security, the Flash Program memory space is divided
into two sections, Boot Program section and Application Program section.
T h e F la s h m e m o r y h a s a n e n d u r a n c e o f a t l e a s t 1 0 , 0 0 0 w r i t e / e r a s e c y c l e s . T h e
AT90CAN32/64/128 Program Counter (PC) address the program memory locations. The opera-
tion of Boot Program section and associated Boot Lock bits for software protection are described
in detail in
“Boot Loader Support – Read-While-Write Self-Programming” on page 321
contains a detailed description on Flash data serial downloading
using the SPI pins or the JTAG interface.
Table 4-1.
Memory Mapping.
Memory
Mnemonic
AT90CAN32
AT90CAN64
AT90CAN128
Flash
Size
Flash size
32 K bytes
64 K bytes
128 K bytes
Start Address
-
0x00000
End Address
Flash end
0x07FFF
0x3FFF
0x0FFFF
0x7FFF
0x1FFFF
0xFFFF
32
Registers
Size
-
32 bytes
Start Address
-
0x0000
End Address
-
0x001F
I/O
Registers
Size
-
64 bytes
Start Address
-
0x0020
End Address
-
0x005F
Ext I/O
Registers
Size
-
160 bytes
Start Address
-
0x0060
End Address
-
0x00FF
Internal
SRAM
Size
ISRAM size
2 K bytes
4 K bytes
4 K bytes
Start Address
ISRAM start
0x0100
End Address
ISRAM end
0x08FF
0x10FF
0x10FF
External
Memory
Size
XMem size
0-64 K bytes
Start Address
XMem start
0x0900
0x1100
0x1100
End Address
XMem end
0xFFFF
EEPROM
Size
E2 size
1 K bytes
2 K bytes
4 K bytes
Start Address
-
0x0000
End Address
E2 end
0x03FF
0x07FF
0x0FFF
Содержание AVR AT90CAN128
Страница 414: ...414 7679H CAN 08 08 AT90CAN32 64 128 32 2 QFN64...
Страница 415: ...415 7679H CAN 08 08 AT90CAN32 64 128...