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 v1.12.0.b1 (Sigfox and LoRa coexistency on the FiPy)

    Scheduled Pinned Locked Moved Announcements & News
    firmware
    17 Posts 6 Posters 2.8k Views 6 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.
    • D Offline
      daniel
      last edited by

      Hello,

      This release mainly adds Sigfox and LoRa coexistency on the FiPy. There are some additional bug fixes included:

      • esp32: LoRa+Sigfox coexistency on the FiPy.
      • esp32: Allow pin interrupts to be triggered even when the cache is disabled.
      • esp32: Do not allow timer alarms ISR to run with the cache disabled.
        Otherwise the CPU crashes when writing to flash and the interrupt triggers.
      • esp32: Solve BLE hang when searching for services.
      • esp32: Correct behaviour of Alarm.callback(None). The alarm is correctly cancelled now.
      • modpycom.c/pulses_get(): prevent lock-up at long pulses. Thanks to @robert-hh.
      • esp32: Use spi_flash_get_chip_size() to determine the flash size. Thanks to @robert-hh.

      Cheers,
      Daniel

      robert-hhR L 2 Replies Last reply Reply Quote 2
      • X Offline
        Xykon administrators
        last edited by Xykon

        Just in case anyone needs it, I have updated the download links under downgrading for advanced users to include the previous 1.10.2.b1 major release.

        I am working on a new firmware update tool that will have downgrade functionality. You should see another beta being released later this week.

        Christian Ehlers

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

          @daniel uos.uname causes a core dump on FiPy. See https://github.com/pycom/pycom-micropython-sigfox/issues/118

          1 Reply Last reply Reply Quote 0
          • D Offline
            daniel
            last edited by

            @robert-hh thanks. Found the cause. Will fix ASAP.

            1 Reply Last reply Reply Quote 0
            • D Offline
              danielm
              last edited by

              @Xykon
              Can this currently developed upgrade/downgrade tool be used to flash custom image as well?

              X 1 Reply Last reply Reply Quote 0
              • X Offline
                Xykon administrators @danielm
                last edited by

                @danielm You can do that with the command line version of the tool. I will post some more details about that with the next beta release.

                Christian Ehlers

                1 Reply Last reply Reply Quote 0
                • N Offline
                  naveen
                  last edited by

                  Why am I getting sigfox.id() and sigfox.pac() as b'ffffffff' and b'ffffffffffffffff' respectively?

                  1 Reply Last reply Reply Quote 1
                  • D Offline
                    daniel
                    last edited by

                    @naveen did you get the Sigfox ID and PAC printed on the screen after the updater tool completed?

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      naveen
                      last edited by

                      I am getting the message shown below but no id or pac info:

                      Result:
                      Your device was successfully updated!
                      Please remove the wire and reset the board.

                      1 Reply Last reply Reply Quote 1
                      • D Offline
                        daniel
                        last edited by

                        After updating and doing:

                        import os
                        os.uname()
                        

                        What do you get?

                        Cheers,
                        Daniel

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          naveen
                          last edited by

                          Everytime I run "os.uname()", FiPy disconnects and only gives partial output as below:
                          (sysname='FiPy', nodename='FiPy', release='1.12.0.b1', version='v1.8.6-849-fcbbfe3 on 2018-01-03', machine='FiPy with ESP32' , lorawan=' > Failed to connect (Connection was reset)

                          1 Reply Last reply Reply Quote 1
                          • D Offline
                            daniel
                            last edited by

                            @naveen please let us know your WLAN mac address so that we can reset and you can get your Sigfox ID and PAC again.

                            Please run:

                            import binascii
                            from network import WLAN
                            
                            print(binascii.hexlify(WLAN().mac()))
                            

                            And let us know your MAC address. Thanks.

                            Cheers,
                            Daniel

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              naveen
                              last edited by Xykon

                              Mac address: <removed by admin>

                              X 1 Reply Last reply Reply Quote 1
                              • X Offline
                                Xykon administrators @naveen
                                last edited by

                                @naveen It seems your sigfox credentials haven't been properly generated during the initial upgrade/device registration.

                                I have removed your device... can you please try to upgrade/register again?

                                Christian Ehlers

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  naveen
                                  last edited by naveen

                                  OK, I am trying to upgrade/register again. Now I see an option "Country Selection" and I choose "Japan" where I live. Next is "SigFox region selection" but I do not find "Japan" in the available options.

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    daniel
                                    last edited by

                                    @naveen we will add Japan with the next release of the updater tool. In the meantime, please select Europe as Sigfox region. Thanks.

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

                                      @daniel
                                      Wipy2
                                      I give another try with recent software compared to 1.7.2.b1 {which is stablest for me for wipy2}.
                                      After flash (today):

                                      1. connection to router give me timeout (30seconds) but if i ignore this i can connect to the socket in the network - i use static ip setting.
                                      2. i2c (i2c=I2C(0, I2C.MASTER, baudrate=100000, pins=("P9", "P10")))
                                      • bh1750 ok,
                                      • pcf8574 ok
                                      • read from bmp180 read only 0 for preasure but temperature is ok

                                      flashed 3 times and tested 30 times with removing cables (5 times and also simple reset 5 for every flash).

                                      downgraded to 1.7.2.b1 all work ok.
                                      I must bring back my logic analyser to see issue on i2c but maybe you have some hint here?
                                      And also what can be the reason of issue from point 1?

                                      think about people first, then computers

                                      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