libsbp
v2.4.7
|
Data Structures | |
struct | msg_bootloader_handshake_resp_t |
struct | msg_bootloader_jump_to_app_t |
struct | msg_nap_device_dna_resp_t |
struct | msg_bootloader_handshake_dep_a_t |
Macros | |
#define | SBP_MSG_BOOTLOADER_HANDSHAKE_REQ 0x00B3 |
Bootloading handshake request (host => device) More... | |
#define | SBP_MSG_BOOTLOADER_HANDSHAKE_RESP 0x00B4 |
Bootloading handshake response (host <= device) More... | |
#define | SBP_MSG_BOOTLOADER_JUMP_TO_APP 0x00B1 |
Bootloader jump to application (host => device) More... | |
#define | SBP_MSG_NAP_DEVICE_DNA_REQ 0x00DE |
Read FPGA device ID over UART request (host => device) More... | |
#define | SBP_MSG_NAP_DEVICE_DNA_RESP 0x00DD |
Read FPGA device ID over UART response (host <= device) More... | |
#define | SBP_MSG_BOOTLOADER_HANDSHAKE_DEP_A 0x00B0 |
Deprecated. More... | |
Note that some of these messages share the same message type ID for both the host request and the device response.
#define SBP_MSG_BOOTLOADER_HANDSHAKE_DEP_A 0x00B0 |
#define SBP_MSG_BOOTLOADER_HANDSHAKE_REQ 0x00B3 |
Bootloading handshake request (host => device)
The handshake message request from the host establishes a handshake between the device bootloader and the host. The response from the device is MSG_BOOTLOADER_HANDSHAKE_RESP.
Definition at line 41 of file bootload.h.
#define SBP_MSG_BOOTLOADER_HANDSHAKE_RESP 0x00B4 |
Bootloading handshake response (host <= device)
The handshake message response from the device establishes a handshake between the device bootloader and the host. The request from the host is MSG_BOOTLOADER_HANDSHAKE_REQ. The payload contains the bootloader version number and the SBP protocol version number.
Definition at line 52 of file bootload.h.
#define SBP_MSG_BOOTLOADER_JUMP_TO_APP 0x00B1 |
Bootloader jump to application (host => device)
The host initiates the bootloader to jump to the application.
Definition at line 63 of file bootload.h.
#define SBP_MSG_NAP_DEVICE_DNA_REQ 0x00DE |
Read FPGA device ID over UART request (host => device)
The device message from the host reads a unique device identifier from the SwiftNAP, an FPGA. The host requests the ID by sending a MSG_NAP_DEVICE_DNA_REQ message. The device responds with a MSG_NAP_DEVICE_DNA_RESP message with the device ID in the payload. Note that this ID is tied to the FPGA, and not related to the Piksi's serial number.
Definition at line 78 of file bootload.h.
#define SBP_MSG_NAP_DEVICE_DNA_RESP 0x00DD |
Read FPGA device ID over UART response (host <= device)
The device message from the host reads a unique device identifier from the SwiftNAP, an FPGA. The host requests the ID by sending a MSG_NAP_DEVICE_DNA_REQ message. The device responds with a MSG_NAP_DEVICE_DNA_RESP messagage with the device ID in the payload. Note that this ID is tied to the FPGA, and not related to the Piksi's serial number.
Definition at line 90 of file bootload.h.