| поискавой системы для электроныых деталей |
|
DSM2180F3 датащи(PDF) 20 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
DSM2180F3 датащи(HTML) 20 Page - STMicroelectronics |
|
20 / 63 page ![]() DSM2180F3 20/63 Instruction Sequences An instruction sequence consists of a sequence of specific write or read operations. Each byte written to the device is received and sequentially decoded and not executed as a standard write operation to the memory array. The instruction sequence is ex- ecuted when the correct number of bytes are prop- erly received and the time between two consecutive bytes is shorter than the time-out pe- riod. Some instruction sequences are structured to include read operations after the initial write oper- ations. The instruction sequence must be followed exact- ly. Any invalid combination of instruction bytes or time-out between two consecutive bytes while ad- dressing Flash memory resets the device logic into Read Array mode (Flash memory is read like a ROM device). The device supports the instruction sequences summarized in Table 5: Flash memory: s Erase memory by chip or sector s Suspend or resume sector erase s Program a Byte s Reset to Read Array mode s Read primary Flash Identifier value s Read Sector Protection Status These instruction sequences are detailed in Table 5. For efficient decoding of the instruction se- quences, the first two bytes of an instruction se- quence are the coded cycles and are followed by an instruction byte or confirmation byte. The coded cycles consist of writing the data AAh to address XX555h during the first cycle and data 55h to ad- dress XXAAAh during the second cycle. Address signals A17-A12 are Don’t Care during the instruc- tion sequence Write cycles. However, the appro- priate internal Sector Select ( FS0-FS7) must be selected internally (active, which is logic 1). Reading Flash Memory Under typical conditions, the DSP may read the Flash memory using read operations just as it would a ROM or RAM device. Alternately, the DSP may use read operations to obtain status informa- tion about a Program or Erase cycle that is cur- rently in progress. Lastly, the DSP may use instruction sequences to read special data from these memory blocks. The following sections de- scribe these read instruction sequences. Read Memory Contents. Flash memory is placed in the Read Array mode after Power-up, chip reset, or a Reset Flash memory instruction sequence (see Table 5). The DSP can read the memory contents of the Flash memory by using read operations any time the read operation is not part of an instruction sequence. Read Flash Identifier. The Flash memory identi- fier is read with an instruction sequence composed of 4 operations: 3 specific write operations and a read operation (see Table 5). During the read op- eration, address bits A6, A1, and A0 must be 0,0,1, respectively, and the appropriate internal Sector Select ( FS0-FS7) must be active. The iden- tifier 0xE3. Read Memory Sector Protection Status. The Flash memory Sector Protection Status is read with an instruction sequence composed of 4 oper- ations: 3 specific write operations and a read oper- ation (see Table 5). During the read operation, address bits A6, A1, and A0 must be 0,1,0, re- spectively, while internal Sector Select (FS0-FS7) designates the Flash memory sector whose pro- tection has to be verified. The read operation pro- duces 01h if the Flash memory sector is protected, or 00h if the sector is not protected. The sector protection status can also be read by the DSP accessing the Flash memory Protection register in csiop space. See the section entitled “Flash Memory Sector Protect” for register defini- tions. Table 6. Status Bit Definition Note: 1. X = Not guaranteed value, can be read either 1 or 0. 2. DQ7-DQ0 represent the Data Bus bits, D7-D0. Reading the Erase/Program Status Bits. The device provides several status bits to be used by the DSP to confirm the completion of an Erase or Program cycle of Flash memory. These status bits minimize the time that the DSP spends performing these tasks and are defined in Table 6. The status bits can be read as many times as needed. For Flash memory, the DSP can perform a read operation to obtain these status bits while an Erase or Program instruction sequence is being executed by the embedded algorithm. See the Functional Block FS0-FS7 DQ7 DQ6 DQ5 DQ4 DQ3 DQ2 DQ1 DQ0 Flash Memory Active (the desired segment is selected) Data Polling Toggle Flag Error Flag X Erase Time- out XXX |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |