| поискавой системы для электроныых деталей |
|
SP40T датащи(PDF) 39 Page - Infineon Technologies AG |
|
|
|||||||||||||||||||||||||||||
SP40T датащи(HTML) 39 Page - Infineon Technologies AG |
|
39 / 71 page ![]() Data Sheet 39 Revision1.1 2020-05-14 SP40T Tire Pressure Monitoring Sensor Functional Descriptions 5.6.2 Lock-byte concept overview At the end of each flash sector there is a lock-byte, which may be enabled by the user in order to protect the sector against overwriting and reading. In order to activate a lock-byte it must be written with the value 0x69. However, for security reasons, other lock-byte values with a Hamming distance from 0x69 of up to 3 are also considered as valid. The lock-bytes are not independent from each other. There is a certain priority for each lock-byte: • Priority 1: lock-byte 4 (for extended code sector) • Priority 2: lock-byte 2 (for user code sector) • Priority 3: lock-byte 3 (for user configuration sector) Note that an enabled lock-byte with a lower priority only becomes effective if all higher prioritized lock-bytes are already enabled. Furthermore enabling lock-bytes only becomes effective after device reset. Figure 5-7 shows the possible lock-byte settings and their effect on the flash sectors for program mode and normal mode. Debug-mode cannot be used if lock-byte 2 is active. Figure 5-7 Lock-byte settings and effects in program- and normal- mode 5.6.3 Flash programming For programming the user code sector or the user configuration sector in program mode there are two I2C commands available. The command Erase-Sectors for deleting the sectors as a whole and the command Flash- Write-Line for programming a 32 byte long flash line. For enabling the lock-bytes LB2 or LB3 the value of the lock- byte location must be defined as 0x69 when writing to the corresponding line with the Flash-Write-Line command. If a lock-byte shall remain disabled, its value must be defined as 0x00. The I2C command Set-User- Config-Sector-Lock also allows enabling LB3 after writing the last line. There is no such I2C command for LB2. For programming the user configuration sector in normal mode, i.e. during runtime, the firmware functions Lib_Fl_Erase_User_Config_Sector, Lib_Fl_Write_Line and Lib_Fl_Change_UCS_Line() are available. For setting the user configuration lock-byte (LB 3) the value of the last byte must be defined as 0x69 when writing or changing the last line of the user configuration sector. Note: IFX recommends shutting off the flash using I2C command PM Flash Shut Down before disconnecting the device from supply voltage. Protected Flash Sectors LB 2 LB 3 LB 4 Extended Code Ext. Code + User Code Ext. Code + User Code + User Config 0x00 0x00 0x69 0x69 0x00 0x69 0x69 0x69 0x69 Extended Code User Code User Config Read: yes * Write: no Erase: no Read: yes* Write: no Erase: no Read: yes* Write: no Erase: yes Read: yes* Write: no Erase: no none 0x00 0x00 0x00 Read: yes* Write: no Erase: no Read: yes* Write: yes Erase: yes Read: yes * Write: yes Erase: yes Read: yes* Write: yes Erase: yes Read: yes * Write: yes Erase: yes Read: yes* Write: yes Erase: yes Read: yes* Write: no Erase: yes Read: yes* Write: no Erase: yes Read: yes Write: yes Erase: yes Read: yes Write: yes Erase: yes Read: yes Write: yes Erase: yes Read: yes Write: yes Read: yes Write: yes Read: no Write: no Erase all sectors at once: yes Read: yes Write: yes Read: no Write: no Erase all sectors at once: yes Read: no Write: no Read: no Write: no Erase all sectors at once: yes Read: no Write: no Read: no Write: no Extended Code User Code User Config Normal Mode Programming Mode *no firmware support, read flash by using CPU commands MOVX or MOVC |
|
ссылки 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 |