!

(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Platform firmware update

Description: Here are the steps needed to flash the platform.

Tutorial Level: INTERMEDIATE

If this is not the first time programming the binary code then jump to 4.

Install lm4flash

git clone https://github.com/utzig/lm4tools.git
cd lm4tools/lm4flash/
make
sudo cp lm4flash /usr/local/bin

Give Ubuntu the correct permissions for programming the platform

echo 'ATTRS{idVendor}=="1cbe", ATTRS{idProduct}=="00fd", MODE="0660", GROUP="dialout"' | sudo tee /etc/udev/rules.d/61-tiva.rules
sudo adduser $USER dialout

Hardware preparation steps

To properly detect the drivers please do the following:

  1. Remove USB cable
  2. Ubuntu / Linux logout
  3. Ubuntu / Linux login
  4. Reconnect USB cable

Program the platform

Make sure your platform is fully charged and the computer used to flash the firmware has enough battery.

sudo lm4flash <directory_where_the_bin_file_is_located>/file_name.bin

Default firmware can be downloaded here

Wiki: RoboSavvy/RoboSavvy-Balance/Tutorials/Platform firmware update (last edited 2017-10-09 14:43:17 by RoboSavvy)