• Read back the written code for validation
• Confirm the uploaded code by writing the 0x05C0 - 0x05FF validation area
• Set ShutdownEnable line low for at least 5 seconds (or simply shut down the Pi) to reset
the MCU and activate the new firmware.
If the MCU is reset (or power-cycled) and the firmware validation area is not correct, the
boot loader will automatically enter boot mode, and user firmware will not be executed,
effectively disabling all the features in Strato that are controlled by the MCU.
Note that the Raspberry Pi in Strato Pi Base, UPS and CAN will be switched off while the
MCU is reset.
On Strato Pi CM and Strato Pi CM Duo, the Compute Module will be reset instead of being
switched off. After the reset, SD routing will be set based on the power-up configuration.
XBOOT - enter boot loader mode
Enter boot loader mode.
Command
Description
XBOOT
If not already in boot loader mode, enter boot loader mode
If already in boot loader mode, remain in this mode
XBW - write MCU flash memory
Writes the MCU flash memory, in 64 bytes segments.
This command uses binary data, not only ASCII characters.
Command
Description
XBW<Ah><Al
<Ah> is the most significant byte of the starting address
><D1>...<D64
<Al> is the least significant byte of the starting address
><Ch><Cl>
<D1>...<D64> are 64 bytes
<Ch> is the most significant byte of the command checksum (1-
complement sum of all data in this command, including the XBW
command header
<Cl> is the least significant byte of the command checksum
XBR - read from MCU flash memory
Read data from the MCU flash memory, in 64 bytes segments.
This command uses binary data, not only ASCII characters.
Command
Description
XBR<Ah><Al>
<Ah> is the most significant byte of the starting address
<n>
<Al> is the least significant byte of the starting address
<n> is the number of bytes to read (1 ≤ n ≤ 64)
16
Reply
XBOOTOK
XBOOTIN
Reply
XBWOK
XBWKO (error)
Reply
XBR<Ah><Al><D1>...
<D64><Ch><Cl>
Strato Pi Logic Controller
Need help?
Do you have a question about the Strato Pi Base and is the answer not in the manual?
Questions and answers