Hi,
I have received an ESP32_Core_board_V2 from AdaFruit 1 week ago (also called ESP32DevC or Espressif ESP32 Development Board - Developer Edition PID: 3269 in AdaFruit shop see link
https://www.adafruit.com/products/3269)
I'm using an ASUS N56VZ Laptop with 16GB RAM + Samsung 512GB SSD + Corei7-3630QM @2.4GHz + Windows7 64bits
I have created an ESP32 development environment using VirtualBox Version 5.1.6 r110634 (Qt5.5.1) with image Xubuntu 14.04.5 LTS
I can build all esp-idf example with xtensa-esp32-elf and latest esp-idf trunk
I have tested the board with stock firmware and all work fine (even if stock firmware is pretty limited with ssc commands which are not documented => "Please refer to document ssc_commands.xlsx for detail", even if I have reversed some command it is pretty limited).
The board use a 4MBytes Flash (FM25Q32 chipset) soldered on the ESP-WROOM-32 shield.
The board use a Silicon Labs CP2102 USB to Serial chipset
So then I have tried to use different command in order to have info about the ESP32
Code: Select all
xubuntu@xubuntu-VirtualBox:~/esp$ sudo /home/xubuntu/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 -b 115200 -p /dev/ttyUSB0 flash_id
esptool.py v2.0-dev
Connecting...
Uploading stub...
Running stub...
Stub running...
Manufacturer: a1
Device: 4016
So 2nd time i try an other command i obtain error Invalid head of packet ('\x1b'):
Code: Select all
xubuntu@xubuntu-VirtualBox:~/esp$ sudo /home/xubuntu/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 -b 115200 -p /dev/ttyUSB0 flash_id
esptool.py v2.0-dev
Connecting...
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('\x1b')
If I retry multiple time sometime it works again ...
I have tested different command and baudrate but I have always the same random error to communicate with the board
I have done lot of tests and I have about 3 fail out of 4 tests (so 1 work and 3 fail)
I never have more than 2 consecutive test working the 3rd is always a fail ...
Are you aware of this problem ?
Do you have a fix to have better / more robust communication ? (it seems to be not related to baudrate but more with a timing issue ...)
I will do some oscilloscope & logic analyzer traces to better understand what happen, but before to loose time on that I would like to know if such issue is known and maybe if there is already a fix/workaround... ?
For information when I'm using esp-idf/components/esptool_py/esptool/esptool.py on Windows7 it always fail so the best is to use VirtualBox today (and anyway I plan to do all with the VirtualBox image)