Maxim-integrated Secure Microcontroller Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Hardware Maxim-integrated Secure Microcontroller herunter. Maxim Integrated Secure Microcontroller User Manual [en] [it] [de] [fr] Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 187
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product. No circuit patent licenses
are implied. Maxim Integrated reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated 160 Rio Robles, San Jose, CA 95134 USA 1-408-601-1000
© 2014 Maxim Integrated Products, Inc. Maxim Integrated and the Maxim Integrated logo are trademarks of Maxim Integrated Products, Inc.
Secure Microcontroller
User’s Guide
Rev 1/14
Seitenansicht 0
1 2 3 4 5 6 ... 186 187

Inhaltsverzeichnis

Seite 1 - Rev 1/14

Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product. No circui

Seite 2 - TABLE OF CONTENTS

Secure Microcontroller User’s Guide 10 of 187 The DS5001FP provides the base feature set of the DS5000FP with the following extras. Note that the DS

Seite 3

Secure Microcontroller User’s Guide 100 of 187 Figure 12-1. Port 0 Functional Circuitry Figure 12-2. Port 1 Functional Circuitry

Seite 4 - 4 of 187

Secure Microcontroller User’s Guide 101 of 187 Figure 12-3. Port 2 Functional Circuitry Figure 12-4. Port 3 Functional Circuitry

Seite 5 - LIST OF FIGURES

Secure Microcontroller User’s Guide 102 of 187 12.1 Output Functions Slightly different output buffer structures are implemented for the four paral

Seite 6 - LIST OF TABLES

Secure Microcontroller User’s Guide 103 of 187 Figure 12-5. Parallel Port Output Buffers (Ports 1, 2, and 3) 12.2 Input Function Any port pin c

Seite 7 - 1.2 Software Security

Secure Microcontroller User’s Guide 104 of 187 12.3 Read-Modify-Write Instructions MNEMONIC DESCRIPTION ANL Logical AND ORL Logical OR XRL Logical

Seite 8 - High-Reliability Operation

Secure Microcontroller User’s Guide 105 of 187 Port 2.3 WR Input that allows the host to write data or commands to DBBIN. Port 2.4 OBF Output

Seite 9 - 1.3 Product Description

Secure Microcontroller User’s Guide 106 of 187 12.5 RPC Interrupts RPC mode provides an additional interrupt to the standard secure microcontroller

Seite 10

Secure Microcontroller User’s Guide 107 of 187 RPS.0: OBF Output Buffer Full Flag is set following a write of the DBBOUT by the DS5001/2, and is

Seite 11

Secure Microcontroller User’s Guide 108 of 187 RPC Control Register—RPCTL (0D8H) RNR — EXBS AE IBI DMA RPCON RG0 RPCTL.3: IBI When using the RPC

Seite 12 - 2. SELECTOR GUIDE

Secure Microcontroller User’s Guide 109 of 187 13. PROGRAMMABLE TIMERS 13.1 Functional Description The secure microcontroller incorporates two 16

Seite 13 - 13 of 187

Secure Microcontroller User’s Guide 11 of 187 • Random number generator • Firmware bootstrap loader resides in a 16kB factory-programmed ROM 8051

Seite 14 - Programmable Timers

Secure Microcontroller User’s Guide 110 of 187 TMOD Register Control Bit Summary TMOD.7 (Timer 1); TMOD.3 (Timer 0) GATE Gate Control When set to

Seite 15 - 15 of 187

Secure Microcontroller User’s Guide 111 of 187 TCON Register Control/Status Bits TCON.7 TF1 Timer 1 Overflow Flag Status bit set to 1 when Timer

Seite 16 - Security Lock Logic

Secure Microcontroller User’s Guide 112 of 187 Figure 13-1. Timer/Counter Mode 0 and 1 Operation 13.4 Mode 2 The selection of Mode 2 configures

Seite 17 - Resident Loader ROM

Secure Microcontroller User’s Guide 113 of 187 Figure 13-2. Timer/Counter Mode 2 Operation Figure 13-3. Timer 0 Mode 3 Operation

Seite 18 - 4. PROGRAMMER’S GUIDE

Secure Microcontroller User’s Guide 114 of 187 13.5 Mode 3 When Timer 0 is selected for operation in Mode 3, both TH0 and TL0 are configured indepe

Seite 19 - 4.1.1 Internal Registers

Secure Microcontroller User’s Guide 115 of 187 14. SERIAL I/O 14.1 Function Description The secure microcontroller, like the 8051, includes a pow

Seite 20

Secure Microcontroller User’s Guide 116 of 187 Table 14-A. Serial Port Operating Modes MODE SYNC/ASYNC BAUD CLOCK DATA BITS START/STOP 9TH DATA BI

