| Electronic Components Datasheet Search |
|
TMP89FS60 Datasheet(PDF) 328 Page - Toshiba Semiconductor |
|
|
|||||||||||||||||||||||||||||
TMP89FS60 Datasheet(HTML) 328 Page - Toshiba Semiconductor |
|
328 / 410 page ![]() Page 314 21. Flash Memory TMP89FS60 RA003 21.3 Command Sequence In MCU and serial PROM modes, the command sequence consists of six commands (JEDEC compatible), as shown in Table 21-1. Note 1: Specify the address and data to be written (Refer to Table 21-2 about BA). Note 2: The area to be erased is specified with the upper 4 bits of the address (Refer to Table 21-3 about SA). Note 3: Do not start the STOP, IDLE0, IDLE1, IDLE2, SLEEP1 or SLEEP0 mode while a command sequence is being executed or a task specified in a command sequence is being executed (write, erase or ID entry). Note 4: # ; 0x1 through 0xF should be specified as the upper 4bits of the address. However, while FLSCRM<BAREAM> is "1", 0x2 or more should be specified. Usually, it is recommended that 0xF is specified. Note 5: XXX ; Don’t care 21.3.1 Byte program This command writes the flash memory in units of one byte. The address and data to be written are specified in the 4th bus write cycle. The range of addresses that can be specified is shown in Table 21-2. For example, to write data to 0x1000 in the data area, set FLSCR1<FAREA> to "0y01", set "0xD5" on FLSCR2<CR1EN>, and then specify 0x9000 as an address in the 4th bus write cycle. The time needed to write each byte is 40 µs max- imum. The next command sequence cannot be executed if an ongoing write operation is not completed. To check the completion of the write operation, perform read operations twice on the same address in the flash memory, and perform polling until the same data is read from the flash memory. During the write operation, bit 6 is reversed each time a read is performed. Note 1: To rewrite data to addresses in the flash memory where data (including 0xFF) is already written, make sure that you erase the existing data by performing a sector erase or chip erase before writing data. Note 2: The data and code areas become mirror areas. As you access these areas, you are brought to the same physical address in memory. When performing a Byte Program, make sure that you write data to either of these two areas, not both. Note 3: Do not perform a Byte Program on areas other than those shown in Table 21-2. Table 21-1 Command Sequence Command sequence 1st Bus Write Cycle 2nd Bus Write Cycle 3rd Bus Write Cycle 4th Bus Write Cycle 5th Bus Write Cycle 6th Bus Write Cycle AddDataAdd Data AddDataAdd Data AddData Add Data 1 Byte Program 0x#555 0xAA 0x#AAA 0x55 0x#555 0xA0 BA (Note 1) Data (Note 1) -- -- 2 Sector Erase (partial erase in units of 4KB) 0x#555 0xAA 0x#AAA 0x55 0x#555 0x80 0x#555 0xAA 0x#AAA 0x55 SA (Note 2) 0x30 3 Chip Erase (all erase) 0x#555 0xAA 0x#AAA 0x55 0x#555 0x80 0x#555 0xAA 0x#AAA 0x55 0x#555 0x10 4 Product ID Entry 0x#555 0xAA 0x#AAA 0x55 0x#555 0x90 - - - - - - 5 Product ID Exit 0xXX 0xF0 -- --- --- -- 6 Security Program 0x#555 0xAA 0x#AAA 0x55 0x#555 0xA5 0xFF7F 0x00 - - - - |
|
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 |