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

    Starting with LoPy

    Scheduled Pinned Locked Moved Discussion
    lopyexpansion boardupload failure
    3 Posts 2 Posters 1.2k 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.
    • A Offline
      aimette
      last edited by

      I received 2 LoPy and 2 expansion boards today.
      I followed the initial setup instructions and got my units connected to Visual studio code pretty easily.
      I ran through the examples of changing the LED colour and then LoPy to LoPy. I am not sure what happened, I can 'run' scripts but I can no longer upload them to the boards. I get this message:

      Upload failed.: Cannot read property 'split' of null.

      I also can't get the pycom upgrade tool to function at all.
      I have also tried putting a brand new (untouched) module in the expansion board and trying to run it through the initial firmware upgrade but it hangs at "Getting board information" the same as the other boards.

      Hopefully I have just made some sort of newbie mistake. Any guidance would be appreciated.

      1 Reply Last reply Reply Quote 1
      • A Offline
        aimette
        last edited by

        Update:
        I have installed Atom - which works without issues. I have also installed ampy and that works no problems at all.
        I suspect the problem is in a driver/VS code. I am still unclear as to why when I installed VS code on a different computer I see the exact same errors.
        The pycom upgrade tool still isn't working properly for me on either computer.
        Is there a way to perform firmware upgrades without the updater? More specifically, changing the LoRa frequency range from 868MHz to 915MHz and visa versa?

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

          @aimette You can set up your own firmware build environment from the repository at https://github.com/pycom/pycom-micropython-sigfox, which in addition to changing the frequency allows you to embed your Python code into the flash, if it solid.

          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