Generic MCU serial bootloader (illustrative, sync-byte auto-baud) illustrative

Not modelling any specific vendor's exact protocol -- illustrates the auto-baud mechanism common to several real MCU ROM bootloaders.

Servers

Operations

  • PUB omniuart/cmd/AutoBaudSync

    Send command AutoBaudSync (ID: 0x7F)

    The sync byte itself (physicalLayer.autoBaud.syncByte) -- not a normal command, just the timing reference the bootloader measures before anything else can happen.

    Operation IDpublish

    Available only on servers:

    Accepts the following message:

    AutoBaudSync Command
    object

    The sync byte itself (physicalLayer.autoBaud.syncByte) -- not a normal command, just the timing reference the bootloader measures before anything else can happen.

    Examples

  • PUB omniuart/cmd/GetVersion

    Send command GetVersion (ID: 0x01)

    Dispatch GetVersion frame to microcontroller over serial line

    Operation IDpublish

    Available only on servers:

    Accepts the following message:

    GetVersion Command
    object

    Command payload for GetVersion

    Examples

  • PUB omniuart/cmd/WriteMemory

    Send command WriteMemory (ID: 0x02)

    Dispatch WriteMemory frame to microcontroller over serial line

    Operation IDpublish

    Available only on servers:

    Accepts the following message:

    WriteMemory Command
    object

    Command payload for WriteMemory

    Examples

  • PUB omniuart/cmd/Go

    Send command Go (ID: 0x03)

    Jumps to application code at the given address, ending the bootloader session.

    Operation IDpublish

    Available only on servers:

    Accepts the following message:

    Go Command
    object

    Jumps to application code at the given address, ending the bootloader session.

    Examples

  • SUB omniuart/telemetry/Ack

    Unsolicited telemetry message Ack (ID: 0x79)

    Unsolicited telemetry message from device: Ack

    Operation IDsubscribe

    Available only on servers:

    Accepts the following message:

    Ack Telemetry
    object

    Device-initiated telemetry payload for Ack

    Examples

  • SUB omniuart/telemetry/Nack

    Unsolicited telemetry message Nack (ID: 0x1F)

    Unsolicited telemetry message from device: Nack

    Operation IDsubscribe

    Available only on servers:

    Accepts the following message:

    Nack Telemetry
    object

    Device-initiated telemetry payload for Nack

    Examples

Schemas

  • object

    The sync byte itself (physicalLayer.autoBaud.syncByte) -- not a normal command, just the timing reference the bootloader measures before anything else can happen.

  • object

    Command payload for GetVersion

  • object

    Command payload for WriteMemory

  • object

    Jumps to application code at the given address, ending the bootloader session.

  • object

    Device-initiated telemetry payload for Ack

  • object

    Device-initiated telemetry payload for Nack