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

    New Firmware Release 1.20.2.rc6

    Scheduled Pinned Locked Moved Announcements & News
    23 Posts 5 Posters 892 Views 5 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.
    • P Offline
      peterp @dgerman
      last edited by

      @dgerman Understood. And are you able to test that AP behaviour after temporarily removing your boot.py and main.py?

      D 1 Reply Last reply Reply Quote -1
      • D Offline
        dgerman @peterp
        last edited by dgerman

        @peterp After erase_all and flash my boot.py and main.py are no longer there as I can tell by the heartbeat.
        I cannot connect to Access Point to put them there.
        Using

        sudo iwlist wlan0 scan 
        

        on a Raspberry PI Zero W reports

                  Cell 06 - Address: 80:7D:3A:94:7B:7D
                            Channel:6
                            Frequency:2.437 GHz (Channel 6)
                            Quality=70/70  Signal level=-40 dBm
                            Encryption key:on
                            ESSID:"gpy-wlan-7b7c"
                            Bit Rates:5.5 Mb/s; 11 Mb/s; 1 Mb/s; 2 Mb/s; 6 Mb/s
                                      12 Mb/s; 24 Mb/s; 48 Mb/s
                            Bit Rates:54 Mb/s; 9 Mb/s; 18 Mb/s; 36 Mb/s
                            Mode:Master
                            Extra:tsf=0000000000000000
                            Extra: Last beacon: 30ms ago
                            IE: Unknown: 000D6770792D776C616E2D37623763
                            IE: Unknown: 01088B9682840C183060
                            IE: Unknown: 32046C122448
                            IE: Unknown: 030106
                            IE: Unknown: 0706434E00010D14
                            IE: IEEE 802.11i/WPA2 Version 1
                                Group Cipher : TKIP
                                Pairwise Ciphers (2) : CCMP TKIP
                                Authentication Suites (1) : PSK
                            IE: Unknown: 2D1A6E1100FF00000000000000000000000100000000000000000000
                            IE: Unknown: 3D1606050000000000000000000000000000000000000000
                            IE: Unknown: DD180050F2020101040003A4000027A4000042435E0062322F00
        

        I notice the only difference between multiple reports is

        • Extra: Last beacon: 30ms ago
        • Extra: Last beacon: 2070ms ago
        • Extra: Last beacon: 4260ms ago

        Which seems to confirm my suspicion that GPy is only broadcasting SSID once.
        I don't know how to interpret anything else in the report.

        If I download and flash a previous version of the firmware for GPy where should I get it? I am using a Mac so how do I get Pycom Firmware Update.app to flash a specific version?

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          peterp @dgerman
          last edited by

          @dgerman said in New Firmware Release 1.20.2.rc6:

          @peterp After erase_all and flash my boot.py and main.py are no longer there

          Ugh, yeah, of course. Sorry, wasn't thinking along properly here. Mhm ... it's weird ... I'm thinking ...

          I cannot connect to Access Point to put them there.

          just for completeness, you know you can work with pymakr?

          If I download and flash a previous version of the firmware for GPy where should I get it? I am using a Mac so how do I get Pycom Firmware Update.app to flash a specific version?

          you should be able to select previous version also in the application ... if you want to download them manually, see here https://software.pycom.io/downloads/GPy.html

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            dgerman @peterp
            last edited by

            @peterp Thanks. On Mac OS with Pycom Firmware Update.app include develop versions I choose
            GPy-1.20.2.rc2 ++SUCCESS++
            GPy-1.20.2.rc3 --FAILS only transmits SSID once---
            GPy-1.20.2.rc2 --FAILS !-!
            GPy-1.20.2.rc2 with erase file system ++SUCCESS++

            Did not see rc4 or rc5.

            D 1 Reply Last reply Reply Quote 1
            • D Offline
              dgerman @dgerman
              last edited by

              @peterp Should I create an issue at GitHub?

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

                @dgerman Can you show the full log you see in a console window after pushing reset?

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  dgerman @robert-hh
                  last edited by dgerman

                  @robert-hh Sorry I don't understand what you are asking for.
                  Summary:
                  GPy 1.18.1.r2 (as received)
                  boot.py set LED green, pink, connects to wlan as STAtion and finally green.
                  main.py updates time from ntp sets LED blue then sends syslog message.
                  After update to 1.20.2.rc6 LED blinks but no syslog message is received. GPy does not respond to ping, telnet or ftp.
                  After erase_all and update, LED shows heartbeat (since boot.py and main.py were initialized as empty). GPy transmits SSID as AccessPoint one time only and macBookPro can no longer connect.

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

                    @dgerman If you connect your GPy to a terminal emulator and push the reset button, then you'll get some messages. These are the ones I'm asking for. Sample witth a LoPy4 below:

                    ets Jun  8 2016 00:22:57
                    
                    rst:0x1 (POWERON_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:0x3fff8020,len:8
                    load:0x3fff8028,len:2140
                    ho 0 tail 12 room 4
                    load:0x4009fa00,len:19760
                    entry 0x400a05bc
                    
                    Pycom MicroPython 1.20.2.rc6 [v1.20.1.r2-115-g5e92391-dirty] on 2020-04-08; LoPy4 with ESP32
                    Type "help()" for more information.
                    >>> 
                    
                    
                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      dgerman @robert-hh
                      last edited by

                      @robert-hh I only ever connect to GPy in the traditional headless manner (I initially only had a GPy board , no expansion board, no USB). I created a boot.py to set it up as a STAtion, established a wifi connection on MacBook Pro to the SSID gpy-wlan-7b7c and ftp'ed boot.py. After reset I use ftp to update boot.py and main.py. I telnet to it test code snippets in REPL.

                      If you provide me code to retrieve the values you are interested in I can use REPL to display them or I can put them in a main.py and write the values to a file and retrieve it with ftp.

                      1 Reply Last reply Reply Quote 0
                      • rcolisteteR Offline
                        rcolistete
                        last edited by

                        Any change log of firmware 1.20.2.rc7 ?
                        It is not cited in the GitHub releases page :
                        https://github.com/pycom/pycom-micropython-sigfox/releases

                        My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

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

                        Pycom on Twitter

                        Pycom