Skip to content

Option to reduce baud rate for burning firmware #7

@mfhepp

Description

@mfhepp

Thanks for this great tool! When trying to burn the firmware to an Adafruit Feather board, I was running into continuous problems. It turned out that some USB chips require a slower baud rate, like 115200 baud, see also here: cnlohr/espusb#8

It would thus be good to be able to set the baud rate in the configuration, so that you can use e.g.

$ esptool.py --port /dev/cu.SLAB_USBtoUART --baud **115200** write_flash --flash_size=detect 0 ~/.upiot/firmwares/esp8266/esp8266-20180511-v1.9.4.bin 2>&1

Before report an issue, please make sure it hasn't been reported before.

Operating system

OSX 10.11.6

Board used

Adafruit Feather

Description of problem

Burning firmware fails due to too high baud rate.

Error(s) in ST Console? (View > Show Console)

Running esptool.py --port /dev/cu.SLAB_USBtoUART --baud 460800 write_flash --flash_size=detect 0 ~/.upiot/firmwares/esp8266/esp8266-20180511-v1.9.4.bin 2>&1

esptool.py v2.2
Connecting........_
Detecting chip type... ESP8266
Chip is ESP8266EX
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...

A fatal error occurred: Timed out waiting for packet header

[Finished in 7.0s with exit code 2]

Steps to Reproduce

Actual Results

Expected Results

Additional info

You can edit the text above according to your need

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions