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 cannot connect after firmware upgrades

    Scheduled Pinned Locked Moved MicroPython
    39 Posts 11 Posters 17.5k Views 11 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.
    • R Offline
      Ralph
      last edited by

      @livius thanks for notifying this, l'll check if our update system is causing this version information error.

      I'm also still unable to connect Pymakr with the latest firmware version. This issue is probably the cause of this, perhaps somehow also involved in preventing connection over serial. We'll be working on a fix for this very soon.

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

        @jonirons said in Pymakr cannot connect after firmware upgrades:

        We really do need to know what is working, what isn't, and when it might be fixed.

        I completely agree with you and we are working on improving this. Step one is making more use of the new repo's on github for tracking issues.

        My colleagues will take care of your watchdog questions in those topics, since that's not my field of expertise.

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

          @PatSenn
          You can indeed find the boot.py and main.py files in the /flash folder. Use FTP to download them to a folder on your pc. After this, you can go to Pymakr, create a new project for this folder and start coding and syncing code to the device from there. You can also skip the FTP download part and create new boot and main files from Pymakr.
          Let me know if this helps you to get started.

          1 Reply Last reply Reply Quote 0
          • D Offline
            dg66 Pybytes Beta @Ralph
            last edited by

            @Ralph thx for the answer. I will give it a try tomorrow.

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

              @Ralph Hi Ralph, I just upgraded to Pymakr 1.0.0.b6 and Wipy to (sysname='WiPy', nodename='WiPy', release='0.9.4.b1', version='bc42ea7 on 2016-11-14', machine='WiPy with ESP32')

              Still these issues:

              • Connecting over USBSerial doesn't work (Yes, I have the correct REPL code on boot.py)
              • Connecting over Wifi does work, but Pymakr crashes with "QStackedWidget::setCurrentWidget: widget 0x7fb7b85bdf70 not contained in stack"-error

              Connecting over wifi through telnet and doing some stuff on the command line works fine.

              (edit: after displaying the "setCurrentWidget"-error, my telnet is dead, I need to reboot the device)

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

                Hi @rogierb, There are two bugs responsible for this behaviour, with the versions you are using. One in the firmware that causes the USB Serial not to function and one in Pymakr that causes the QStackedWidget error. Both bugs have now been fixed and will be released soon.

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

                  @Ralph Hi, any idea on when the fixes will be released?

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

                    @richardkt Next week we'll release a new version of Pymakr, as well as a firmware update.

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      jonirons @Ralph
                      last edited by

                      @Ralph some progress - the new firmware seems to be stabler under wifi, but not usb.

                      USB still throws a stack widget error, but wifi seems to be moderately stable - had it fail once when I disconnected screen.

                      Until the basics like realtime clock are there, I need to use other platforms so I'll come back in a while and see if the platform has matured. Until then I'm using the WiPy under ESP32 IDT.

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

                        @jonirons @rogierb @livius @stevePy Last friday, pymakr 1.0.0.b7 was released. It has a lot of bugfixes that relate to the issues all of you posted in this topic. Please try this version (together with the latest firmware) and let me know if this helps with your issues. I'd love to hear your feedback, so I can get an idea of any remaining issues.

                        R 1 Reply Last reply Reply Quote 1
                        • L Offline
                          livius
                          last edited by livius

                          this is my review of my WiPy2.0

                          can connect:

                          pymakr b7
                          firmware 9.5!
                          

                          can't connect:

                          pymakr b7
                          firmware 9.6 (newest)
                          ---
                          pymakr b6
                          firmware 9.5
                          

                          any previous firmware execpt very early from 2 months ago and from the same time pymakr
                          is unable to connect by serial port

                          think about people first, then computers

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

                            hi @livius, thanks for the review. I tested both 9.5 and 9.6 firmware vesions and I'm able to connect using serial and telnet.

                            Did you try both serial and telnet, or only one of them? There is an issue in the situation where your wipy is connected through your home router and you're connecting to it's IP address over telnet. In this case it takes about 30 seconds (or 3 pymakr connection tries) before telnet is available after a device reboot. That could be mistaken for not being able to connect at all.

                            Could this be your problem? If not, could you provide more info on what happens when trying to connect to the latest firmware? A screenshot of the pycom console for example. Thanks in advance!

                            L 1 Reply Last reply Reply Quote 0
                            • L Offline
                              livius @Ralph
                              last edited by livius

                              @Ralph
                              No, i am talking only about connect by serial (COM) in Pymakr.
                              I can connect to my WiPy2 by telnet or ftp in all firmware versions.
                              I can connect by serial throught any aplication like COM port monitor or putty
                              but i am not able to connect by Pymakr.

                              A screenshot of the pycom console for example
                              i am not currently by my WiPy but this is "standard" info something like
                              connection fialed click once again to reconect
                              and clicking once again does produce same lines and prompt to click once again...

                              think about people first, then computers

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

                                @Ralph Just upgraded to release '0.9.6.b1' and pymakr 1.0.0.b7. Everything works awesome :) Thank you! Now, let's start playing!! :D

                                1 Reply Last reply Reply Quote 1
                                • L Offline
                                  livius
                                  last edited by

                                  with pymakr b7 and todays firmware 9.7
                                  i can connect to my WiPy without any problems by COM :)

                                  think about people first, then computers

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

                                    Good to hear @livius and @rogierb!

                                    Sounds like we can close this topic now. If anyone still has similar issues, please create a new topic.

                                    1 Reply Last reply Reply Quote 1

                                    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
                                    • 2
                                    • 2 / 2
                                    • First post
                                      Last post

                                    Pycom on Twitter

                                    Pycom