![Rabbit 3000 Скачать руководство пользователя страница 38](http://html2.mh-extra.com/html/rabbit/3000/3000_user-manual_3114034038.webp)
30
Rabbit 3000 Microprocessor
Figure 3-7. Schemes for Data Memory Windows
A third approach is to place the data and root code in RAM in the root segment, freeing the
data segment to be a window to extended memory. This requires copying the root code to
RAM at startup time. Copying root code to RAM is not necessarily that burdensome since
the amount of RAM required can be quite small, say 12K for example.
The XPC segment at the top of the memory can also be used as a data segment by pro-
grams that are compiled into root memory. This is handy for small programs that need to
access a lot of data.
3.2.4 Practical Memory Considerations
The simplest Rabbit configurations have one flash memory chip interfaced using /CS0 and
one RAM memory chip interfaced using /CS1. The smallest practical amount of flash is
128K and the smallest practical amount of RAM is 32K. Smaller chips could be sup-
ported, but such small static memories are obsolete parts, so no support is offered.
Although the Rabbit can support code size approaching a megabyte, it is anticipated that
the majority of applications will use less then 250K of code, equivalent to approximately
10,000–20,000 C statements. This reflects both the compact nature of Rabbit code and the
typical size of embedded applications.
Root
Code
Data
(RAM)
Root
Code
Data
(RAM)
Stack Segment
used as data
window
Data Segment
used as data
window
Stacks in data
segment
Root Segment
mapped to
RAM has both
root code and
data.
Stack Segment
used for stack
Using Stack Segment
for a Data Window
Using Data Segment for
a Data Window (Code must
be copied to RAM on startup.)
(flash)
(RAM)
Содержание 3000
Страница 1: ...Rabbit 3000 Microprocessor User s Manual 019 0108 020426 A...
Страница 8: ...Rabbit 3000 Microprocessor...
Страница 28: ...20 Rabbit 3000 Microprocessor...
Страница 73: ...User s Manual 65 6 RABBIT INTERNAL I O REGISTERS...
Страница 122: ...114 Rabbit 3000 Microprocessor...
Страница 138: ...130 Rabbit 3000 Microprocessor...
Страница 150: ...142 Rabbit 3000 Microprocessor...
Страница 188: ...180 Rabbit 3000 Microprocessor...
Страница 208: ...200 Rabbit 3000 Microprocessor...
Страница 228: ...220 Rabbit 3000 Microprocessor...
Страница 232: ...224 Rabbit 3000 Microprocessor...
Страница 238: ...230 Rabbit 3000 Microprocessor...
Страница 260: ...252 Rabbit 3000 Microprocessor...
Страница 266: ......