isl-org / OpenBot

OpenBot leverages smartphones as brains for low-cost robots. We have designed a small electric vehicle that costs about $50 and serves as a robot body. Our software stack for Android smartphones supports advanced robotics workloads such as person following and real-time autonomous navigation.
https://www.openbot.org
MIT License
2.77k stars 513 forks source link

Upload error : exit status 2 on chip ESP32-D0WD-V3 (revision v3.0) #432

Open hexs00si opened 2 weeks ago

hexs00si commented 2 weeks ago

Describe the problem Despite the successful compilation of the given sketch , along with using the right board and port with all the compatible libraries , the sketch fails to be flashed on the firmware . It generates the following error message

Sketch uses 1038073 bytes (79%) of program storage space. Maximum is 1310720 bytes.
Global variables use 45708 bytes (13%) of dynamic memory, leaving 281972 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.6
Serial port /dev/cu.usbserial-210
Connecting....
Chip is ESP32-D0WD-V3 (revision v3.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 78:e3:6d:c6:93:40
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.

A fatal error occurred: Unable to verify flash chip connection (Invalid head of packet (0xE0): Possible serial noise or corruption.).
Failed uploading: uploading error: exit status 2**
A clear and concise description of what the problem is or what information you are looking for.

To Reproduce Steps to reproduce the behaviour:

  1. Go to tools and select your respective board , for me i chose the ESP32 Dev module
  2. Select the appropriate port.
  3. Verify your sketch , as well as the installed libraries.
  4. Click on upload.

Expected behavior The sketch should be successfully flashed to the connect esp32 chip.

Desktop (please complete the following information):

hexs00si commented 2 weeks ago

433. Please review and merge