Download Rabbit 3000® Microprocessor Designer`s

Transcript
Table of Contents
Chapter 1. Introduction ....................................................................................................................1
1.1 Summary of Design Conventions ............................................................................................................. 1
Chapter 2. Rabbit Hardware Design Overview ...............................................................................3
2.1 Design Conventions .................................................................................................................................. 3
2.1.1 Rabbit Programming Connector ............................................................................................... 4
2.1.2 Memory Chips .......................................................................................................................... 4
2.1.3 Oscillator Crystals..................................................................................................................... 4
2.2 Operating Voltages .................................................................................................................................... 5
2.3 Power Consumption .................................................................................................................................. 5
2.4 Through-Hole Technology ........................................................................................................................ 6
2.5 Moisture Sensitivity .................................................................................................................................. 6
Chapter 3. Core Design and Components........................................................................................7
3.1 Clocks........................................................................................................................................................ 7
3.2 Floating Inputs........................................................................................................................................... 8
3.3 Basic Memory Design............................................................................................................................... 8
3.3.1 Memory Access Time ............................................................................................................... 9
3.3.2 Interfacing External I/O with Rabbit 3000 Designs ................................................................. 9
3.4 PC Board Layout and Memory Line Permutation .................................................................................. 10
3.5 PC Board Layout and Electromagnetic Interference............................................................................... 10
3.5.1 Rabbit 3000 Low EMI Features.............................................................................................. 10
Chapter 4. How Dynamic C Cold Boots the Target System..........................................................11
4.1 How the Cold Boot Mode Works In Detail............................................................................................. 12
4.2 Program Loading Process Overview....................................................................................................... 13
4.2.1 Program Loading Process Details........................................................................................... 13
Chapter 5. Rabbit Memory Organization......................................................................................15
5.1 Physical Memory..................................................................................................................................... 15
5.1.1 Flash Memory ......................................................................................................................... 15
5.1.2 SRAM ..................................................................................................................................... 15
5.1.3 Basic Memory Configuration ................................................................................................. 16
5.2 Memory Segments................................................................................................................................... 16
5.2.1 Definition of Terms................................................................................................................. 17
5.2.2 The Base (or Root) Segment................................................................................................... 17
5.2.2.1 Types of Code Best-Suited for the Base Segment ............................................... 18
5.2.3 The Data Segment................................................................................................................... 18
5.2.4 The Stack Segment ................................................................................................................. 18
5.2.5 The Extended Memory Segment ............................................................................................ 18
5.3 Separate I&D Space ................................................................................................................................ 19
5.3.1 Suggestions and Restrictions .................................................................................................. 21
5.3.2 Enable Separate I&D Space.................................................................................................... 21
5.3.3 I&D Space Mappings in Dynamic C ...................................................................................... 21
5.3.3.1 Compiling to RAM .............................................................................................. 22
5.3.3.2 Compiling to Flash .............................................................................................. 23
Rabbit 3000 Designer’s Handbook
digi.com
iii