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

    Have an higher baudrate than 115200 with the updater and serial link

    Scheduled Pinned Locked Moved Software Tools
    3 Posts 2 Posters 32 Views 2 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.
    • T Offline
      Thierry Bultel
      last edited by Thierry Bultel

      Hi, my question i about updater.py

      Whereas it is possible to use a baudrate = 921600 with the USB link, when the FiPy is on a
      the Expansion Board, only 115200 bauds is possible when setting the bootmode manually, and communicating with the RX/TX serial pins.
      It takes a significant amount of time at that slow speed.
      What is the reason behind that ? What does the expansion board do, additionally to my wiring ?
      Is there a way to have an higher baudrate ?

      Thanks !

      1 Reply Last reply Reply Quote 0
      • Yusuf BAYLAVY Offline
        Yusuf BAYLAV
        last edited by

        Hello Thierry,

        By default, the baud rate is 921600 to upload the firmware over UART. The expansion board flashes the firmware at that speed. REPL's baudrate is 115200 by default and is required another setting in make menuconfig which is CONSOLE_UART config. You can change it to another pin and give it a try.

        The expansion board has a battery charger feature. You can use normal usb bridge by connecting to rx/tx pins.

        Please share the results in here after having tried.

        KR.
        Yusuf BAYLAV
        Solutions Architect / Evangelist @ pycom

        1 Reply Last reply Reply Quote 0
        • Yusuf BAYLAVY Offline
          Yusuf BAYLAV
          last edited by Yusuf BAYLAV

          Hello again Thierry,

          To be more precise, the baud rate value is adjustable.
          There are two ways to perform that:

          a) You may rebuild the firmware by changing the _boot.py in the frozen base. Please check [HERE](https://github.com/pycom/pycom-micropython-sigfox/blob/Dev/esp32/frozen/Base/_boot.py
          b) You may load your own boot.py into your device which will overwrite the current one and will end up working at 921600 baud rate.

          I hope this helps.

          KR.
          Yusuf BAYLAV
          Solutions Architect / Evangelist @ pycom

          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