Firmware Upload - Sferalabs Strato Pi Base Advanced Configuration Manual

Pi logic controller
Hide thumbs Also See for Strato Pi Base:
Table of Contents

Advertisement

Command
Description
XFW?
With firmware versions < 4.0, returns the firmware version.
<m> is the major version number, <n> is the minor version
number
With firmware versions ≥ 4.0, returns the firmware version and
hardware model code.
<m> is the major version number, <n> is the minor version
number, <h> is the numeric hardware model code

Firmware upload

The firmware upload feature is supported with firmware version 4.0 or later, on Strato Pi
Base/UPS revision 3.0 or later and Strato Pi CM Duo.
It is based on a factory pre-loaded boot loader in the MCU.
The boot loader code is stored in the address range 0x0000 - 0x05BF. This area is write
protected, and cannot be altered uploading data within this range via the boot loader itself.
The 64 bytes at 0x05C0 - 0x05FF are reserved to the code upload validation.
User firmware is loaded from address 0x0600 up.
The firmware upload process should follow these steps:
• Request firmware upload (boot loader mode)
• Set ShutdownEnable line high and keep it high for at least 5 seconds
• Erase the firmware code validation area, writing the 64 bytes at 0x05C0 - 0x05FF to
0xFF
• Write firmware code from address 0x0600 up, in 64 bytes segments
2
The ShutdownEnable line is used during the firmware upload process in a different way than the
normal request to power cycle the Pi. Here a high to low transition of this line is interpreted as the
end of the upload process, and triggers the MCU's reset and restart with the new firmware.
15
Hardware model
Strato Pi Base rev. < 3.0
Strato Pi UPS rev. < 3.0
Strato Pi CAN
Strato Pi CM
Strato Pi Base rev. ≥ 3.0
Strato Pi UPS rev. ≥ 3.0
Strato Pi CM Duo
2
Reply
XFWm.n
XFWm.n/h
Code
01
02
03
04
05
06
07
Strato Pi Logic Controller

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Strato Pi Base and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Strato pi upsStrato pi canStrato pi cmStrato pi cm duo

Table of Contents