Documentation

Luos Robotics documentation

Modules: Boards: >> A question? Ask us on the forum

A guide to upgrade your boards

At Luos Robotics, we work every day on new versions of the boards’ internal software (the modules), in order to improve your experience with robotics. This guide explains step-by-step how to upgrade any board with an up-to-date software provided by Luos.

Warning: Upgrading a module is a critical task that should be attempted only if you know what you are doing.


Last firmware version: 0.5.0

>> Get the firmware files on GitHub.

How to check my module firmware revision

If you are using pyluos you can check the firmware revision of modules in your network using the robot.module.firmware_revision command.

For example :

robot.servo1_mod.firmware_revision

What you need

For Windows:

>> Windows steps

For Mac and Linux:

>> Mac / Linux steps


Windows steps

These steps are only for Windows. For Mac or Linux, ignore them and go directly to Mac / Linux steps.

Step 1: Download and install the software

The software can be downloaded (here)[https://www.st.com/en/development-tools/stsw-stm32080.html#getsoftware-scroll]. You will have to create an account in order to download it.

After the download, install the software on your computer. The files you will need usually figure here on your computer:

[Windows Installation Disk]:\Program Files (x86)\STMicroelectronics\Software\DfuSe v3.0.6\Bin

Step 2: Convert the binary file

Download the binary file at this address. Execute the program DfuFileMgr.exe.

DfuFileMgr1

Click OK, and fill the Product ID and Version values with the respective addresses 0xDF11 and 0x2200, as shown on the next image. Then click on the Multi BIN… button.

DfuFileMgr2

DfuFileMgr3

The Address must be 0x08000000.

Load the binary file provided by Luos Robotics (button ), and click Add to list >>, then click OK.
Click the Generate… button, choose the DFU file’s name and location and save it.

DfuFileMgr4

You can close the program.

Step 3: Connect the board to the computer

Each Luos board has a micro-USB port. Plug the USB cable to this port and then to your computer.

Note: The USB board has two USB ports, you should always plug the port situated on the L0, under the connectors. You should not see any light from the board when you plug it.

Step 4: Upload the new file into the board

Execute the program DfuSeDemo.exe.
Click on Choose… in the section Upgrade or Verify Action and load the DFU file you just converted from binary.

Dfuse1

Click on Upgrade. A message may appear. If it does, click Yes.

Dfuse2

After uploading, you should see a new message in the bottom.
Your board is now ready, you can close the program and unplug the USB form the computer.

Dfuse3


Mac / Linux steps

These steps are only for Mac or Linux. If you’re using Windows, ignore them and go directly to Windows steps.

Step 1: Install the software

Install the program dfu-util.

Step 2: Connect the board to the computer

Each Luyos board has a micro-USB port. Plug the USB cable to this port and then to your computer.

Note: The USB board has two USB ports, you should always plug the port situated on the L0, under the connectors. You should not see any light from the board when you plug it.

Step 3: Upload the file into the board

Download the binary file at this address.

Type the following line and replace module.bin by the filename of the binary file provided by Luos Robotics:

dfu-util -d 0483:df11 -a 0 -s 0x08000000 -D module.bin

After executed, your board is ready to be used, you can unplug the USB from the computer.