Seite 21 - 21 of 187

Secure Microcontroller User’s Guide 117 of 187 Serial Port Control Register SM0 SM1 MODE FUNCTION WORD LENGTH BAUD CLOCK PERIOD 0 0 Mode 0 Sync

Seite 22

Secure Microcontroller User’s Guide 118 of 187 14.2 Baud Rate Generation As shown in Serial Port Control Register, the baud rate clock source for t

Seite 23

Secure Microcontroller User’s Guide 119 of 187 Table 14-B lists some commonly used baud rates that can be derived by using Timer 1 in the timer co

Seite 24 - DS5000 SERIES MCON REGISTER

Secure Microcontroller User’s Guide 12 of 187 2. SELECTOR GUIDE The following configurations are available. Speeds are rated maximums, but all memb

Seite 25 - Partition Table

Secure Microcontroller User’s Guide 120 of 187 The SHCLK signal will be initially output low on the TXD pin starting at S3P1 of the same machine cyc

Seite 26

Secure Microcontroller User’s Guide 121 of 187 sample times by the bit detector, is the one shifted into the receive shift register. Just after the

Seite 27

Secure Microcontroller User’s Guide 122 of 187 Figure 14-1. Mode 0 Block Diagram And Timing

Seite 28

Secure Microcontroller User’s Guide 123 of 187 Figure 14-2. Serial Port Mode 1 Block Diagram

Seite 29 - 29 of 187

Secure Microcontroller User’s Guide 124 of 187 Figure 14-3. Mode2 and 3 Block Diagram

Seite 30 - 30 of 187

Secure Microcontroller User’s Guide 125 of 187 Mode 2 and 3 For Mode 1 operation, the baud rate generator clock is the Timer 1 Overflow output as de

Seite 31

Secure Microcontroller User’s Guide 126 of 187 Table 14-C. Serial I/O Operating Modes MODE SYNC/ASYNC BAUD CLOCK DATA BITS START/STOP 9TH DATA B

Seite 32 - 32 of 187

Secure Microcontroller User’s Guide 127 of 187 To enable interrupts, the EA bit must be set. In addition, the setting the ES bit turns on the serial

Seite 33

Secure Microcontroller User’s Guide 128 of 187 To create 19,200 baud, the SMOD bit should be set to a logic 1 with the same value for TH1. SMOD has

Seite 34 - Figure 4-9. DS5000 SFR Map

Secure Microcontroller User’s Guide 129 of 187 ;This code example shows how to initialize the serial port and transmit / ; receive code as described

Seite 35 - 35 of 187

Secure Microcontroller User’s Guide 13 of 187 3. SECURE MICROCONTROLLER ARCHITECTURE The secure microcontroller family is based on an 8051-compatib

Seite 36 - Power Control Register

Secure Microcontroller User’s Guide 130 of 187 15. CPU TIMING 15.1 Oscillator The secure microcontroller provides an on-chip oscillator circuit t

Seite 37 - TCON, 088H

Secure Microcontroller User’s Guide 131 of 187 Figure 15-2. Clock Source Input 15.2 Instruction Timing The internal clocking sign

Seite 38 - TMOD, 089H

Secure Microcontroller User’s Guide 132 of 187 In the 2-byte 1-cycle instruction shown in Figure 15-3(B), the op code is read during S1 while the se

Seite 39 - SCON, 098H

Secure Microcontroller User’s Guide 133 of 187 Figure 15-3. Bytewide RAM Instruction Execution Timing

Seite 40 - IE, 0A8H

Secure Microcontroller User’s Guide 134 of 187 Figure 15-4. Expanded Program Memory Fetch Figure 15-5. Expanded Data Memory Read

Seite 41 - IP, 0B8H

Secure Microcontroller User’s Guide 135 of 187 Figure 15-6. Expanded Data Memory Write 15.4 Expanded Data Memory Timing The timing for the expa

Seite 42 - MCON, 0C6H

Secure Microcontroller User’s Guide 136 of 187 When a MOVX instruction is used with an indirect register address (e.g., MOVX @R0) for the same purpo

Seite 43 - PAA

Secure Microcontroller User’s Guide 137 of 187 16. PROGRAM LOADING The secure microcontroller family has the ability to perform true in-system and

Seite 44 - DS5001/DS5002 MCON Register

Secure Microcontroller User’s Guide 138 of 187 The guaranteed preserved locations are areas in scratchpad RAM that will not be changed by the bootst

Seite 45 - PSW, 0D0H

Secure Microcontroller User’s Guide 139 of 187 16.4 Exiting the Loader In the DS5000 series, the RST pin must be driven low or allowed to float and

Seite 46 - RPCTL, 0D8H

