GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Gus (projectgus@aus.social)'s status on Wednesday, 20-Nov-2024 05:09:07 JST Gus Gus

    Got pulled in as secondary consultant for a head-scratcher of a problem flashing an ESP32 from a Linux SoC embedded in a product.

    The ESP32 flashes perfectly from a USB/Serial adapter, but would never flash from the SoC's onboard UART.

    Waveforms on the scope looked absolutely perfect, all the transitions happen at the right time and we see the ESP32 go into its serial bootloader mode. However, it never sends any reply to the packets sent from esptool.

    Several hours of head-scratching and triple-checking signals ensue.

    Eventually I zoomed in on the packets sent by the SoC's onboard UART. esptool sends these SYNC packets with 0x55 square wave payload, and the ESP32 auto-bauds based on what it receives.

    The problem is there, but its not exactly easy to spot...

    #esp32 #embedded

    In conversation about 7 months ago from aus.social permalink

    Attachments


    1. https://mediacdn.aus.social/media_attachments/files/113/507/616/213/005/989/original/f05e6bf324f2a63c.png

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.