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

    Unable to flash

    Scheduled Pinned Locked Moved FiPy
    1 Posts 1 Posters 105 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.
    • L Offline
      luis.sazla
      last edited by

      Hi,

      I'm trying to implement an accelerometer in a pytrack v1.1+ fipy combination. I uploaded a test project with the LIS2HH12 library to the device, but after that it seems to have gotten stuck and now it can't be connected to any of the tools I use (the visual studio code and atom terminals). Everytime I plug the device in VS it shows me this:

      Connecting to COM4...
      Failed to connect (Error: Writing to COM port (WriteFileEx): Invalid handle). Click here to try again.

      Since it can't be connected now I can't upload a new project or run any file from the terminal onto the device.
      I have tried safe booting with an expansion board and it doesn't solve it. I have also tried reinstalling the firmware with the pycom firmware update tool. Neither of these allow me to connect to the device so I can't remove the previous project or upload a new one. I would try to flash it from my pybytes account, but I as I am unable to run any code from the terminal or a file I can't connect the board to my WiFi. I need a way to effectively remove the files and connect the device to my pc again. I don't know what else to do. Any suggestions?

      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