Electronic Components Datasheet Search
  English  ▼

X  

SEC2410 Datasheet(PDF) 152 Page - Microchip Technology

Part # SEC2410
Description  HS Endpoint Processor with USB 2.0, Smart Card, and FMC for Secure Token and Storage
PDF  283 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

SEC2410 Datasheet(HTML) 152 Page - Microchip Technology

Back Button SEC2410 Datasheet HTML 148Page - Microchip Technology SEC2410 Datasheet HTML 149Page - Microchip Technology SEC2410 Datasheet HTML 150Page - Microchip Technology SEC2410 Datasheet HTML 151Page - Microchip Technology SEC2410 Datasheet HTML 152Page - Microchip Technology SEC2410 Datasheet HTML 153Page - Microchip Technology SEC2410 Datasheet HTML 154Page - Microchip Technology SEC2410 Datasheet HTML 155Page - Microchip Technology SEC2410 Datasheet HTML 156Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 152 / 283 page
background image
SEC2410/SEC4410
DS00001587C-page 152
 2013 - 2014 Microchip Technology Inc.
15.2.2
PROGRAMMING MAIN OTP MEMORY
All even address in the memory have unprogrammed default state of ‘0’. All odd addresses in the memory have unpro-
grammed default state of ‘1’. Programming is done one bit at a time. The PGM command programs the content of the
OTP's Data register to the memory location specified by the OTP's address pins A[10:0]. In order to program the OTP,
the charge pump has to be enabled MRA[0] -> VPP CHARGE PUMP Enable and disabled after programming. The user
should verify if all the bits have been successfully programmed and repeat this process. Below is the sequence of a
typical PGM.
a)
Enable the charge pump, and wait 20 uSec for the charge pump to warm up. To do this set MRA[0]=1,
MRB[6:4]=111
b)
Since there is only one bank in the system, the hardware automatically sets ALL_BANKS to '1'. Do not modify
this bit.
c)
Set the default programming voltage. MRA[15,13,12]=000, MRB[3:0]=0010.
d)
Write the user data to be programmed to the OTP_WR_DATA register. Hardware will automatically inverse the
bits as required, and run as many cycles as required. For even addresses, the number of cycles is equal to the
number of ones. For odd addresses the number of cycles is equal to the number of zeros.
e)
Write to the OTP_ADDR register with the location to be written. For differential mode, hardware will automatically
use that address and that address plus one.
f)
Program the OTP_PPW register with the programming pulse width. For the first attempt use the regular pulse
width (tPP1).
g)
Firmware writes to the OTP_CMD register, setting bit 2 (PROGRAM) to '1'. This will initiate the PGM command.
This bit will be cleared by hardware.
h)
Poll the OTP_STATUS register. Wait till BUSY is clear before executing next command. Alternatively, wait for the
interrupt to trigger. If using interrupts, the interrupt must be cleared by writing a ‘1’ to the bit.
i)
Go back to step (e) and keep programming till the array is done.
j)
To verify the data was programmed correctly, with enough margin, read back the data with read voltage VREF1.
To do this, MRA[15,13:12]=000, MRB[3:0]=1010
k)
Read back OTP_MRA_RD_DATA to verify everything was done correctly.
l)
Write to the OTP_CMD register, setting bit 1 (READ) to '1'. This will initiate the READ command. This will transfer
data at the OTP_ADDR location to the OTP_RD_DATA register. This bit will be cleared by hardware.
m) Read of the OTP_RD_DATA register. If the data matches the expected value the program was successful, move
onto the next byte. Record all the bits that fail.
n)
To reprogram the bits that failed, program the OTP_PPW register with the programming pulse width. For the
failed bits use the longer pulse width (tPP2).
o)
Repeat the programming steps.
p)
Repeat the verification steps as before, except with the read voltage set to VREF2. To do this, set
MRA[15,13:12]=000, MRB[3:0]=0111.
q)
Keep repeating the program and verify cycles till the part is programmed. If the number of cycles exceeds TBD,
and the part has not fully programmed, then fail the part.
r)
Turn off charge pump when done.
15.2.2.1
Example: Hardware programming Even address one bit at a time
For this example, the Address 0x1A4, so the unprogrammed byte is all zeros. The data is 0xC9 (0b11001001). It has
four bits set (bits 0, 3, 6, and 7), so it will take four bit writes to program the ones.
Step 1: Program bit 0 (0000 0001) : Data to write to data register 1111 1110
Step 2: Program bit 3 (0000 1000) : Data to write to data register 1111 0111
Step 3: Program bit 6 (0100 0000) : Data to write to data register 1011 1111
Step 4: Program bit 7 (1000 0000) : Data to write to data register 0111 1111



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com