Giter Site home page Giter Site logo

Flash / monitor failure about esp32-evb HOT 7 CLOSED

jonface avatar jonface commented on July 3, 2024
Flash / monitor failure

from esp32-evb.

Comments (7)

jonface avatar jonface commented on July 3, 2024

I have also tried from an un powered USB hub and powered. Also external 5v.

Possible relevance? espressif/esp-idf#113

from esp32-evb.

DanKoloff avatar DanKoloff commented on July 3, 2024

The re-occurring message is not surprising ("flash read err, 1000"). The board comes with empty flash.

It is more interesting why the programming fails. Probably very high baud rate (try with lower) or bad USB port (try with another USB port).

from esp32-evb.

jonface avatar jonface commented on July 3, 2024

OK, I setup the environment using the windows UART drivers, Arduino IDE and it is flashing fine @ 115200

I think, at a guess, it is the linux UART driver, even at 9600 I get nothing. I might try Wireshark at some point and check, if anything, what the USB port is doing.

The main thing is the hardware is working, feel free to close this.

Thanks

from esp32-evb.

DanKoloff avatar DanKoloff commented on July 3, 2024

By default Linux should come with properly working ch34x driver. The driver that we published is only for old kernels older than version 3.14. Your ubuntu has kernel 4.4.0+ and doesn't need this driver.

from esp32-evb.

jonface avatar jonface commented on July 3, 2024

I've tried again, with the built in HL-340 driver,

1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter

monitor is working, I understand what you meant previously now about the error, as I can see the serial output fine from the application, but flashing still doesn't work (tried 9600/115200)

Flashing binaries to serial port /dev/ttyUSB0 (app at offset 0x10000)...
esptool.py v2.1-beta1
Connecting........_____....._____....._____....._____....._____....._____....._____....._____....._____....._____

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
/home/jmasters/Downloads/xtensa-esp32-elf/esp-idf/components/esptool_py/Makefile.projbuild:52: recipe for target 'flash' failed
make: *** [flash] Error 2

I'm assuming this isn't technically a problem with the ESP32-EVB so I should really head over to the ESP github?

Thanks

from esp32-evb.

DanKoloff avatar DanKoloff commented on July 3, 2024

Since you managed to program it via the Arduino, I'd guess the problem is not in the hardware.

from esp32-evb.

jonface avatar jonface commented on July 3, 2024

Closing as problem not specific to Olimex ESP32-EVB.

Thanks.

from esp32-evb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.