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

    Production Programming

    Scheduled Pinned Locked Moved Discussion
    production
    3 Posts 3 Posters 799 Views 3 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.
    • PanometricP Offline
      Panometric
      last edited by

      I read the SD card is not supported to boot or override existing settings. So in a production environment, what is the recommended way of programming a large number of modules with factory code? Must we connect each one via USB?

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

        Haven't done "large numbers" yet, but we've always used USB. Beyond the scripts to load onto the device, there's also the firmware to update and (if you use them) the Pysense or Pytrack firmware to update as well. The former can be done via other means if the base firmware is recent enough (though many of the modules ship with very old versions), but I don't think the latter can be done by any other means.

        If the base firmware is recent enough and you don't use a Pysense or Pytrack, you could do everything over Wi-Fi, though this is probably going to be a bit more fun.

        If you really have "large numbers" Pycom may have a way to load the modules with custom code directly in factory?

        1 Reply Last reply Reply Quote 1
        • J Offline
          jmarcelino @Panometric
          last edited by

          @panometric
          Depends what "large numbers" is. For say 100 you're probably be using the development modules (WiPy, LoPy..) , in that case flash over USB is perfectly doable. You can connect multiple expansion boards to a USB hub and flash in parallel, we have a script for that.

          For larger deployments you're probably using the OEM modules (W01, L01 etc) in the case we recommend having programming pins available. All you need to program is power, UART TX/RX and two pins to control Reset and GPIO0 (P2)

          1 Reply Last reply Reply Quote 2

          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