UM1619
USER_DATA_BUSY,
USER_DATA_IDLE
}APP_userflag_t;
/* PROGRAMMING COMMANDS */
typedef enum
{
PROG_CMD_IDLE
PROG_CMD_ENTER_PROG_MODE
PROG_CMD_EXIT_PROG_MODE
PROG_CMD_SET_DATA
PROG_CMD_GET_DATA
PROG_CMD_CLEAR_DATA
PROG_CMD_DEVICE_BLANK
}APP_PROG_CMD_t;
/* PROGRAMMING GROUPS */
typedef enum
{
PROG_GRP_DEVICE_DATA
PROG_GRP_LL_STACK_PARAM
PROG_GRP_USER_DATA
}APP_PROG_GROUP_t;
/* SERVICE COMMANDS */
typedef enum
{
/* NATIVE SERVICE COMMANDS */
SERVICE_SOFTWARE_RESET
SERVICE_HARDWARE_RESET
SERVICE_PARAM_SET
SERVICE_PARAM_GET
SERVICE_INPUTS_GET
SERVICE_OUTPUTS_SET
SERVICE_FW_REL_GET
SERVICE_PLM_CLOCK_SET
SERVICE_PLM_CLOCK_GET
SERVICE_IO_CONFIG_SET
SERVICE_IO_CONFIG_GET
/* USER DEFINED SERVICE COMANDS */
// SERVICE_USER_CMD_xx
}APP_SER_CMD_t;
/* TRANSIT DATA SERVICE FLAGS */
typedef struct
{
APP_TF_t
uint8_t
bool
bool
bool
bool
}APP_SER_FLAGS_t;
/* TRANSIT FRAME TYPE */
typedef enum
{
APP_TF_DATA
APP_TF_ERROR
APP_TF_PROGR
APP_TF_RES
APP_TF_ACK
APP_TF_bACK
APP_TF_PING
APP_TF_SERVICE
APP_TF_UNKNOWN
}APP_TF_t;
= 0x00,
= 0x01,
= 0x02,
= 0x03,
= 0x04,
= 0x05,
= 0x06
= 0x00,
= 0x01,
= 0x02
= 0x00,
= 0x01,
= 0x02,
= 0x03,
= 0x04,
= 0x05,
= 0x06,
= 0x07,
= 0x08,
= 0x09,
= 0x0a
= 0x..,
type;
FECcorrections;
wrongpostamble;
wrongCRC;
hopoverrun;
framerejected;
= 0x00,
= 0x01,
= 0x02,
= 0x03,
= 0x04,
= 0x05,
= 0x06,
= 0x07,
= 0x7f
DocID024383 Rev 1
// No command
// Enter the programming mode
// Exit from programming mode
// Write data into the internal flash
// Get data from internal flash
// Clear data resetting the programming flag
// Device blank: run mode impossible
// Device Data
// Link layer stack parameters
// User program
// Reset internal state machines
// Module hardware reset
// Set service parameters
// Get service parameters
// Get general purpose inputs pin status
// Set general purpose outputs pins value
// Get the stack and the module firmware release
// Set the internal time clock value
// Get the internal time clock value
// Set the general purpose input and output pins
// Get the general purpose input and output pins
// User defined service commands (0x0b to 0x7f)
// Number of FEC correction to the sensed frame
// Frame with for a wrong postamble
// Frame with a wrong CRC
// Frame with a HOP overrun
// TRUE = Frame rejected, FALSE = frame accepted
// Data
// Error
// Programming
// Result (response to a query, same as data frame)
// ACK
// back ACK
// Ping
// Service
// Unknown type
Firmware description
33/56
Need help?
Do you have a question about the STEVAL-IHP005V1 and is the answer not in the manual?