diff options
Diffstat (limited to 'src/import/chips/ocmb/explorer')
3 files changed, 55 insertions, 2 deletions
diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H index 986b5b75..cdab3c9c 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/i2c/exp_i2c.H @@ -70,7 +70,7 @@ inline fapi2::ReturnCode status_code( const fapi2::Target<fapi2::TARGET_TYPE_OCM // Technically many cmds have their own status code decoding..but SUCCESS is always 0. // If it's anything else we can just look up the status code FAPI_ASSERT( l_status == status_codes::SUCCESS, - fapi2::MSS_EXP_STATUS_CODE_UNSUCCESSFUL(). + fapi2::MSS_EXP_I2C_FW_STATUS_CODE_FAILED(). set_TARGET(i_target). set_STATUS_CODE(l_status). set_CMD_ID(i_cmd_id), diff --git a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H index 387a21be..472abea2 100644 --- a/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H +++ b/src/import/chips/ocmb/explorer/procedures/hwp/memory/lib/shared/exp_consts.H @@ -167,6 +167,39 @@ enum addrSide }// i2c + +namespace omi +{ + +/// +/// @brief HOST-FW Commands and Responses +/// +enum cmd_and_response_id +{ + FW_DDR_INTERFACE_INIT = 0x01, + FW_TEMP_SENSOR_INIT = 0x02, + FW_ERR_LOGGING_INTERFACE_INIT = 0x03, + FW_GO_COMMAND = 0x04, + FW_ADAPTER_PROPERTIES_GET = 0x05, + FW_STATUS_GET = 0x06, + FW_TEMPERATURE_GET = 0x07, + FW_ERROR_LOG_GET = 0x08, + FW_SPD_DATA_SET = 0x09, + FW_BINARY_UPGRADE = 0x0A, + FW_FLASH_LOADER_VERSION_INFO = 0x0B, +}; + +/// +/// @brief Response argument parameters +/// +enum response_arg +{ + SUCCESS = 0, + ERROR_CODE = 1, +}; + +}// omi + }// exp }// mss diff --git a/src/import/chips/ocmb/explorer/procedures/xml/error_info/mss_exp_errors.xml b/src/import/chips/ocmb/explorer/procedures/xml/error_info/mss_exp_errors.xml index c5061b45..a0a9c973 100644 --- a/src/import/chips/ocmb/explorer/procedures/xml/error_info/mss_exp_errors.xml +++ b/src/import/chips/ocmb/explorer/procedures/xml/error_info/mss_exp_errors.xml @@ -40,7 +40,7 @@ </hwpError> <hwpError> - <rc>RC_MSS_EXP_STATUS_CODE_UNSUCCESSFUL</rc> + <rc>RC_MSS_EXP_I2C_FW_STATUS_CODE_FAILED</rc> <description> Explorer status code for command ID EXP_FW_STATUS did not return SUCCESS @@ -98,4 +98,24 @@ </deconfigure> </hwpError> + <hwpError> + <rc>RC_MSS_EXP_RSP_ARG_FAILED</rc> + <description> + The response_argument field of the host_fw_response_struct returned a FAILURE + </description> + <ffdc>RSP_ID</ffdc> + <ffdc>ERROR_CODE</ffdc> + <callout> + <procedure>CODE</procedure> + <priority>MEDIUM</priority> + </callout> + <callout> + <target>TARGET</target> + <priority>HIGH</priority> + </callout> + <deconfigure> + <target>TARGET</target> + </deconfigure> + </hwpError> + </hwpErrors> |