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

    Pymakr atom plugin only syncing boot.py

    Scheduled Pinned Locked Moved LoPy
    lopysyncproblem
    11 Posts 4 Posters 2.8k Views 4 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.
    • sorenS Offline
      soren
      last edited by

      Hello,

      For some obscure reason, the pymakr plugin for atom will only sync my boot.py file and not the main.py file. I have set the correct directory for syncing, and the file names are boot.py and main.py. I have no idea....

      1 Reply Last reply Reply Quote 1
      • R Offline
        Ralph
        last edited by

        Do you have multiple projects open in one atom instance? It doesn't support that yet in the official release, it will grab only the top project. It might be that you have only boot and main files in the top project but are working in another one. In that case you can can drag it to the top, after which it will work.

        If that's not the case, make sure that the other files are trying to sync have an extension that matches the list in the 'sync file types' setting.

        1 Reply Last reply Reply Quote 0
        • IplookyI Offline
          Iplooky
          last edited by

          More or less I have a similar problem. I cand run the code but when I try to sync I have the error :

          Failed to connect (Error: wirting to COM port (GetOverlappedResult): Operation aborted). Click here to try again.

          An so on...it sometimes works but don't have any ideea why.

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

            Hello

            Using a LoPy (firmware 1.9.2.b2), I've got a similar problem, with a single projet (main.py and boot.py)

            Downloading project (main folder)...

            Reading files from board
            Found 2 existing files
            Downloading 2 files...
            [1/2] Reading main.py

            Failed to connect (Error: Writing to COM port (GetOverlappedResult): Operation aborted). Click here to try again.
            Failed to download main.py
            [2/2] Reading boot.py
            Connecting on COM6...
            Disconnected. Click here to reconnect.

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              Ralph @ThomasBastien
              last edited by

              @thomasbastien Daniel replied to a simiar comment on github, that likely a firmware problem is causing this as well as similar problems on mac and linux. He's releasing a fix very soon (hopefully today)

              T 1 Reply Last reply Reply Quote 1
              • T Offline
                ThomasBastien @Ralph
                last edited by

                @ralph Hello,
                I've also tried to downgrade it to 1.9.0.b1, and the same issue occurs.

                import os
                os.uname().release
                '1.9.0.b1'
                ets Jun 8 2016 00:22:57

                rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
                ets Jun 8 2016 00:22:57

                rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
                configsip: 0, SPIWP:0xee
                clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
                mode:DIO, clock div:1
                load:0x3fff9010,len:12
                ho 0 tail 12 room 4
                load:0x3fff9020,len:388
                load:0x40078000,len:11584
                load:0x4009fb00,len:848
                entry 0x4009fc9c
                MicroPython v1.8.6-776-gd01a46cd on 2017-09-29; LoPy with ESP32
                Type "help()" for more information.

                ets Jun 8 2016 00:22:57

                rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
                ets Jun 8 2016 00:22:57

                rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
                configsip: 0, SPIWP:0xee
                clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
                mode:DIO, clock div:1
                load:0x3fff9010,len:12
                ho 0 tail 12 room 4
                load:0x3fff9020,len:388
                load:0x40078000,len:11584
                load:0x4009fb00,len:848
                entry 0x4009fc9c
                MicroPython v1.8.6-776-gd01a46cd on 2017-09-29; LoPy with ESP32
                Type "help()" for more information.

                import os
                os.uname()
                (sysname='LoPy', nodename='LoPy', release='1.9.0.b1', version='v1.8.6-776-gd01a46cd on 2017-09-29', machine='LoPy with ESP32', lorawan='1.0.0')
                os.uname().release
                '1.9.0.b1'

                Downloading project (main folder)...

                Reading files from board
                Found 2 existing files
                Downloading 2 files...
                [1/2] Reading main.py

                Failed to connect (Error: Writing to COM port (GetOverlappedResult): Operation aborted). Click here to try again.
                Failed to download main.py
                [2/2] Reading boot.py
                Connecting on COM5...

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  Ralph @ThomasBastien
                  last edited by

                  @thomasbastien Thanks for testing this. So it's not (just) the firmware issue but likely a pymakr issue as well. I'll look in to it as soon as I have the chance.

                  T 1 Reply Last reply Reply Quote 0
                  • T Offline
                    ThomasBastien @Ralph
                    last edited by

                    @ralph Thanks for the info, is there a way to install a previous version of Pymakr to get it to work? Currently using version 1.2.0

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      Ralph @ThomasBastien
                      last edited by

                      @thomasbastien Yes, I think apm install pymakr@1.1.5 should work

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        ThomasBastien @Ralph
                        last edited by

                        @ralph Hello,
                        I confirm that with Pymark 1.15 it is working. I will stick to this version (for the moment).
                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          Ralph @Iplooky
                          last edited by

                          @iplooky FYI this 'GetOverlappedResult' error on windows has now been solved with Pymakr 1.2.2. Let me know if it works for you!

                          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