Fixed Firmware

Published on 2016-04-11 in Tote HaD.

As promised, I fixed the firmware for the robot – now it will start walking immediately after being switched on, and after connecting you can control it. Below are flashing instructions.

  1. Download the firmware-combined.bin file, and save in the current directory.

  2. Download the esptool.py file, and save in the current directory.

  3. Connect the USB2TTL to the pins on the side of the robot:

  1. Connect together two pin holes (or pins, if you soldered pins in there) on the other side of the robot (leave the third pin alone):

  1. Connect the USB2TTL to your computer.

  2. Switch on the robot.

  3. Run the flashing command:

$ python esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=8m 0 firmware-combined.bin

On Windows/Mac change the path to the USB2TTL port accordingly.

  1. Wait for the firmware to flash. If you get an error, try again.

  2. Switch the robot off.

  3. Remove the connector from the pin holes.

  4. Switch the robot on and see it walk. Congratulations, you have the new firmware.

Note, that flashing new firmware will not delete the network information from the board, if you had the robot connect to some network. If you want to do that, you can with this command (before flashing the firmware):

$ python esptool.py --port /dev/ttyUSB0 erase_flash