Skip to content

Unable to connect to board #1

Closed

Description

@jevers76

Windows 8.1
Sparkfun ESP32 Thing

I installed uPiot to Sublime 3. When I issue any of the commands that would talk to the board through the serial port I get a dialog box to select which COM port to use, but when I select the port my ESP32 is connected to the port select window closes with no apparent communications. I have tried open console, erase flash, download firmware, etc. I have tried two different boards one with Micropython already programmed and one erased. I have been able to use uPyCraft successfully so the boards and COM port are OK.

Activity

  1. gepd commented on Nov 1, 2017

    @gepd
    Owner

    Can you please check the output of the Sublime Text console ST Menu > View > Show Console, after try to open the console or any other command it should show any possible error. Paste the output here so I can help you

  2. jevers76 commented on Nov 1, 2017

    @jevers76
    Author
  3. gepd commented on Nov 1, 2017

    @gepd
    Owner

    Now I've realized; after you select the port no new window is open? It should create a new one with the console, I'll try the plugin at windows 8, can you confirm the Sublime Text version you have installed?

  4. jevers76 commented on Nov 1, 2017

    @jevers76
    Author
  5. gepd commented on Nov 1, 2017

    @gepd
    Owner

    I've installed Windows 8.1 and this is how it looks like:

    console_w8

    So I think the problem may be with the board (it's weird because ampy is from adafruit too), as I don't have one to debug it, can you try ampy in the board?

    The are the steps to install it and test it:

    • Install it with pip install adafruit-ampy
    • List the file in your device with ampy -p yourport ls

    Let me know if that command work with your board

  6. jevers76 commented on Nov 1, 2017

    @jevers76
    Author
  7. gepd commented on Nov 1, 2017

    @gepd
    Owner

    The problem was there; if the plugin detect only one device, it will automatically select it and open the console if you have more than one devices it will make you select a port, but if you already have selected one and it's available it will select that port. To choose a new one, you should use the option UPIOT: Select Serial Port and then open the console.

    There was a bug when multiples devices were connected. I've already fixed and you should get the update the next time you use ST, I still don't add a warning to restart Sublime after update the plugin, but you should do it to note the new changes.

    I'm GMT-3 Santiago, Chile

    Let me know if the problem is fixed or you find a new one, I'll happy to help you

  8. jevers76 commented on Nov 2, 2017

    @jevers76
    Author
  9. gepd commented on Nov 2, 2017

    @gepd
    Owner

    I'll move your las question to a new issue to make this more organized. see #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions