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

    VS code + Pymakr unable to connect to the LoPy4

    Scheduled Pinned Locked Moved LoPy
    2 Posts 1 Posters 66 Views 1 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.
    • J Offline
      jpmjpmjpm
      last edited by jpmjpmjpm

      Hello,

      I am trying to program a LoPy4 + Expansion Board v3.1. VS + Pymakr is not able to connect to the LoPy4.

      My setup is the following one:

      • OS: Ubuntu 18.04.
      • Virtual Studio Code 1.43.2
      • Pymakr 1.1.6

      I successfully upgraded the Expansion Board v3.1 with expansion31_0.0.11.dfu firmware.

      I successfully upgraded Lopy4 firmware at 1.20.2.rc6 firmware level.

      lsusb recognizes the device:

      Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
      Bus 001 Device 008: ID 06cb:00bd Synaptics, Inc. 
      Bus 001 Device 005: ID 5986:114e Acer, Inc 
      Bus 001 Device 007: ID 1d5c:7102  
      Bus 001 Device 003: ID 14cd:8601 Super Top 
      Bus 001 Device 031: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
      Bus 001 Device 030: ID 046a:0023 Cherry GmbH CyMotion Master Linux Keyboard G230
      Bus 001 Device 029: ID 413c:a503 Dell Computer Corp. 
      Bus 001 Device 028: ID 046d:c063 Logitech, Inc. DELL Laser Mouse
      Bus 001 Device 027: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
      Bus 001 Device 032: ID 04d8:ef98 Microchip Technology, Inc. 
      Bus 001 Device 010: ID 8087:0aaa Intel Corp. 
      Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
      

      The command screen /dev/ttyACM0 115200 hangs.

      When I use Pymakr > Extra > List Serial Ports, /dev/ttyACM0 (Pycom) (copied to clipboard) is detected.

      However, I'm unable to connect to the device using Pymakr > Connect. The connection is hanging.

      Additional remarks:

      • I get the same behavior with another LoPY4 device.
      • I get the same behavior when I connect the LoPY4 devices to PySense devices.
      • My LoPy4 devices are connected to a LoRa antenna.
      • I tried on another computer... with same results.
      • I tried with another USB cable... same results again.

      Any clue of what can be wrong?

      1 Reply Last reply Reply Quote 0
      • J Offline
        jpmjpmjpm
        last edited by

        Thanks to Pycom support, the issue was solved by a format of the whole Flash Memory using pycom-fwtool-cli -p <port> erase_all command and flashing again the firmware.

        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