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.
- Download the firmware-combined.bin file, and save in the current directory.
- Download the esptool.py file, and save in the current directory.
- Connect the USB2TTL to the pins on the side of the robot:
- gnd ↔ gnd
- rx ↔ tx
- tx ↔ rx
- 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):
- gnd ↔ sda
- Connect the USB2TTL to your computer.
- Switch on the robot.
- Run the flashing command:
$ python esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=8m 0 firmware-combined.bin
- Wait for the firmware to flash. If you get an error, try again.
- Switch the robot off.
- Remove the connector from the pin holes.
- Switch the robot on and see it walk. Congratulations, you have the new firmware.
On Windows/Mac change the path to the USB2TTL port accordingly.
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