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 release 1.7.3.b1

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    33 Posts 7 Posters 13.4k Views 7 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.
    • robert-hhR Offline
      robert-hh @peekay123
      last edited by

      @peekay123 I'm using an expansion board plus USB supply. That was not a problem before. So checking the supply is just for completion.

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

        @daniel
        I see now that firmware 1.7.4.b1 is available - what are the changes?

        (sysname='WiPy', nodename='WiPy', release='1.7.4.b1', version='v1.8.6-679-g0aa833b4 on 2017-06-23', machine='WiPy with ESP32')
        

        UPDATE
        i see that pysense now work with Wipy2 :)

        think about people first, then computers

        1 Reply Last reply Reply Quote 1
        • T Offline
          this.wiederkehr @peekay123
          last edited by

          @peekay123, @robert-hh I still found the sd-card issue with the most recent fw 1.7.5b2. Out of curiosity. While running the test did you guys have wlan enabled and connected to an ap? If yes with what security (wpa, wep, wpa2 or none)?

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

            @this.wiederkehr I tested that with 1.7.5.b2 too, and found the same issue. Two runs, one until ~550000 = 550 MByte, the second up to ~20000 = 20 MByte. Yes, Wifi was enabled in STA mode, WPA2 encryption, but not used. I could make a test with WiFi disabled. I read from you question that you have the suspicion of e.g. a stack overflow in certain interrupt conditions. I support that.

            1 Reply Last reply Reply Quote 0
            • P Offline
              peekay123
              last edited by

              @robert-hh, @this-wiederkehr, I still don't have any kind of failure with 1.7.5.b2. I use USB power as well and have been using a Class 10 8GB microSD. I boot the LoPy with WiFi AP connected and I sync the RTC to via NTP prior to running the SD test. The test runs for 300K iterations and I never get failures.

              T 1 Reply Last reply Reply Quote 0
              • T Offline
                this.wiederkehr @peekay123
                last edited by

                @peekay123 thanks for the additional information. what is the security mode of the wifi you are using to connect during the test wpa, wep, wpa2 or none?

                1 Reply Last reply Reply Quote 0
                • P Offline
                  peekay123
                  last edited by

                  @this-wiederkehr, I am running WPA2.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    this.wiederkehr
                    last edited by

                    @peekay123 said in Firmware release 1.7.3.b1:

                    Class 10

                    Hmm, interesting. I think I was able to solve the problem with the sd-card by disabling CONFIG_MBEDTLS_HARDWARE_MPI in sdkconfig.h.

                    https://github.com/espressif/esp-idf/issues/630

                    According to the infos in this bug report this feature is buggy and also even slower than without the feature enabled. (It involves isr's so it might clash with others .. no clue).

                    However it only would make sense if in some way mbedtls would be involved, therefore the question regarding the wifi security mode.

                    The only left difference at that point is probably the network traffic on the wifi or the class of the sd card (mine is most likely slower, got to check).

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      peekay123 @this.wiederkehr
                      last edited by

                      @this.wiederkehr, in my case, I have little traffic on the AP (only the link overhead). Any thoughts on how I can stress the AP while I run the test?

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        this.wiederkehr @peekay123
                        last edited by

                        @peekay123 hmm, the not very scientific approch is: connect to the ftp server of the pycom module with filezilla and put your finger on 'F5' ...

                        robert-hhR 1 Reply Last reply Reply Quote 0
                        • P Offline
                          peekay123
                          last edited by

                          @this-wiederkehr, with the latest 1.7.6.b1 firmware, the SD test fails after a number of writes. So far, it has failed between 5000 and 6000 writes (I only track thousands) and a second test failed between 34000 and 35000 writes. When I say fail, I mean the LoPy is no longer responsive on the serial console.

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

                            @this.wiederkehr @peekay123 @daniel It seems, as if with release 1.7.7.b1 this issue is gone. I ran the loop&write test three times up to 2 million passes = 2048000000 Bytes successfully, at which time it stopped intentionally to avoid writing more than 2 GB into a file.

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

                            Pycom on Twitter

                            Pycom