Plugin Commands: Slot Manager#

This plugin provides a set of CLI commands to interact with external SPI flash, particularly in a setup where slots are present to work with the common bootloader.

Macros#

#define
#define
#define

plugin slot-manager read [address:4] [length:1]

Macro Definition Documentation#

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_BOOT_SLOT#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_BOOT_SLOT

plugin slot-manager boot-slot [slotId:4]

  • Boot the image in the specified slot ID.

    • slotId - INT32U - The slot ID to boot


Definition at line 6304 of file ./app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_ERASE_SLOT#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_ERASE_SLOT

plugin slot-manager erase-slot [slotId:4]

  • Erase the specified slot ID.

    • slotId - INT32U - The slot ID to erase


Definition at line 6310 of file ./app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_EXT_FLASH_INFO#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_EXT_FLASH_INFO

plugin slot-manager ext-flash-info

  • Print external flash information.


Definition at line 6315 of file ./app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_READ#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_READ

plugin slot-manager read [address:4] [length:1]

  • Read raw data from external flash.

    • address - INT32U - Address to read

    • length - INT8U - Length of bytes to read


Definition at line 6322 of file ./app/framework/test/headers/cli.doc

EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_SLOTS_INFO#

#define EMBER_AF_DOXYGEN_CLI_COMMAND_PLUGIN_SLOT_MANAGER_PLUGIN_SLOT_MANAGER_SLOTS_INFO

plugin slot-manager slots-info

  • Print information for all available slots.


Definition at line 6327 of file ./app/framework/test/headers/cli.doc