Secure Microcontroller User’s Guide 14 of 187 Scratchpad Registers Scratchpad registers are 128 registers where data can be stored directly. They ar

Seite 47 - RPS, 0DAH

Secure Microcontroller User’s Guide 140 of 187 Figure 16-1. Invoking and Exiting the Loader on the DS5001/DS5002 Series

Seite 48 - 4.10 Addressing Modes

Secure Microcontroller User’s Guide 141 of 187 16.5 Serial Program Load Mode The serial bootstrap loader is the easiest method of loading applicat

Seite 49 - 49 of 187

Secure Microcontroller User’s Guide 142 of 187 16.6 Auto-Baud Rate Detection The serial bootstrap loader can automatically detect, within certain l

Seite 50 - 4.11 Program Status Flags

Secure Microcontroller User’s Guide 143 of 187 16.8 Command Line Interface The serial bootstrap loader uses an easy-to-use command line interface t

Seite 51 - 5. MEMORY INTERCONNECT

Secure Microcontroller User’s Guide 144 of 187 The D and F commands allow optional addresses to be entered. The syntax [Begin-Address [End-Address]]

Seite 52

Secure Microcontroller User’s Guide 145 of 187 16.10 Command Summaries ^C Interrupt whatever is going on, clear all the buffers, put up a prompt an

Seite 53

Secure Microcontroller User’s Guide 146 of 187 N The newness command, N, places the device into freshness mode if VCC is removed following execution

Seite 54 - DS5002FP

Secure Microcontroller User’s Guide 147 of 187 Z Set the security lock. Only the U and Z commands may be given after the security lock is set. ^C

Seite 55

Secure Microcontroller User’s Guide 148 of 187 MSL This bit allows the data space in a fixed memory (nonpartitionable) system to be loaded using th

Seite 56

Secure Microcontroller User’s Guide 149 of 187 E:ILLOPT The optional parameters given were in error. If the start address is greater than the given

Seite 57

Secure Microcontroller User’s Guide 15 of 187 Figure 3-1. Secure Microcontroller Architectural Block Diagram

Seite 58 - Battery-Backed Circuits

Secure Microcontroller User’s Guide 150 of 187 16.13 Parallel Program Load Operation The DS5000 parallel program load mode is compatible with

Seite 59 - Battery-Attach Procedure

Secure Microcontroller User’s Guide 151 of 187 Figure 16-4. Parallel Program Load Cycles

Seite 60 - Battery Lifetime

Secure Microcontroller User’s Guide 152 of 187 16.14 Parallel Program Load Mode Table 16-B summarizes the selection of the available parallel progr

Seite 61 - Freshness Seal

Secure Microcontroller User’s Guide 153 of 187 16.15 Parallel Programming Concerns Maxim highly recommends using the highly reliable and easy to us

Seite 62 - 7.1 Idle Mode

Secure Microcontroller User’s Guide 154 of 187 is written with a 0Dh, this will cause the loader to respond with its banner and prompt using this sa

Seite 63 - 63 of 187

Secure Microcontroller User’s Guide 155 of 187 17. REAL-TIME CLOCK (RTC) Many user applications require a time-of-day clock. For this reason, all s

Seite 64 - 7.4 Power-Fail Interrupt

Secure Microcontroller User’s Guide 156 of 187 The timekeeper contains a shift register with 128 bit locations. The first 64 locations correspond to

Seite 65 - 7.5 Total Power Failure

Secure Microcontroller User’s Guide 157 of 187 Figure 17-2. DS5000T/DS2250T RTC Pattern Comparison Register

Seite 66 - 7.6 Partial Power Failures

Secure Microcontroller User’s Guide 158 of 187 Figure 17-3. DS5000T/DS2250T RTC Register Entry Flowchart *To guarantee that the pattern reco

Seite 67

Secure Microcontroller User’s Guide 159 of 187 Figure 17-4. DS5000T/DS2250T RTC Registers

Seite 68 - 8.1 Timed Access

Secure Microcontroller User’s Guide 16 of 187 Parallel I/O Four SFRs provide access for the four parallel I/O port latches. These I/O ports are deno

Seite 69 - Figure 8-1. Timed Access

Secure Microcontroller User’s Guide 160 of 187 17.3 Registers The time information is contained in eight registers that are each 8 bits long. After

Seite 70 - 8.2 Watchdog Timer

Secure Microcontroller User’s Guide 161 of 187 Figure 17-5. Time Register Examples

Seite 71 - 8.3 CRC Memory Verification

Secure Microcontroller User’s Guide 162 of 187 17.5 DS2251T/DS2252T RTC The DS2251T and DS2252T RTCs provide permanently powered time-of-day monito

Seite 72 - 72 of 187

