Sdílet prostřednictvím


Odeslat data aktualizace firmwaru (index funkce 23)

Toto rozhraní _DSM pro funkci bajtů adresovatelné energetické třídy funkce (rozhraní funkce 1) odesílá data firmwaru do zařízení.

Registry jsou definovány ve specifikaci byte Addressable Energy Backed Interface.

Input

Arg3

Field Byte length Byte offset Description
Region Length 4 0 Počet bajtů odesílaných v této funkci.
Region ID 2 4 Identifikace oblasti, která se píše.
Block ID 1 6 Identifikace bloku, který se zapisuje uvnitř oblasti.
Firmware Data The number specified by Region Length 7 Paket image firmwaru v oblasti.

Output

Field Byte length Byte offset Description
Status 4 0 Tato funkce může vrátit následující kódy chyb Function-Specific: 1. Neprobíhá žádná operace aktualizace firmwaru. 2. Neplatná velikost oblasti 3. Přenos selhal kvůli poškození dat. 4. Vypršel časový limit operace. 5. Operace potvrzení firmwaru se nezdařila. Další informace najdete v tématu _DSM Výstup metody.

Note

This function shall compute the CRC of the Firmware Data and compare it with FW_REGION_CRC0 (3, 0x40) and FW_REGION_CRC1 (3, 0x41). Pokud se hodnoty neshodují, funkce selže s kódem chyby Function-Specific 3. Informace o specifikaci algoritmu CRC najdete ve standardu JEDEC pro bajtové adresovatelné rozhraní JEDEC.

Spustit aktualizaci firmwaru (index funkce 22)

Dokončení aktualizace firmwaru (index funkce 24)

Výběr slotu image firmwaru (index funkce 25)

Získání informací o firmwaru (index funkce 26)