选择固件映像槽(函数索引 25)

_DSM字节可寻址能源支持的函数类(函数接口 1) 函数的接口选择处于活动状态的固件映像。 当设备重置时,应加载所选映像。

寄存器在 字节可寻址能源支持的接口规范中定义。

Input

Arg3

Field Byte length Byte offset Description
Firmware Slot 1 0 设备重置时应选择为活动的固件映像槽。

Note

The firmware shall write the Firmware Slot value to the lower 4 bits of the FW_SLOT_INFO (3, 0x42) register.

Output

Field Byte length Byte offset Description
Status 4 0 此函数可以返回以下 Function-Specific 错误代码:1: 槽号无效。 2: 此槽中没有图像。 有关详细信息,请参阅 _DSM方法输出

启动固件更新 (函数索引 22)

发送固件更新数据(函数索引 23)

完成固件更新 (函数索引 24)

获取固件信息(函数索引 26)