Skip to main content

IV — Interface Version

Queries the microcontroller interface firmware version and initiates a microcontroller firmware update.

Format

  • Query: >QIV<
  • Set (start update): >SIV{VERSION}<
  • Response (query): >RIV{VERSION}[,{STATUS},{LINES}]<
FieldDescription
VERSIONFirmware version string (e.g., 1.7.1.1A)
STATUSUpdate status code (only present during active update)
LINESNumber of firmware lines sent so far

Parameters

Minimum set command length: 12 characters (>SIV1.7.1.1A<)

Examples

Query interface version:

>QIV<
>RIV1.7.1.1A< ← No update in progress

During firmware update:

>QIV<
>RIV1.7.1.1A,1,256< ← Update running, 256 lines sent

Start firmware update:

>SIV1.8.0.0A<

Status Monitoring

Check update progress with IV:

>QIV<
>RIV1.7.1.1A,1,256<

Update Status Codes

CodeNameDescription
0BOOTLOADER_DOWNLOADING_FILEDownloading firmware file
1BOOTLOADER_FILE_DOWNLOADEDDownload complete
2BOOTLOADER_FILE_SENTFile sent to bootloader
3BOOTLOADER_VALID_FILEFile validated
4BOOTLOADER_RUNNINGUpdate in progress
5BOOTLOADER_SUCCESSFUL_UPGRADEUpdate successful
6BOOTLOADER_ERROR_DOWNLOADING_FILEDownload failed
99BOOTLOADER_NOT_RUNNINGNo update active
caution

Do not interrupt power during a firmware update.

  • Firmware update also available via XAFU (long format)
  • Quick version query: >QVR< for main firmware version