I'm trying to flash my ESP32 but I have that kind of error which seems more or less common :
Code: Select all
Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
esptool.py v2.6-beta1
Serial port /dev/ttyUSB0
Connecting........_____....._____....._____....._____....._____....._____....._____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
/home/rem/esp/esp-idf/components/esptool_py/Makefile.projbuild:62 : la recette pour la cible « flash » a échouée
make: *** (flash) Erreur 2
The weird thing is that I can flash using the command in the esp/openocd-esp32 file:
Code: Select all
openocd -f tcl/interface/ftdi/olimex-arm-usb-ocd-h.cfg -f tcl/target/esp32.cfg -c "program_esp32 myproject.bin 0x10000 verify exit"I would like to use eclipse and see the output of my esp using the make monitor command to see for example wifi scan. But it is the same error when I want to flash from eclipse. The only way I found to see my wifi scan is using the debug mode in eclipse and seeing the values in the variables.
Do you have any ideas how I could see my results and the print messages I used in my code ? When I'm using make monitor I only have the lines in the attach file.
I'm using :
Eclipse IDE for C/C++ Developers
Version: 2018-12 (4.10.0)
Thank you for your help
