ESP32 Micropython??

Discussion in 'UDOO KEY' started by JMuller, Feb 16, 2023.

  1. JMuller

    JMuller UDOOer

    Joined:
    Feb 15, 2023
    Messages:
    5
    Likes Received:
    2
    I tried loading ,micropython on the ESP32 for my Udoo Key and failed! I went to the micropython download site and loaded the ESP32_S2_WROVER-20220618-v1.19.1.bin file according to directions got warning:
    "Unexpected chip id in image. Expected 0 but value was 2. Is this image for a different chip model?"
    When I tried to reset the ESP32 (yes I removed the jumper) the serial monitor did not show micropython start up message but rather got:
    rst:0x10 (RTCWDT_RTC_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
    wrong chip id 0x0002
    wrong chip id 0x0002
    wrong chip id 0x0002
    wrong chip id 0x0002
    wrong chip id 0x0002
    wrong chip id 0x0002
    wrong chip id 0x0002
    wrong chip id 0x0002
    ets Jul 29 2019 12:21:46


    Has anyone had success with this?
     
  2. digiital

    digiital New Member

    Joined:
    Feb 24, 2023
    Messages:
    2
    Likes Received:
    1
  3. JMuller

    JMuller UDOOer

    Joined:
    Feb 15, 2023
    Messages:
    5
    Likes Received:
    2
    Thanks for your help. I was able to download the file esp32-idf3-20210202-v1.14.bin from your link and use the esptool.py to erase :
    esptool.py --chip esp32 --port COM9 erase_flash

    then flash the ESP32:
    esptool.py --chip esp32 --port COM9 --baud 460800 write_flash -z 0x1000 esp32-idf3-20210202-v1.14.bin

    I got the REPL and I'm off and running.
    Next step is to set up UART connection between the ESP32 and rp2040, which has eluded me using ExpressIF.
    Will post results when done.
     
    digiital likes this.

Share This Page