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

    Firmware problems

    Scheduled Pinned Locked Moved Firmware
    bluetooth
    3 Posts 2 Posters 1.2k Views 3 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.
    • T Offline
      thrag
      last edited by thrag

      Hi, I am still getting up to speed with my Lopy but I am facing loads of issues that appear to be related to firmware versions.

      First I am facing "Connection Already Closed" after a Bluetooth.connect(). There is a forum post saying downgrade to 1.4.0.b1 . So I did. It worked great... for a bout 5 hours (100 syncs?). Then suddenly I get "Synchronization failed: could not write file". (Using the atom editor)

      I searched that one in the forums it say upgrade to the latest. I have gone back and forth between firmware version and doing os.mkfs("/flash"). Nothing fixes the problem

      What is the most stable version of the firmware to use?

      I´m spending hours and hours just to discover bugs that are reported months ago but not fixed in the firmware. When can we expect to see fully fleshed out stabilized firmware. I suppose it was written somewhere but I didn't realize when I bought it that is still a product in development.

      Sorry if I sound a bit cranky. I think the product concept is ideal for my project and I really want to make more progress but so far I am getting nowhere.

      Any help is appreciated.

      1 Reply Last reply Reply Quote 0
      • B Offline
        bucknall
        last edited by

        Hi @thrag,

        Regarding the issue you're having with Atom please try the following to synchronise your device -

        In the case of a board that has already has code uploaded to it and is running a loop/non-exiting script, the board may not boot into a REPL.

        Solution: If the board is currently running code, you will need to exit the current script before proceeding:

        1. Ensure your board is connected to your computer
        2. Press the reset button on the device
        3. Press ctrl-c on within the Pymakr console to exit the current script/program

        The REPL should then appear with the '>>>' prompt and you will be able to run/sync your code.

        Developer Evangelist - Pycom

        1 Reply Last reply Reply Quote 0
        • T Offline
          thrag
          last edited by thrag

          Thanks for the reply. I'm afraid that is not the problem though.

          I do this:

          • Use Pycom Firmware updater to update to latest. (1.6 something)
          • Power Cycle
          • Connect USB.
          • REPL is ready
          • import os
          • os.mkfs("/flash")
          • Sync Files works fine

          Then I do this
          I do this:

          • Use command lie tool to downgrade firmware to 1.4 something
          • Power Cycle
          • Connect USB.
          • REPL is ready
          • import os
          • os.mkfs("/flash")
          • Sync Files fails

          Based on this, I feel sure there is no code running on the board.

          Also, the REPL prompt is active and ready when I click sync files so I know there is a good usb connection

          Really, if possible I would rather address the Bluetooth Issue. Atom file sync works just fine with the latest firmware. It is Bluetooth that should be fixed.

          Any chance a blue tooth fix is coming soon?

          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