• Bought this newish esp32 flavor, soala
    https://docs.espressif.com/projects/esp-­idf/en/latest/esp32s2/hw-reference/esp32­s2/user-guide-saola-1-v1.2.html

    the esptool can't upload the binary to flash apparently because the crystal frequency is different.
    It seems this "new" frequency is not supported and/or the the esptool is not reading the correct value from the board. Has anyone else tried this board? Can the binary be recompiled to support this apparent hardware difference?

    Chip is unknown ESP32 (revision 1)
    Features: WiFi, Single Core, VRef calibration in efuse, Coding Scheme Repeat (UNSUPPORTED)
    WARNING: Detected crystal freq 344.33MHz is quite different to normalized freq 40MHz. Unsupported crystal in use?
    Crystal is 40MHz
    MAC: 3c:08:5b:80:ea:bd
    Uploading stub...
    Running stub...
    
    A fatal error occurred: Invalid head of packet (0x50)
    

    I'm using this script which works fine with wroom and "regular" wrover.

    #!/bin/bash
    VER=${1:-latest}    
    esptool.py  \
            --port /dev/ttyUSB0                         \
            --baud 115200                               \
            --chip esp32                                \
            --after hard_reset write_flash              \
            -z                                          \
            --flash_mode dio                            \
            --flash_freq 40m                            \
            --flash_size detect                         \
            0x1000 ./$VER/bootloader.bin                 \
            0x8000 ./$VER/partitions_espruino.bin        \
            0x10000 ./$VER/espruino_esp32.bin
    
  • -- nvm, see mabe's post below :)

  • -- nvm, see mabe's post below :)

  • based on comments in that issue looks like this S2 chip won't be working with espruino any time soon. I'll find alternative use.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Can not flash espruino binary to esp32 soala - different frequency than those supported

Posted by Avatar for dgk @dgk

Actions