| Electronic Components Datasheet Search |
|
SEC2410 Datasheet(PDF) 154 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
SEC2410 Datasheet(HTML) 154 Page - Microchip Technology |
|
154 / 283 page ![]() SEC2410/SEC4410 DS00001587C-page 154 2013 - 2014 Microchip Technology Inc. 15.2.3 WRITE TO BOOT ROW In addition to the regular memory array, every sector includes a specific number of additional rows, called boot rows, for testing and memory bookkeeping purposes. The Boot Row block is addressed using OTP_ADDR register, bit 0-3 with bit 10 set to '1'. Only the even rows are programmable. The boot rows at address 0 and 2 in sector 0 is loaded into the Special Register and boot rows at address 0 and 2 in sector 1 is loaded into the Redundancy Register at power-up reset sequence or applying the RESET command. a) Firmware writes to the OTP_ADDR register. Only bits 0-3 are valid and bit 10 has to be set to '1'. b) Firmware writes the inverse of the data to be programmed to the OTP_WR_DATA register. c) Firmware writes to the OTP_CMD register, setting bit 0 (WRITE) to '1'. This will initiate the WRITE command. This bit will be cleared by HW. d) Firmware needs to poll the OTP Status register. When bit 0 (BUSY) is a '0', then it's Ok to execute another com- mand. Boot rows must be programmed and verified following the same programming algorithm as the main memory. The even boot rows are also OTP. 15.2.4 READ FROM BOOT ROW a) Firmware writes to the OTP_ADDR register. Only bits 0-3 are valid and bit 10 has to be set to '1'. b) Firmware writes to the OTP_CMD register, setting bit 1 (READ) to '1'. This will initiate the READ command. This bit will be cleared by HW. c) Firmware needs to poll the OTP_STATUS register until bit 0 (BUSY) becomes '0' d) Firmware reads the OTP_RD_DATA register The boot reads are the same as reads from main memory, with the exception that the MSB of the address is set. Boot rows are always read in single-ended mode, except during RESET load of OTP_RR_RD_DATA and OTP_SR_RD_- DATA registers, which are done in redundant mode. 15.3 Other available OTP operations 15.3.1 WRITE TO DATA REGISTER The WRITE command writes data on the D[7:0] pins to the OTP's Data register. The DATA register is then used to do the write into the nNV store. Below is the sequence of a typical WRITE. a) Write to the OTP_CMD register, setting bit 19 (ALL_BANKS) to '1'. Do this one time and leave it set. b) Write the inverse of the data to be programmed to the OTP_WR_DATA register. c) Write to the OTP_CMD register, setting bit 0 (WRITE) to '1'. This will initiate the WRITE command. This will fire the state machine that will do the write. This bit will be cleared by Hardware. d) Poll the OTP_STATUS register. Wait till the BUSY bit is clear before next command. The data in the DATA register will not be written in the NV store till a program cycle has been run. 15.3.2 PRECHARGE COMMAND The PCH command compares the last read data with the contents of the input latch in the OTP_WR_DATA register and removes from the OTP_WR_DATA register all the bits that have been already programmed. The PCH sets the STATUS pin low if all the bits have been programmed. Below is the sequence of a typical PCH. a) Completed a PGM and the BUSY bit is set to '0'. b) Firmware writes to the OTP_CMD register, setting bit 1 (READ) to '1'. This will initiate the READ command. This bit will be cleared by HW. c) Firmware writes to the OTP_CMD register, setting bit 3 (PRECHARGE) to '1'. This will initiate the PCH command. This bit will be cleared by HW. d) Firmware needs to poll the OTP Status register until bit 0 (BUSY) becomes '0'. e) Look at the STATUS bit (OTP Status register bit 2). If it's a '0', then PGM was successful. |
|
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 |
| 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 |