Maxim Integrated cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim Integrated product. No circui
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
Secure Microcontroller User’s Guide 100 of 187 Figure 12-1. Port 0 Functional Circuitry Figure 12-2. Port 1 Functional Circuitry
Secure Microcontroller User’s Guide 101 of 187 Figure 12-3. Port 2 Functional Circuitry Figure 12-4. Port 3 Functional Circuitry
Secure Microcontroller User’s Guide 102 of 187 12.1 Output Functions Slightly different output buffer structures are implemented for the four paral
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
Secure Microcontroller User’s Guide 104 of 187 12.3 Read-Modify-Write Instructions MNEMONIC DESCRIPTION ANL Logical AND ORL Logical OR XRL Logical
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
Secure Microcontroller User’s Guide 106 of 187 12.5 RPC Interrupts RPC mode provides an additional interrupt to the standard secure microcontroller
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
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
Secure Microcontroller User’s Guide 109 of 187 13. PROGRAMMABLE TIMERS 13.1 Functional Description The secure microcontroller incorporates two 16
Secure Microcontroller User’s Guide 11 of 187 • Random number generator • Firmware bootstrap loader resides in a 16kB factory-programmed ROM 8051
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
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
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
Secure Microcontroller User’s Guide 113 of 187 Figure 13-2. Timer/Counter Mode 2 Operation Figure 13-3. Timer 0 Mode 3 Operation
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
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
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
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
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
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
Secure Microcontroller User’s Guide 12 of 187 2. SELECTOR GUIDE The following configurations are available. Speeds are rated maximums, but all memb
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
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
Secure Microcontroller User’s Guide 122 of 187 Figure 14-1. Mode 0 Block Diagram And Timing
Secure Microcontroller User’s Guide 123 of 187 Figure 14-2. Serial Port Mode 1 Block Diagram
Secure Microcontroller User’s Guide 124 of 187 Figure 14-3. Mode2 and 3 Block Diagram
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
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
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
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
Secure Microcontroller User’s Guide 129 of 187 ;This code example shows how to initialize the serial port and transmit / ; receive code as described
Secure Microcontroller User’s Guide 13 of 187 3. SECURE MICROCONTROLLER ARCHITECTURE The secure microcontroller family is based on an 8051-compatib
Secure Microcontroller User’s Guide 130 of 187 15. CPU TIMING 15.1 Oscillator The secure microcontroller provides an on-chip oscillator circuit t
Secure Microcontroller User’s Guide 131 of 187 Figure 15-2. Clock Source Input 15.2 Instruction Timing The internal clocking sign
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
Secure Microcontroller User’s Guide 133 of 187 Figure 15-3. Bytewide RAM Instruction Execution Timing
Secure Microcontroller User’s Guide 134 of 187 Figure 15-4. Expanded Program Memory Fetch Figure 15-5. Expanded Data Memory Read
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
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
Secure Microcontroller User’s Guide 137 of 187 16. PROGRAM LOADING The secure microcontroller family has the ability to perform true in-system and
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
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
Secure Microcontroller User’s Guide 14 of 187 Scratchpad Registers Scratchpad registers are 128 registers where data can be stored directly. They ar
Secure Microcontroller User’s Guide 140 of 187 Figure 16-1. Invoking and Exiting the Loader on the DS5001/DS5002 Series
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
Secure Microcontroller User’s Guide 142 of 187 16.6 Auto-Baud Rate Detection The serial bootstrap loader can automatically detect, within certain l
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
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]]
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
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
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
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
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
Secure Microcontroller User’s Guide 15 of 187 Figure 3-1. Secure Microcontroller Architectural Block Diagram
Secure Microcontroller User’s Guide 150 of 187 16.13 Parallel Program Load Operation The DS5000 parallel program load mode is compatible with
Secure Microcontroller User’s Guide 151 of 187 Figure 16-4. Parallel Program Load Cycles
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
Secure Microcontroller User’s Guide 153 of 187 16.15 Parallel Programming Concerns Maxim highly recommends using the highly reliable and easy to us
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
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
Secure Microcontroller User’s Guide 156 of 187 The timekeeper contains a shift register with 128 bit locations. The first 64 locations correspond to
Secure Microcontroller User’s Guide 157 of 187 Figure 17-2. DS5000T/DS2250T RTC Pattern Comparison Register
Secure Microcontroller User’s Guide 158 of 187 Figure 17-3. DS5000T/DS2250T RTC Register Entry Flowchart *To guarantee that the pattern reco
Secure Microcontroller User’s Guide 159 of 187 Figure 17-4. DS5000T/DS2250T RTC Registers
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
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
Secure Microcontroller User’s Guide 161 of 187 Figure 17-5. Time Register Examples
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
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
Secure Microcontroller User’s Guide 164 of 187 Figure 17-7. DS2251T/DS2252T RTC Memory Map
Secure Microcontroller User’s Guide 165 of 187 The time, calendar, and alarm functions are controlled by these 14 registers. In particular, the comm
Secure Microcontroller User’s Guide 166 of 187 17.7 DS2251T/DS2252T RTC Interrupts The DS2252T/DS2252T RTC provides two interrupt functions. They a
Secure Microcontroller User’s Guide 167 of 187 the DS2251T will immediately identify this condition, if present, by the INTPbeing continually low. U
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
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
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
Secure Microcontroller User’s Guide 170 of 187 ;*********************************** ; ; This subroutine performs a “context switch: to the CE2 data
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
Secure Microcontroller User’s Guide 172 of 187 LCALL TEXT_OUT LCALL HEX_IN LCALL WBYTE ; Set the year. MOV DPTR, #MONTH LCALL TEX
Secure Microcontroller User’s Guide 173 of 187 MOV DPTR, #TEXT2 LCALL TEXT_OUT MOV R0, #4 LCALL RBYTE ; Read the hour. DEC R0
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
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
Secure Microcontroller User’s Guide 176 of 187 18. TROUBLESHOOTING Maxim’s secure microcontroller family has proven itself to be a reliable and eas
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
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
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
Secure Microcontroller User’s Guide 18 of 187 4. PROGRAMMER’S GUIDE The secure microcontroller uses NV RAM technology for program and data memory.
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,
Secure Microcontroller User’s Guide 181 of 187 19. INSTRUCTION SET DETAILS MNEMONIC INSTRUCTION CODE HEX BYTE CYCLE EXPLANATION D7 D6 D5 D4 D3
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
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
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
Secure Microcontroller User’s Guide 185 of 187 BOOLEAN VARIABLE MANIPULATION MNEMONIC INSTRUCTION CODE HEX BYTE CYCLE EXPLANATION D7 D6 D5 D4
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
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
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
Secure Microcontroller User’s Guide 2 of 187 TABLE OF CONTENTS 1. INTRODUCTION ...
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
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
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
Secure Microcontroller User’s Guide 23 of 187 Figure 4-3. DS5000 Series Memory Map 4.3 DS5000 Memory
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
Secure Microcontroller User’s Guide 25 of 187 are selected during the bootstrap loading process and cannot be modified by the application software.
Secure Microcontroller User’s Guide 26 of 187 Figure 4-4. Partitionable Memory Map for DS5001/DS5002 Series The nonpar
Secure Microcontroller User’s Guide 27 of 187 Figure 4-5. Nonpartitionable Memory Map for DS5001/DS5002 Series 4.5 DS5
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
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
Secure Microcontroller User’s Guide 3 of 187 9.11 RANDOM NUMBER GENERATOR ...
Secure Microcontroller User’s Guide 30 of 187 that includes this loader routine. Once the partition is moved to this temporary location, the softwar
Secure Microcontroller User’s Guide 31 of 187 Figure 4-7. Reloading Portions of a DS5000 Series Device Soft Relo
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
Secure Microcontroller User’s Guide 33 of 187 Figure 4-8. Reloading a DS5001/DS5002 Series Device 4.8 Special Functi
Secure Microcontroller User’s Guide 34 of 187 Figure 4-9. DS5000 SFR Map
Secure Microcontroller User’s Guide 35 of 187 Figure 4-10. DS5001/DS5002 SFR Map
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-
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
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
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
Secure Microcontroller User’s Guide 4 of 187 16.6 AUTO-BAUD RATE DETECTION ...
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
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
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-
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
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
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
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
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 *
Secure Microcontroller User’s Guide 48 of 187 4.9 Instruction Set The secure microcontroller executes an instruction set that is object-code compat
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
Secure Microcontroller User’s Guide 5 of 187 LIST OF FIGURES Figure 3-1. Secure Microcontroller Architectural Block Diagram ...
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
Secure Microcontroller User’s Guide 51 of 187 5. MEMORY INTERCONNECT The secure microcontrollers are composed of microprocessors and modules. This
Secure Microcontroller User’s Guide 52 of 187 Figure 5-2. DS5000 Series Module Block Diagram The DS5001FP/DS5002FP has several memory options. I
Secure Microcontroller User’s Guide 53 of 187 Figure 5-3. Memory Interconnect of the Partitionable DS5001/DS5002
Secure Microcontroller User’s Guide 54 of 187 Figure 5-4. Memory Interconnect of the Nonpartitionable DS5001FP, DS5002FP
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
Secure Microcontroller User’s Guide 56 of 187 Figure 5-6. DS2251T-128 Block Diagram
Secure Microcontroller User’s Guide 57 of 187 Figure 5-7. DS2252T-32 Block Diagram
Secure Microcontroller User’s Guide 58 of 187 6. LITHIUM/BATTERY BACKUP Soft microcontroller devices are battery backed for data retention in the a
Secure Microcontroller User’s Guide 59 of 187 Figure 6-1. Power-Supply Slew Rate Each time VCC is restored, the battery-backed function
Secure Microcontroller User’s Guide 6 of 187 Figure 14-3. Mode2 and 3 Block Diagram ...
Secure Microcontroller User’s Guide 60 of 187 ESR rating over the intended operating temperature range to ensure against leakage that may shorten ba
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
Secure Microcontroller User’s Guide 62 of 187 7. POWER MANAGEMENT All secure microcontrollers are implemented using CMOS circuitry for low power co
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
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
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
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
Secure Microcontroller User’s Guide 67 of 187 Figure 7-2. Secure Microcontroller Power Management
Secure Microcontroller User’s Guide 68 of 187 8. SOFTWARE CONTROL Several features have been incorporated into the secure microcontroller to help e
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
Secure Microcontroller User’s Guide 7 of 187 1. INTRODUCTION The secure microcontroller family is a line of 8051-compatible devices that use nonvol
Secure Microcontroller User’s Guide 70 of 187 POR informs the software of the power supply condition. Specifically, it means the power has previousl
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
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
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
Secure Microcontroller User’s Guide 74 of 187 9. FIRMWARE SECURITY One of the outstanding features of the secure microcontroller is its firmware se
Secure Microcontroller User’s Guide 75 of 187 single-chip microcontroller, in that it prevents a programmer from reading the memory. In addition, th
Secure Microcontroller User’s Guide 76 of 187 9.3 Encrypted Memory The heart of secure microcontroller security is the memory encryption function.
Secure Microcontroller User’s Guide 77 of 187 Figure 9-2. DS5002 Software Encryption Block Diagram The address encryptor translates each “logica
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
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
Secure Microcontroller User’s Guide 8 of 187 The DS5002FP secure microprocessor chip offers the highest level of security, with permanently enabled
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
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
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
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
Secure Microcontroller User’s Guide 84 of 187 External Circuits A variety of external circuits can support secure operation. For example, the DS2401
Secure Microcontroller User’s Guide 85 of 187 10. RESET CONDITIONS 10.1 Reset Sources The secure microcontroller family provides proper reset ope
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
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
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
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
Secure Microcontroller User’s Guide 9 of 187 1.3 Product Description All secure microcontroller products have the following standard 8051 family fe
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
Secure Microcontroller User’s Guide 91 of 187 10.5 Transient Voltage Protection The microprocessor provides protection from transients through a bu
Secure Microcontroller User’s Guide 92 of 187 11. INTERRUPTS The secure microcontroller family follows the standard 8051 convention for interrupts
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
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
Secure Microcontroller User’s Guide 95 of 187 Figure 11-1. Interrupt Request Sources
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
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
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
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