Flash The Firmware

The kit is shipped without firmware preloaded, so no response after power-up is normal. Follow the steps below to program the spider robot and make it move.

We provide two methods for flashing firmware; you can choose the method that suits you best.


Attention

When writing firmware, please connect the ESP8266 development board separately, without external sensors or steering gear. Pay special attention not to connect the ultrasonic distance sensor, or it will cause serial port conflict and firmware write failure.

_images/7.esp8266.png

Install Serial Port Tool

This kit uses an ESP8266 board with a CP2102 USB-to-UART bridge. Ensure the CP2102 driver is installed on your computer before connecting the board, or the serial port will not be detected. Connect the board, press Win+X to open Device Manager, and verify the driver is installed. If not, use the link below to download and install it.

_images/1.CP2102.png

Click here to access the official driver download page

For detailed download and installation instructions, please watch the video below.


Method 1:Online Flash

LAFVIN Web Flasher is provided by LAFVIN’s fast online flashing tool, which has the firmware built-in. Simply select the corresponding kit for quick flashing.


  1. Click here to open the LAFVIN ESP Web Tool: LAFVIN ESP Web Tool

_images/2.lafvin.png
  1. Select the corresponding program for burning according to the image below.

_images/14.lafvin.png

C. Select the firmware version as shown in the image. .. image:: _static/program/15.lafvin.png

width:

800

align:

center

  1. Click Connect, and in the pop-up window, select the corresponding port to connect.

_images/4.lafvin.png
  1. Click FLASH to start the burning process.

_images/5.lafvin.png
  1. Waiting for the burning process to complete.

_images/6.lafvin.png
  1. After the program is burned, press the RST reset button on the development board and the system will start running.


Note

If flashing fails, please check the following:

  • The USB cable and USB port are functional; try another cable or port.

  • The ESP8266 board is powered and enters download mode correctly.

  • The selected serial port is correct and not being used by other software.

  • The CP2102 driver is installed and recognized in Device Manager.

  • The firmware file is selected correctly and the flash settings match the board (baud rate, flash mode, etc.).

If the issue persists, reboot your computer, restart the board, and retry.


Method 2:Flash Download Tool

In addition to using online flashing, you can also use Espressif’s official flashing tool to flash the firmware.


  1. Download Flash Download Tool from the resource package we provide. After decompression, open the file, select “flash_download_tool_xxx.exe” and double-click to open the software.

_images/8.TOOL.png
  1. Select ESP8266 and Develop from the drop-down menus, then click OK.

_images/9.TOOL.png
  1. Import the firmware following the steps shown in the image.

_images/10.TOOL.png

Note

  • Please download the firmware file provided in the resource package in advance.

  • The firmware file is stored in the resource package at the following path: Code & Library — Code — 0.Spiderbot —BIN —0.Spiderbot.bin

  1. Set the parameters as shown in the picture: SPI SPEED select 80MHz, SPI MODE select DIO, COM select the serial port actually connected to the computer, and BAUD set to 921600.

_images/11.TOOL.png
  1. After completing the above settings, click the START button and the system will automatically start burning the firmware. Please wait patiently for the burning to complete.

_images/12.TOOL.png
  1. After the burning is completed, the interface will display the FINISH prompt. At this time, press the RST reset button on the ESP8266 development board and the system will start running.

_images/13.TOOL.png

Note

If the flashing process fails, please follow these steps:

  • Confirm that the ESP32 development board is properly connected to the computer via a USB cable and that the CH340 driver is installed.

  • Check that COMx in the flashing tool is the actual serial port number.

  • Confirm that the firmware file is correctly placed in the BIN folder and check the box on the left.

  • Verify the flashing parameter settings: SPI SPEED = 80MHz, SPI MODE = DIO, BAUD = 921600.

  • Try changing the USB cable or USB port to eliminate communication issues.

  • If flashing still fails, restart the computer and development board and try again.