Secure Microcontroller User’s Guide 163 of 187 Figure 17-6. DS2251T/DS2252T RTC Block Diagram 17.6 Memory Map The RTCs in the DS2251T and DS2

Seite 73 - Figure 8-2. CRC Code Example

Secure Microcontroller User’s Guide 164 of 187 Figure 17-7. DS2251T/DS2252T RTC Memory Map

Seite 74 - 9.1 Security Lock

Secure Microcontroller User’s Guide 165 of 187 The time, calendar, and alarm functions are controlled by these 14 registers. In particular, the comm

Seite 75 - 9.2 RAM Memory

Secure Microcontroller User’s Guide 166 of 187 17.7 DS2251T/DS2252T RTC Interrupts The DS2252T/DS2252T RTC provides two interrupt functions. They a

Seite 76 - 9.3 Encrypted Memory

Secure Microcontroller User’s Guide 167 of 187 the DS2251T will immediately identify this condition, if present, by the INTPbeing continually low. U

Seite 77 - 77 of 187

Secure Microcontroller User’s Guide 168 of 187 Programmer’s Note: In the Write subroutine at the end of this example program, there is one unusual s

Seite 78 - 9.5 Encryption Key

Secure Microcontroller User’s Guide 169 of 187 lcall OPEN ;Set up to read date/time. mov B #8 ;Set up to send 8 bytes. F: lcall RBYTE ;Re

Seite 79 - 9.8 On-Chip Vector RAM

Secure Microcontroller User’s Guide 17 of 187 Vector RAM The vector RAM is used to contain the reset and interrupt vector code when the soft microco

Seite 80 - 9.9 Self-Destruct Input

Secure Microcontroller User’s Guide 170 of 187 ;*********************************** ; ; This subroutine performs a “context switch: to the CE2 data

Seite 81 - 81 of 187

Secure Microcontroller User’s Guide 171 of 187 Application: Using the DS2251T/DS2252T RTC The RTC of the DS2251T or DS2252T is accessed in a paralle

Seite 82 - Avoid Clear Text

Secure Microcontroller User’s Guide 172 of 187 LCALL TEXT_OUT LCALL HEX_IN LCALL WBYTE ; Set the year. MOV DPTR, #MONTH LCALL TEX

Seite 83 - Change Code

Secure Microcontroller User’s Guide 173 of 187 MOV DPTR, #TEXT2 LCALL TEXT_OUT MOV R0, #4 LCALL RBYTE ; Read the hour. DEC R0

Seite 84 - Tamper Protection

Secure Microcontroller User’s Guide 174 of 187 ADD A, #7 HEX_OK: ADD A, #30H LCALL CHAR_OUT POP ACC DJNZ B, OUT_LP RET ; TEXT_OU

Seite 85 - Reset Status Bits

Secure Microcontroller User’s Guide 175 of 187 TRIGGER: DB CR,LF,’PRESS ANY KEY TO SET THIS TIME’,CR,LF,0 TEXT0: DB CR,LF,’****** DALLAS SEMIC

Seite 86 - Table 10-A. SFR Reset States

Secure Microcontroller User’s Guide 176 of 187 18. TROUBLESHOOTING Maxim’s secure microcontroller family has proven itself to be a reliable and eas

Seite 87 - 10.1.1 Power-On Reset

Secure Microcontroller User’s Guide 177 of 187 2) Time is not changing. The timekeeper oscillator must be enabled if the RTC is to be used. If the

Seite 88 - 10.1.4 Watchdog Timer Reset

Secure Microcontroller User’s Guide 178 of 187 Memory map is not configured. If the developer has not selected the correct memory map via the bootst

Seite 89 - 10.2 Memory Map

Secure Microcontroller User’s Guide 179 of 187 INT0 is stuck low on DS2252T. The DS2252T incorporates an RTC with interrupt capability. The INTP out

Seite 90 - 10.4 Timers

Secure Microcontroller User’s Guide 18 of 187 4. PROGRAMMER’S GUIDE The secure microcontroller uses NV RAM technology for program and data memory.

Seite 91 - 91 of 187

Secure Microcontroller User’s Guide 180 of 187 battery-backed. PE3 and PE4 are not backed, and can be connected to normal circuits. On the DS5000FP,

Seite 92 - 11.1 Interrupt Sources

Secure Microcontroller User’s Guide 181 of 187 19. INSTRUCTION SET DETAILS MNEMONIC INSTRUCTION CODE HEX BYTE CYCLE EXPLANATION D7 D6 D5 D4 D3

Seite 93 - 11.4 Serial Port Interrupts

Secure Microcontroller User’s Guide 182 of 187 MNEMONIC INSTRUCTION CODE HEX BYTE CYCLE EXPLANATION D7 D6 D5 D4 D3 D2 D1 D0 ARITHMETIC OPER. DA

Seite 94 - 11.6 Simulated Interrupts

Secure Microcontroller User’s Guide 183 of 187 MNEMONIC INSTRUCTION CODE HEX BYTE CYCLE EXPLANATION D7 D6 D5 D4 D3 D2 D1 D0 RL A 0 0 1 0

Seite 95

Secure Microcontroller User’s Guide 184 of 187 MNEMONIC INSTRUCTION CODE HEX BYTE CYCLE EXPLANATION D7 D6 D5 D4 D3 D2 D1 D0 DATA TRANSFER MOV d

Seite 96 - 11.7 Interrupt Priorities

Secure Microcontroller User’s Guide 185 of 187 BOOLEAN VARIABLE MANIPULATION MNEMONIC INSTRUCTION CODE HEX BYTE CYCLE EXPLANATION D7 D6 D5 D4

Seite 97 - 11.8 Interrupt Acknowledge

Secure Microcontroller User’s Guide 186 of 187 PROGRAM BRANCHING MNEMONIC INSTRUCTION CODE HEX BYTE CYCLE EXPLANATION D7 D6 D5 D4 D3 D2 D1 D0 AC

Seite 98

Secure Microcontroller User’s Guide 187 of 187 CJNE A, direct, rel 0 a7 r7 0 a6 r6 0 a5 r5 1 a4 r4 0 a3 r3 0 a2 r2 0 a1 r1 0 a0 r0 B5 Byte 2 Byte 3

Seite 99 - 12. PARALLEL I/O

Secure Microcontroller User’s Guide 19 of 187 4.1.1 Internal Registers The internal register space is divided into two parts. These are scratchpad r

Seite 100

Secure Microcontroller User’s Guide 2 of 187 TABLE OF CONTENTS 1. INTRODUCTION ...

Seite 101

Secure Microcontroller User’s Guide 20 of 187 Figure 4-2. Scratchpad Register Map 7FH 2FH 7F 7E 7D 7C 7B 7A 79 78 2EH 77 76 75 74 73 72 71 70 2DH

Seite 102 - 12.1 Output Functions

Secure Microcontroller User’s Guide 21 of 187 The second bus is an expanded bus constituted by Ports 0 and 2. This is the standard 8051-compatible m

Seite 103 - 12.2 Input Function

Secure Microcontroller User’s Guide 22 of 187 When the partition is at 3000h and the range at 32kB, program memory below 3000h is accessed on the by

Seite 104

Secure Microcontroller User’s Guide 23 of 187 Figure 4-3. DS5000 Series Memory Map 4.3 DS5000 Memory

Seite 105

Secure Microcontroller User’s Guide 24 of 187 DS5000 SERIES MCON REGISTER MCON.7–4 PA3–0 Partition Address Use to select the starting address

Seite 106 - 12.5 RPC Interrupts

Secure Microcontroller User’s Guide 25 of 187 are selected during the bootstrap loading process and cannot be modified by the application software.

Seite 107 - 12.7 DMA Operation

Secure Microcontroller User’s Guide 26 of 187 Figure 4-4. Partitionable Memory Map for DS5001/DS5002 Series The nonpar

Seite 108 - 108 of 187

Secure Microcontroller User’s Guide 27 of 187 Figure 4-5. Nonpartitionable Memory Map for DS5001/DS5002 Series 4.5 DS5

Seite 109 - 13.1 Functional Description

Secure Microcontroller User’s Guide 28 of 187 = 1, the entire 64kB data memory map is accessed in this way. Clearing EXBS causes the microcontroller

Seite 110 - 110 of 187

Secure Microcontroller User’s Guide 29 of 187 advantages of a secure microcontroller is the ability to change these settings, and even reload the en

Seite 111 - 13.3 Mode 1

Secure Microcontroller User’s Guide 3 of 187 9.11 RANDOM NUMBER GENERATOR ...

Seite 112 - 13.4 Mode 2

Secure Microcontroller User’s Guide 30 of 187 that includes this loader routine. Once the partition is moved to this temporary location, the softwar

Seite 113

Secure Microcontroller User’s Guide 31 of 187 Figure 4-7. Reloading Portions of a DS5000 Series Device Soft Relo

Seite 114 - 13.5 Mode 3

Secure Microcontroller User’s Guide 32 of 187 If the device is in a nonpartitionable configuration, an extra step is required. To perform a soft rel

Seite 115 - 14.1 Function Description

Secure Microcontroller User’s Guide 33 of 187 Figure 4-8. Reloading a DS5001/DS5002 Series Device 4.8 Special Functi

Seite 116

Secure Microcontroller User’s Guide 34 of 187 Figure 4-9. DS5000 SFR Map

Seite 117 - Serial Port Control Register

Secure Microcontroller User’s Guide 35 of 187 Figure 4-10. DS5001/DS5002 SFR Map

Seite 118 - 14.2 Baud Rate Generation

Secure Microcontroller User’s Guide 36 of 187 Power Control Register PCON, 087H D7 D6 D5 D4 D3 D2 D1 D0 SMOD POR PFW WTR EPFW EWT STOP IDL RW-0 RT-

Seite 119 - 119 of 187

Secure Microcontroller User’s Guide 37 of 187 Timer Control Register TCON, 088H D7 D6 D5 D4 D3 D2 D1 D0 TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 RW-0 RW-0 R

Seite 120 - 14.4 Asynchronous Operation

Secure Microcontroller User’s Guide 38 of 187 Timer Mode Register TMOD, 089H D7 D6 D5 D4 D3 D2 D1 D0 GATE C/T M1 M0 GATE C/T M1 M0 RW-0 RW-0 RW-0 R

Seite 121 - 121 of 187

Secure Microcontroller User’s Guide 39 of 187 Serial Control Register SCON, 098H D7 D6 D5 D4 D3 D2 D1 D0 SM0 SM1 SM2 REN TB8 RB8 TI RI RW-0 RW-0 RW

Seite 122 - 122 of 187

Secure Microcontroller User’s Guide 4 of 187 16.6 AUTO-BAUD RATE DETECTION ...

Seite 123 - 123 of 187

Secure Microcontroller User’s Guide 40 of 187 Interrupt Enable Register IE, 0A8H D7 D6 D5 D4 D3 D2 D1 D0 EA — — ES ET1 EX1 ET0 EX0 RW-0 RW-0 RW-0

Seite 124 - 124 of 187

Secure Microcontroller User’s Guide 41 of 187 Interrupt Priority Register IP, 0B8H D7 D6 D5 D4 D3 D2 D1 D0 RWT 1 1 PS PT1 PX1 PT0 PX0 RT-1 R-1 R-1

Seite 125 - Mode 2 and 3

Secure Microcontroller User’s Guide 42 of 187 DS5001 CRC Register CRC, 0C1H D7 D6 D5 D4 D3 D2 D1 D0 RNGE3 RNGE2 RNGE1 RNGE0 — — — CRC RB-* RB-* RB-

Seite 126 - 126 of 187

Secure Microcontroller User’s Guide 43 of 187 *A 4kB increment (not 2kB) takes place between PA3–0 values 1110b and 1111b. MCON.3 RA32/8 Range Add

Seite 127 - 127 of 187

Secure Microcontroller User’s Guide 44 of 187 DS5001/DS5002 MCON Register MCON, 0C6H D7 D6 D5 D4 D3 D2 D1 D0 PA3 PA2 PA1 PA0 RG1 PES PM SL RT*-* RT

Seite 128 - 128 of 187

Secure Microcontroller User’s Guide 45 of 187 Program Status Word Register PSW, 0D0H D7 D6 D5 D4 D3 D2 D1 D0 C AC F0 RS1 RS0 OV P RW-0 RW-0 RW-0 R

Seite 129

Secure Microcontroller User’s Guide 46 of 187 DS5001/DS5002 RPC Control Register RPCTL, 0D8H D7 D6 D5 D4 D3 D2 D1 D0 RNR — EXBS AE IBI DMA RPCON RG

Seite 130 - 15.1 Oscillator

Secure Microcontroller User’s Guide 47 of 187 DS5001/DS5002 RPC Status Register RPS, 0DAH D7 D6 D5 D4 D3 D2 D1 D0 ST7 ST6 ST5 ST4 IA0 F0 IBF OBF *

Seite 131 - 15.2 Instruction Timing

Secure Microcontroller User’s Guide 48 of 187 4.9 Instruction Set The secure microcontroller executes an instruction set that is object-code compat

Seite 132 - 132 of 187

Secure Microcontroller User’s Guide 49 of 187 In addition, this addressing is used via the stack pointer register (SP) for manipulation of the stack

Seite 133

Secure Microcontroller User’s Guide 5 of 187 LIST OF FIGURES Figure 3-1. Secure Microcontroller Architectural Block Diagram ...

Seite 134

Secure Microcontroller User’s Guide 50 of 187 highest order 5 bits for the next contiguous instruction (PC + 2) and concatenating them with the lowe

Seite 135

Secure Microcontroller User’s Guide 51 of 187 5. MEMORY INTERCONNECT The secure microcontrollers are composed of microprocessors and modules. This

Seite 136 - 136 of 187

Secure Microcontroller User’s Guide 52 of 187 Figure 5-2. DS5000 Series Module Block Diagram The DS5001FP/DS5002FP has several memory options. I

Seite 137 - 16. PROGRAM LOADING

Secure Microcontroller User’s Guide 53 of 187 Figure 5-3. Memory Interconnect of the Partitionable DS5001/DS5002

Seite 138 - 138 of 187

Secure Microcontroller User’s Guide 54 of 187 Figure 5-4. Memory Interconnect of the Nonpartitionable DS5001FP, DS5002FP

Seite 139 - 16.4 Exiting the Loader

Secure Microcontroller User’s Guide 55 of 187 Figure 5-5. Memory Interconnect Using the 128kB SRAM In the 128kB x 8 configuration, the microproce

Seite 140

Secure Microcontroller User’s Guide 56 of 187 Figure 5-6. DS2251T-128 Block Diagram

Seite 141

Secure Microcontroller User’s Guide 57 of 187 Figure 5-7. DS2252T-32 Block Diagram

Seite 142 - 142 of 187

Secure Microcontroller User’s Guide 58 of 187 6. LITHIUM/BATTERY BACKUP Soft microcontroller devices are battery backed for data retention in the a

Seite 143 - 16.9 Command Line Syntax

Secure Microcontroller User’s Guide 59 of 187 Figure 6-1. Power-Supply Slew Rate Each time VCC is restored, the battery-backed function

Seite 144 - Important Application Note

Secure Microcontroller User’s Guide 6 of 187 Figure 14-3. Mode2 and 3 Block Diagram ...

Seite 145 - 16.10 Command Summaries

Secure Microcontroller User’s Guide 60 of 187 ESR rating over the intended operating temperature range to ensure against leakage that may shorten ba

Seite 146 - 146 of 187

Secure Microcontroller User’s Guide 61 of 187 is conservative. This gives a total data retention current of 2475nA. In this system, a Rayovac BR2325

Seite 147 - 147 of 187

Secure Microcontroller User’s Guide 62 of 187 7. POWER MANAGEMENT All secure microcontrollers are implemented using CMOS circuitry for low power co

Seite 148 - 16.11 Error Messages

Secure Microcontroller User’s Guide 63 of 187 Control/Status Bits for Power Control PCON.6 POR Power-On Reset Indicates that the previous reset wa

Seite 149 - 16.12 Intel Hex File Format

Secure Microcontroller User’s Guide 64 of 187 7.2 Stop Mode Stop mode is initiated by setting the STOP bit (PCON.1). The operation of the oscillato

Seite 150

Secure Microcontroller User’s Guide 65 of 187 Figure 7-1. Secure Microcontroller Power Cycling Timing 7.5 Total Power Failure If VCC voltage sho

Seite 151

Secure Microcontroller User’s Guide 66 of 187 clock oscillator is allowed to start up and an internal power-on reset cycle is executed. Part of the

Seite 152 - 152 of 187

Secure Microcontroller User’s Guide 67 of 187 Figure 7-2. Secure Microcontroller Power Management

Seite 153 - 153 of 187

Secure Microcontroller User’s Guide 68 of 187 8. SOFTWARE CONTROL Several features have been incorporated into the secure microcontroller to help e

Seite 154 - 154 of 187

Secure Microcontroller User’s Guide 69 of 187 Figure 8-1. Timed Access This code allows the reset of the watchdog timer: MOV 0C7H,#0

Seite 155 - 17.1 DS5000T/DS2250T RTC

Secure Microcontroller User’s Guide 7 of 187 1. INTRODUCTION The secure microcontroller family is a line of 8051-compatible devices that use nonvol

Seite 156 - 156 of 187

Secure Microcontroller User’s Guide 70 of 187 POR informs the software of the power supply condition. Specifically, it means the power has previousl

Seite 157

Secure Microcontroller User’s Guide 71 of 187 MOV 0C7H, #0AAh ; 1st TA Value MOV 0C7H, #055h ; 2nd TA Value SETB IP.7 ; Reset Watchdog Timer

Seite 158

Secure Microcontroller User’s Guide 72 of 187 This function is supported in the CRC register, accessible via the Bootstrap Loader. Setting the CRC b

Seite 159

Secure Microcontroller User’s Guide 73 of 187 The CRC-16 logic is accessed via the CRCMSB and CRCLSB SFRs mentioned above. The software must sequent

Seite 160 - 17.4 Special Bits

Secure Microcontroller User’s Guide 74 of 187 9. FIRMWARE SECURITY One of the outstanding features of the secure microcontroller is its firmware se

Seite 161

Secure Microcontroller User’s Guide 75 of 187 single-chip microcontroller, in that it prevents a programmer from reading the memory. In addition, th

Seite 162 - 17.5 DS2251T/DS2252T RTC

Secure Microcontroller User’s Guide 76 of 187 9.3 Encrypted Memory The heart of secure microcontroller security is the memory encryption function.

Seite 163 - 17.6 Memory Map

Secure Microcontroller User’s Guide 77 of 187 Figure 9-2. DS5002 Software Encryption Block Diagram The address encryptor translates each “logica

Seite 164

Secure Microcontroller User’s Guide 78 of 187 Different memory areas are encrypted in the DS5000 and DS5002. For a DS5000, all memory accessed under

Seite 165 - 165 of 187

Secure Microcontroller User’s Guide 79 of 187 decrypted by the micro. Once a new Key is loaded, it will allow all commands to work properly within t

Seite 166 - 166 of 187

Secure Microcontroller User’s Guide 8 of 187 The DS5002FP secure microprocessor chip offers the highest level of security, with permanently enabled

Seite 167

Secure Microcontroller User’s Guide 80 of 187 Figure 9-3. Dummy Bus Access Timing 9.9 Self-Destruct Input The self-destruct input (SDI) is an act

Seite 168 - 168 of 187

Secure Microcontroller User’s Guide 81 of 187 Once activated, the SDI event duration is determined by the state of VCC and the SDI pin. Once both VC

Seite 169 - 169 of 187

Secure Microcontroller User’s Guide 82 of 187 spend a long time breaking into the DS5000, but the user can simply change system security at any time

Seite 170 - 170 of 187

Secure Microcontroller User’s Guide 83 of 187 stores text that appears on a display in encrypted form. This gives the pirate a starting point to loo

Seite 171 - 171 of 187

Secure Microcontroller User’s Guide 84 of 187 External Circuits A variety of external circuits can support secure operation. For example, the DS2401

Seite 172 - 172 of 187

Secure Microcontroller User’s Guide 85 of 187 10. RESET CONDITIONS 10.1 Reset Sources The secure microcontroller family provides proper reset ope

Seite 173 - 173 of 187

Secure Microcontroller User’s Guide 86 of 187 Table 10-A. SFR Reset States REGISTER LOCATION RESET CONDITION RESET TYPE PC N/A 000h All ACC E0h 00h

Seite 174 - 174 of 187

Secure Microcontroller User’s Guide 87 of 187 10.1.1 Power-On Reset The secure microcontroller family provides an internal power-on reset capabilit

Seite 175 - 175 of 187

Secure Microcontroller User’s Guide 88 of 187 The distinguishing action taken during a power-on reset is that the POR bit is cleared in order to ind

Seite 176 - 18. TROUBLESHOOTING

Secure Microcontroller User’s Guide 89 of 187 routine. It can lie any where in the 64kB of program memory addressed by the device. A common choice i

Seite 177 - 177 of 187

Secure Microcontroller User’s Guide 9 of 187 1.3 Product Description All secure microcontroller products have the following standard 8051 family fe

Seite 178 - 178 of 187

Secure Microcontroller User’s Guide 90 of 187 the Partition is set to 5800h, the DPTR should be set to 5800h to start. Once data has been saved in N

Seite 179 - 18.7 Do’s and Don’ts

Secure Microcontroller User’s Guide 91 of 187 10.5 Transient Voltage Protection The microprocessor provides protection from transients through a bu

Seite 180 - 180 of 187

Secure Microcontroller User’s Guide 92 of 187 11. INTERRUPTS The secure microcontroller family follows the standard 8051 convention for interrupts

Seite 181 - 19. INSTRUCTION SET DETAILS

Secure Microcontroller User’s Guide 93 of 187 11.2 External Interrupts The two external interrupts are INT0 and INT1. They correspond to P3.2 and P

Seite 182

Secure Microcontroller User’s Guide 94 of 187 11.5 Power-Fail Warning Interrupt The secure microcontroller family adds a new interrupt, the early w

Seite 183 - MNEMONIC

Secure Microcontroller User’s Guide 95 of 187 Figure 11-1. Interrupt Request Sources

Seite 184

Secure Microcontroller User’s Guide 96 of 187 Interrupt Enable Control Bits All bits are read/write at any time and are cleared to 0 following any h

Seite 185

Secure Microcontroller User’s Guide 97 of 187 Each interrupt priority is determined by an individual bit as in the following table. Setting the appr

Seite 186

Secure Microcontroller User’s Guide 98 of 187 a) The current cycle is not part of an instruction within an interrupt service routine of an interrup

Seite 187

Secure Microcontroller User’s Guide 99 of 187 12. PARALLEL I/O The secure microcontroller provides four 8-bit bidirectional ports for general-purpo

Kommentare zu diesen Handbüchern

Keine Kommentare