Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Cannot switch LoPy4 to download mode with Expansion Board 3.0 on Windows10

    Scheduled Pinned Locked Moved Discussion
    expansionboardlopy4esptool
    4 Posts 2 Posters 680 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V Offline
      Verkehrsrot
      last edited by

      I'm using a LoPy4 on Expansion Board 3.0 as native ESP32. I'm uploading my code with esptool.py using PlatformIO IDE.

      This works smooth if i set the LoPy manually to download mode by connecting G23 to GND while pressing Reset.

      My expectation was that this process is automated by esptool when using the expansion board 3.0, but it doesn't work.

      The USB connection is working, if i open serial terminal i can see the serial prints of my app running on the LoPy4.

      So it seems, only the switching procedure in esptool.py to activate the download mode does not work.

      What's the solution? Changing USB driver? If so, what driver is needed?

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @Verkehrsrot
        last edited by

        @verkehrsrot esptools.py expects a certain switch logig on the board to set the device into update mode. That logic is not implemented by the pycom expansion boards.
        If you download firmware packages from Pycom, use the Pycom updater. It supports the Expansion Board 3 switch mode.

        V 1 Reply Last reply Reply Quote 1
        • V Offline
          Verkehrsrot @robert-hh
          last edited by

          @robert-hh Thanks for this clarification, saves me wasting time to figure out this is a feature, not a bug.

          So, could be a good feature enhancement for esptool.py to implement the pycom proprietary bootloader switch mode. Is it documented somewhere how it works?

          robert-hhR 1 Reply Last reply Reply Quote 0
          • robert-hhR Offline
            robert-hh @Verkehrsrot
            last edited by

            @verkehrsrot Sorry, I do not know a documentation of the Pycom method. I also do not expect that the Pycom method will be implemented by esptool.py, since almost every other ESP32 board maker implements the DTR/RTS method.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post

            Pycom on Twitter

            Pycom