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 source code?

    Scheduled Pinned Locked Moved LoPy
    39 Posts 19 Posters 17.7k Views 21 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.
    • L Offline
      littlebat @jeremy
      last edited by littlebat

      @jeremy said in Firmware source code?:

      Any thoughts on this?

      Yes I agree with you. Perhaps MPL could be considered? GPLv3 does not seem to offer any additional protection against hardware cloners who don't really want to modify the software anyway. So unless there are different terms for running on official pycom hardware or an available commercial license version then not sure of the advantage. Being able to use some proprietary C application code is quite important.

      1 Reply Last reply Reply Quote 0
      • I Offline
        interval Pybytes Beta @Xykon
        last edited by

        @Xykon said in Firmware source code?:

        Well the good news is that I managed to dump the Lopy firmware so I can erase the flash, experiment with the ESP32 SDK and come back to the MicroPython firmware at any moment.

        If you don't want to release the schematics then at least a block diagram would be nice to see how everything inside is connected and which pins are what on the header.

        Kinda curious what you installed to play with the esp32 sdk with. Did you just use esp-idf like you would a regular esp32 module?

        1 Reply Last reply Reply Quote 0
        • S Offline
          sriram.reddy
          last edited by

          Very disappointing. We were planning to integrate into our commercial IOT solution. Potential of buying up to 100s of lopy modules. With this kind of bad reputation, we are opting a board with a full open-source even though it cost slightly more. Thanks for misleading and wasting our R&D time.

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

            @sriram-reddy Apologies for the misunderstanding, I think this very old thread is confusing you. Everything is open source now and we have many customers using our sources to build their own custom firmware. Please have a look at it here:

            https://github.com/pycom/pycom-micropython-sigfox

            and in general to all our repos: https://github.com/pycom

            Cheers,
            Daniel

            1 Reply Last reply Reply Quote 0
            • J Offline
              jdcrunchman @jeremy
              last edited by

              @jeremy We were going to purchase about 5 LoPy4 units to get an early start on software development, but alas, just learned that the Python modules supporting it, is not Open Source, so we decided not to order the LoPy boards until we can be sure to get access to the source code.... we have a better battery management hardware circuitry we could just "Add" to the board, but also want Python control over it, but have no example code that offers any clue about how Python touches the hardware.

              robert-hhR J 2 Replies Last reply Reply Quote 0
              • robert-hhR Offline
                robert-hh @jdcrunchman
                last edited by

                @jdcrunchman The firmware itself is open source and published, the hardware is not. Many people are asking for more information about the hardware, especially since Pycom is sometimes a little tardy in responding to hardware related issues.
                Some code, like the one for the PIC on the expansion boards, was never published, even if Pycom, promised to to so.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jcaron @jdcrunchman
                  last edited by

                  @jdcrunchman you should probably read the post just before yours.

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    jdcrunchman @jcaron
                    last edited by

                    @daniel I took a look at those links to GitHub you posted, and looked through each one, but I did not find any references to source code from these URL's. https://github.com/pycom/ and https://github.com/wipy, as well as https://github.com/pycom/pycom-micropython-sigfox.

                    Although I did glance through the URL just above, and saw such modules as "board.c" and other modules written in C. Is the LoRa module written in C with Python hooks, or in Python in pycom-micropython-sigfox/esp32/lora/

                    Or am I looking in the wrong place. The import statement...
                    "from network import LoRa"

                    So would I be be looking for "network"? I went through almost everything in "sigfox" . I could not find the "network" module. I hope this more detailed description is more clear.

                    In the main pycom list of repo's, which lists a whole bunch of repo's, although I didn't check each repo, I didn't see anything.
                    So if it's in a specific repo, a more direct path would be appreciated.

                    Thanx

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

                      @jdcrunchman The starting point for the network module is in:
                      .../pycom-micropython-sigfox/esp32/mods/modnetwork.c
                      there is also the file modlora.c. More LoRa related files are in:
                      ../pycom-micropython-sigfox/drivers/sx127x/...
                      ../pycom-micropython-sigfox/lib/lora/...
                      And yes, almost all of it of it is written in C.

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        jdcrunchman @robert-hh
                        last edited by

                        @robert-hh said in Firmware source code?:

                        The starting point for the network module is in:
                        .../pycom-micropython-sigfox/esp32/mods/modnetwork.c
                        there is also the file modlora.c. More LoRa related files are in:
                        ../pycom-micropython-sigfox/drivers/sx127x/...
                        ../pycom-micropython-sigfox/lib/lora/...
                        And yes, almost all of it of it is written in C.

                        GREAT, I had no idea I had to look in the "mods" directory. Thanx a lot. This is just what I'm looking for.

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jdcrunchman @jeremy
                          last edited by

                          @jeremy I'm considering developing a proof of concept for a possible commercial product, and the LoPy 4 board would be an ideal choice for a POC demo. I'm just concerned with what the LoPy board has for battery management for both our back pack units and relay stations. It's the relay stations that has to be smart on battery management, although we think we can get away with 1 watt solar panels for the relay stations, both initially designed around the LoPy, but who do we talk to to at PyCom to talk about licensing the LoPy for commercial use?

                          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