Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feature Request: Add support for ESP8266 #945

@ckoparir

Description

@ckoparir

Hello espflash team!

I'm interested in using espflash with ESP8266 modules, but I've discovered that support isn't currently implemented. When I run espflash board-info on an ESP8266, I get the error: unrecognized magic value: 0xfff0c101.

I've done some investigation using esptool.py with the --trace flag and have successfully connected to my chip. The trace output shows the sequence of commands (SYNC, GET_SECURITY_INFO, READ_REG) that esptool.py uses to detect and identify the ESP8266 chip and read its MAC address.

I have the full trace output and have begun to map out the necessary detection routine, which seems to hinge on reading a signature from register 0x40001000.

I am very keen to work on adding this feature and would like to contribute it to espflash. Before I start, I wanted to check in with you:

Is this a feature you would be willing to accept a contribution for?

Do you have any architectural guidance or pointers on where in the codebase I should start looking to implement chip detection?

Are there any known pitfalls or ongoing refactors I should be aware of?

Thank you for your time and for building this great tool!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions