Skip to content

The reason why ampy is unreliable for a large number of boards, like ESP32CAM etc... #124

@gitcnd

Description

@gitcnd

Many boards use the serial RTS and DTR pins to control the MCU reset and GPIO0 lines - to enable "hardware reset" and firmware uploads for your board.

For example - here's a simple, working, perl terminal-emulator for all boards which do this:

https://github.com/gitcnd/mcu_serial

Unfortunately, ampy doesn't control either of those lines, so you're at the random mercy of whatever your host device decides to do with them... and if either of those 2 are held in the wrong state, this "locks up" your MCU, preventing ampy from talking to it.

See my above perl code for examples of how to properly control those lines. I don't know enough python to work out how to do the equivalent to fix this bug...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions