Digi-IT DIS-4000 Manual de usuario

Busca en linea o descarga Manual de usuario para Grabadores de vídeo digital (dvr) Digi-IT DIS-4000. Digi-IT DIS-4000 User`s manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 94
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
Rabbit
®
4000 Microprocessor
Designers Handbook
019-0156_H
Vista de pagina 0
1 2 3 4 5 6 ... 93 94

Indice de contenidos

Pagina 1 - Designer’s Handbook

Rabbit® 4000 MicroprocessorDesigner’s Handbook019-0156_H

Pagina 2 - Trademarks

10 rabbit.com Rabbit Hardware Design Overview2.1.1 Rabbit Programming ConnectorThe user may be concerned that the requirement for a programming conne

Pagina 3 - TABLE OF CONTENTS

Rabbit 4000 Designer’s Handbook rabbit.com 112.2 ESD Design GuidelinesThe following guidelines are recommended for designs incorporating a Rabbit 4000

Pagina 4 - 4 rabbit.com

12 rabbit.com Rabbit Hardware Design Overview2.5 Through-Hole TechnologyMost design advice given for the Rabbit 4000 assumes the use of surface-mount

Pagina 5

Rabbit 4000 Designer’s Handbook rabbit.com 133. Core Design and ComponentsCore designs can be developed around the Rabbit 4000 microprocessor. A core

Pagina 6 - 6 rabbit.com

14 rabbit.com Core Design and ComponentsFigure 3-1 Main Oscillator CircuitThe 32.768 kHz oscillator is slow to start oscillating after power-on. For

Pagina 7 - 1. Introduction

Rabbit 4000 Designer’s Handbook rabbit.com 153.3 Basic Memory DesignNormally /CS0 and /OE0 and /WE0 should be connected to a flash memory that holds t

Pagina 8 - 8 rabbit.com Introduction

16 rabbit.com Core Design and Components3.3.1 Memory Access TimeMemory access time depends on the clock speed and the capacitive loading of the addre

Pagina 9 - 2.1 Design Conventions

Rabbit 4000 Designer’s Handbook rabbit.com 173.4 PC Board Layout and Memory Line PermutationTo use the PC board real estate efficiently, it is recomme

Pagina 10 - 2.1.3 Oscillator Crystals

18 rabbit.com Core Design and Components

Pagina 11 - 2.4 Power Consumption

Rabbit 4000 Designer’s Handbook rabbit.com 194. How Dynamic C Cold Bootsthe Target SystemDynamic C assumes that target controller boards using the Rab

Pagina 12 - 2.6 Moisture Sensitivity

Rabbit® 4000 Microprocessor Designer’s HandbookPart Number 019-0156 • Printed in the U.S.A.Digi International Inc. © 2007-2010 • All rights reserved.D

Pagina 13 - 3. Core Design and Components

20 rabbit.com How Dynamic C Cold Boots the Target SystemWhen the programming cable connects a PC serial port to the target controller board, the PC r

Pagina 14 - 3.2 Floating Inputs

Rabbit 4000 Designer’s Handbook rabbit.com 21The function of the boot ROM program depends on the settings of the pins SMODE0 and SMODE1 and on whether

Pagina 15 - 3.3 Basic Memory Design

22 rabbit.com How Dynamic C Cold Boots the Target System6. The initial loader then reads 7 bytes from the serial port. First a 4-byte address field:

Pagina 16 - 3.3.1 Memory Access Time

Rabbit 4000 Designer’s Handbook rabbit.com 235. Rabbit Memory OrganizationThe architecture of earlier Rabbit processors was derived from the original

Pagina 17

24 rabbit.com Rabbit Memory Organization5.1.2 SRAMStatic RAM may or may not be battery-backed. If the SRAM is battery-backed it retains its data when

Pagina 18

Rabbit 4000 Designer’s Handbook rabbit.com 255.2 Memory SegmentsFrom the point of view of a Dynamic C programmer, there are a number of different uses

Pagina 19 - 4. How Dynamic C Cold Boots

26 rabbit.com Rabbit Memory OrganizationOne advantage of retaining the Rabbit 16-bit logical memory organization is that 16-bit addresses and pointer

Pagina 20

Rabbit 4000 Designer’s Handbook rabbit.com 275.2.2 The Base (or Root) SegmentThe base segment has a typical size of 24 KB. The larger the base segment

Pagina 21

28 rabbit.com Rabbit Memory Organization5.2.5 The Extended Memory SegmentThis 8 KB segment from logical address 0xE000 to 0xFFFF is a sliding window

Pagina 22

Rabbit 4000 Designer’s Handbook rabbit.com 295.3 Separate I&D SpaceSeparate instruction and data space is a hardware memory management scheme that

Pagina 23 - 5.1 Physical Memory

Rabbit 4000 Designer’s Handbook rabbit.com 3TABLE OF CONTENTSChapter 1. Introduction ...

Pagina 24 - 5.1.2 SRAM

30 rabbit.com Rabbit Memory OrganizationSeparate I&D logical addresses map to physical addresses by inverting address lines A16, the most signifi

Pagina 25 - 5.2 Memory Segments

Rabbit 4000 Designer’s Handbook rabbit.com 31When using separate I&D space you can not reference code as data or data as code in logical memory be

Pagina 26 - 5.2.1 Definition of Terms

32 rabbit.com Rabbit Memory Organization 5.3.2.1 Compiling to RAMFor RAM compiles, all banks (quadrants) are mapped to RAM. In a 20-bit physical addr

Pagina 27

Rabbit 4000 Designer’s Handbook rabbit.com 33 5.3.2.2 Compiling to FlashFor flash compiles, flash is mapped to banks 0 and 1. The address range depend

Pagina 28

34 rabbit.com Rabbit Memory Organizationaddress space for constants) and bit 3 enables inversion of MSB for the data space data segment (i.e., the lo

Pagina 29 - 5.3 Separate I&D Space

Rabbit 4000 Designer’s Handbook rabbit.com 35As the compiler compiles code for the extended code window, it checks to see if the code has passed the m

Pagina 30

36 rabbit.com Rabbit Memory Organization

Pagina 31

Rabbit 4000 Designer’s Handbook rabbit.com 376. The Rabbit BIOSWhen Dynamic C compiles a user’s program to a target board, the BIOS (Basic Input/Outpu

Pagina 32 - Register Settings

38 rabbit.com The Rabbit BIOS6.1 Startup Conditions Set by the BIOSThe BIOS performs initialization tasks and #use’s library files that contain setu

Pagina 33 - 5.3.2.2 Compiling to Flash

Rabbit 4000 Designer’s Handbook rabbit.com 396.2 BIOS FlowchartThe following flowchart summarizes the functionality of the BIOS:Figure 6-1 BIOS Flowc

Pagina 34 - 5.3.3 Customizing Interrupts

4 rabbit.com 5.2.4 The Stack Segment ...

Pagina 35 - 5.5 Memory Planning

40 rabbit.com The Rabbit BIOS6.3 Internally-Defined MacrosSome macros used in the BIOS are defined internally by Dynamic C before the BIOS is compile

Pagina 36

Rabbit 4000 Designer’s Handbook rabbit.com 416.4.1 Macros that Affect the BIOSThere are several macros that may be modified for custom-designed boards

Pagina 37 - 6. The Rabbit BIOS

42 rabbit.com The Rabbit BIOSFLASH_SIZESets the amount of flash available. The default value is the internally defined _FLASH_SIZE_ The units are the

Pagina 38

Rabbit 4000 Designer’s Handbook rabbit.com 43MBxCR_INVRT_A18, MBxCR_INVRT_A19These macros determine whether the MIU registers for each quadrant are se

Pagina 39 - 6.2 BIOS Flowchart

44 rabbit.com The Rabbit BIOS 6.5.1.1 Example of Origin DeclarationsThe code from memory_layout.lib provides a practical application of origins. In t

Pagina 40 - 6.4 Modifying the BIOS

Rabbit 4000 Designer’s Handbook rabbit.com 45#orgdef xcodorg xmemcode in flash above start to user_blockDefining origins for the physical memory devic

Pagina 41

46 rabbit.com The Rabbit BIOSseveral other regions needed for buffers. For simplicity’s sake, none of them are shown here and they are not reflected

Pagina 42 - The units

Rabbit 4000 Designer’s Handbook rabbit.com 47 6.5.1.2 Origin Declaration SyntaxFollowing is an EBNF (Extended Backus Naur Form) representation of the

Pagina 43

48 rabbit.com The Rabbit BIOS<name>The non-terminal “name,” though not explicitly defined in the grammar, is equivalent to a C-style identi-fie

Pagina 44

Rabbit 4000 Designer’s Handbook rabbit.com 49<placement>The non-terminal “placement” denotes the placement of an origin within a larger parent s

Pagina 45

Rabbit 4000 Designer’s Handbookl rabbit.com 57.2.2 Reserved Flash Space...

Pagina 46

50 rabbit.com The Rabbit BIOS 6.5.1.4 Origin Declaration Start and End Syntax<start>The non-terminal start is simply the terminal “#orgstart”.

Pagina 47 - <type>

Rabbit 4000 Designer’s Handbook rabbit.com 51<aspect>The aspect non-terminal represents an individual aspect of an origin. This non-terminal may

Pagina 48

52 rabbit.com The Rabbit BIOSAll code sections (rcodorg, xcodorg code and wcodorg) grow up. All non-constant data sections (rvarorg) grow down. Root

Pagina 49 - <size>

Rabbit 4000 Designer’s Handbook rabbit.com 53#xcodorg yourcode 0x0 0x5000 0x500then the origin statement:#xcodorg mycode 0x0 0x5500 0x500 follows your

Pagina 50

54 rabbit.com The Rabbit BIOS 6.5.2.6 Origin Directive ExamplesThe diagram below shows how the origin directives define the mapping between the logic

Pagina 51 - <quality>

Rabbit 4000 Designer’s Handbook rabbit.com 55 6.5.2.8 Origin Directive to Reserve Blocks of MemoryWith the Rabbit 4000, the compiler generates an orig

Pagina 52 - 6.5.2.5 Follow Qualifiers

56 rabbit.com The Rabbit BIOS

Pagina 53

Rabbit 4000 Designer’s Handbook rabbit.com 577. The System Identification and UserBlocksThe BIOS supports a System Identification block and a User blo

Pagina 54

58 rabbit.com The System Identification and User Blocks7.1 System ID Block DetailsThe BIOS will read the System ID block during startup. If the BIOS

Pagina 55

Rabbit 4000 Designer’s Handbook rabbit.com 59typedef struct {int tableVersion; // version number for this table layout**int productID; // Rabbit par

Pagina 56

6 rabbit.com

Pagina 57

60 rabbit.com The System Identification and User Blocks7.1.2 Reading the System ID BlockTo read the ID block from the flash instead of getting the in

Pagina 58 - 7.1 System ID Block Details

Rabbit 4000 Designer’s Handbook rabbit.com 61 7.1.2.1 Determining the Existence of the System ID BlockIn Dynamic C versions prior to 7.20, and for ID

Pagina 59

62 rabbit.com The System Identification and User Blocks21h 2 Number of sectors in 2nd flash 223h 2Flash access time, in nanoseconds, for the 2nd flas

Pagina 60 - _readIDBlock

Rabbit 4000 Designer’s Handbook rabbit.com 637.1.3 Writing the System ID BlockThe WriteFlash() function does not allow writing to the System ID block.

Pagina 61

64 rabbit.com The System Identification and User Blocks7.2.2 Reserved Flash SpaceThe macro MAX_USERBLOCK_SIZE (default 0x8000) in the BIOS tells the

Pagina 62

Rabbit 4000 Designer’s Handbook rabbit.com 657.2.3 Reading the User BlockreadUserBlockint readUserBlock(void *dest, unsigned addr, unsigned numbytes);

Pagina 63 - 7.2 User Block Details

66 rabbit.com The System Identification and User BlocksreadUserBlockArrayint readUserBlockArray(void *dests[], unsigned numbytes[], int numdests, uns

Pagina 64 - 7.2.2 Reserved Flash Space

Rabbit 4000 Designer’s Handbook rabbit.com 677.2.4 Writing the User BlockwriteUserBlockint writeUserBlock(unsigned addr, void *source, unsigned numby

Pagina 65 - 7.2.3 Reading the User Block

68 rabbit.com The System Identification and User BlockswriteUserBlockArrayint writeUserBlockArray(unsigned addr, void* sources[], unsigned numbytes[]

Pagina 66 - IDBLOCK.LIB

Rabbit 4000 Designer’s Handbook rabbit.com 698. BIOS Support for Program CloningThe BIOS supports copying designated portions of flash memory from one

Pagina 67 - 7.2.4 Writing the User Block

Rabbit 4000 Designer’s Handbook rabbit.com 71. IntroductionThis manual is intended for the engineer designing a system using the Rabbit 4000 microproc

Pagina 68

70 rabbit.com BIOS Support for Program Cloning8.2 Creating a CloneBefore cloning can occur, the master controller must be readied. Once this is done,

Pagina 69 - 8.1 Overview of Cloning

Rabbit 4000 Designer’s Handbook rabbit.com 718.3 Cloning QuestionsThe following subsections answer questions about different aspects of cloning.8.3.1

Pagina 70 - 8.2 Creating a Clone

72 rabbit.com BIOS Support for Program Cloning

Pagina 71 - 8.3 Cloning Questions

Rabbit 4000 Designer’s Handbook rabbit.com 739. Low-Power Design and SupportWith the Rabbit 4000 microprocessor it is possible to design systems that

Pagina 72

74 rabbit.com Low-Power Design and Support9.1 Details of the Rabbit 4000 Low-Power FeaturesThis section goes into more detail about the Rabbit 4000 l

Pagina 73

Rabbit 4000 Designer’s Handbook rabbit.com 759.1.2 Reducing Clock SpeedIt is important to know that the lowest speed crystal will not always give the

Pagina 74

76 rabbit.com Low-Power Design and Support9.2 To Further Decrease Power ConsumptionIn addition to the low-power features of the Rabbit 4000 microproc

Pagina 75 - 9.1.2 Reducing Clock Speed

Rabbit 4000 Designer’s Handbook rabbit.com 779.2.3 External 32 kHz OscillatorUnlike the Rabbit 2000, the Rabbit 4000 has no internal 32 kHz oscillator

Pagina 76 - • the processor core

78 rabbit.com Low-Power Design and SupportFunctions are provided to power down the Realtek Ethernet chip as well. By calling the pd_powerup() and pd_

Pagina 77

Rabbit 4000 Designer’s Handbook rabbit.com 7910. Supported Flash MemoriesThere are several flash memories that have been qualified for use with the Ra

Pagina 78

8 rabbit.com IntroductionAs shown in Figure 1-1, the Rabbit programming cable connects a PC serial port to the programming con-nector of the target s

Pagina 79 - 10. Supported Flash Memories

80 rabbit.com Supported Flash Memories10.2 Writing Your Own Flash DriverRabbit does not support using a flash memory that is not listed above and tha

Pagina 80

Rabbit 4000 Designer’s Handbook rabbit.com 8111. Troubleshooting Tips for NewRabbit-Based SystemsIf the Rabbit design conventions were followed and Dy

Pagina 81 - Rabbit-Based Systems

82 rabbit.com Troubleshooting Tips for New Rabbit-Based SystemsAfter extracting the files, double click on serialIO.exe to display the following scre

Pagina 82

Rabbit 4000 Designer’s Handbook rabbit.com 8311.2.2 Diagnostic Test #1: Toggle the Status Pin This test toggles the status pin.1. Apply the reset for

Pagina 83 - 11.2.2.1 Using serialIO.exe

84 rabbit.com Troubleshooting Tips for New Rabbit-Based Systems11.2.3 Diagnostic Test #2The following program checks the processor/RAM interface for

Pagina 84 - 11.2.3 Diagnostic Test #2

Rabbit 4000 Designer’s Handbook rabbit.com 853. The opcodes and their data are in the 2nd column of the Assembly window. Since we want each triplet lo

Pagina 85 - \\Header Block

86 rabbit.com Troubleshooting Tips for New Rabbit-Based SystemsD3 32 24 00;ioi ld (SPCR), a; .forever:D3 3A 30 00;ioi ld a, (PADR)EE 01; xor 0x01D3 3

Pagina 86 - \\Footer Block

Rabbit 4000 Designer’s Handbook rabbit.com 8780 73 01;PEAHR = 0x01 (preset PE4 as /A0)80 75 10;PEFR = 0x10 (PE4 is alternate output)80 77 10;PEDDR = 0

Pagina 87

88 rabbit.com Troubleshooting Tips for New Rabbit-Based Systems

Pagina 88

Rabbit 4000 Designer’s Handbook rabbit.com 89Appendix A: Supported Rabbit 4000Baud RatesThis table contains divisors to put into TATxR registers. All

Pagina 89 - Baud Rates

Rabbit 4000 Designer’s Handbook rabbit.com 92. Rabbit Hardware Design OverviewBecause of the glueless nature of the external interfaces, especially th

Pagina 90

90 rabbit.com Supported Rabbit 4000 Baud RatesThe default equation for the divisor is:If the divisor is not an integer value, that baud rate is not a

Pagina 91

Rabbit 4000 Designer’s Handbook rabbit.com 91INDEXAA18 and A19 inversion ... 43access times ...

Pagina 92 - 92 rabbit.com Index

92 rabbit.com Indexmacros, defined internally__SEPARATE_INST_DATA__ ...40_BOARD_TYPE_ ...

Pagina 93

Rabbit 4000 Designer’s Handbookl rabbit.com 93ZZERO_STATIC_DATA .... 34

Comentarios a estos manuales

Sin comentarios