esp32 pico d4

Posted on
  • Hello,

    Anybody running on this chip? Any chance with a JTAG also?

    Thanks.

  • Sorry, first I heard about it. Can you provide more information?

    It it a new chip or a board?

  • It is the esp32 wroom module in a single chip.

    https://www.espressif.com/sites/default/­files/documentation/esp32-pico-d4_datash­eet_en.pdf

    All it needs are the antenna and its matching components.

  • m5stack now has some nice commercial units with this chip: https://m5stack.com/products/atom-matrix­-esp32-development-kit and https://m5stack.com/products/atom-lite-e­sp32-development-kit

    they are about 2cm by 2cm by 1.7cm and quite compact

    just got mine in the mail, i was surprised how small it was

  • @parasquid can you please share to output of

    esptool.py --port <yourComport> flash_id
    
  • here you go :)

    [~] tristan$ esptool.py --port /dev/ttyUSB0 flash_id
    esptool.py v2.6
    Serial port /dev/ttyUSB0
    Connecting........_____..
    Detecting chip type... ESP32
    Chip is ESP32-PICO-D4 (revision 1)
    Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
    MAC: d8:a0:1d:5c:87:4c
    Uploading stub...
    Running stub...
    Stub running...
    Manufacturer: c8
    Device: 4016
    Detected flash size: 4MB
    Hard resetting via RTS pin...
    
  • managed to finally get time to play around with it:

    [~/espruino/espruino_2v05_esp32] tristan$ esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash -z --flash_mode "dio" --flash_freq "40m" 0x1000 bootloader.bin 0x10000 espruino_esp32.bin 0x8000 partitions_espruino.bin
    esptool.py v2.6
    Serial port /dev/ttyUSB0
    Connecting....
    Detecting chip type... ESP32
    Chip is ESP32-PICO-D4 (revision 1)
    Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
    MAC: d8:a0:1d:5c:87:4c
    Uploading stub...
    Running stub...
    Stub running...
    Configuring flash size...
    Auto-detected Flash size: 4MB
    Compressed 15392 bytes to 10130...
    Wrote 15392 bytes (10130 compressed) at 0x00001000 in 0.9 seconds (effective 133.9 kbit/s)...
    Hash of data verified.
    Compressed 1377808 bytes to 891091...
    Wrote 1377808 bytes (891091 compressed) at 0x00010000 in 80.4 seconds (effective 137.1 kbit/s)...
    Hash of data verified.
    Compressed 3072 bytes to 166...
    Wrote 3072 bytes (166 compressed) at 0x00008000 in 0.0 seconds (effective 1230.2 kbit/s)...
    Hash of data verified.
    
    Leaving...
    Hard resetting via RTS pin...
    
  • Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse,

    240MHz - Cool this board will work with Espruino firmware build for ESP32.

  • looks like everything's in order. i'm unable to connect via web ide though, unlike my other esp32 boards. but connecting through screen is just fine.

    reset()
    =undefined
    WARNING: Scan stop failed
    WARNING: set rssi scan not implemeted yet
    
    
     ____                 _ 
    |  __|___ ___ ___ _ _|_|___ ___ 
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v05 (c) 2019 G.Williams
    
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    
    >process.env
    ={ 
      VERSION: "2v05", 
      GIT_COMMIT: "990dac35", 
      BOARD: "ESP32", 
      FLASH: 0, STORAGE: 262144, RAM: 524288, 
      SERIAL: "d8a01d5c-874c", 
      CONSOLE: "Serial1", 
      MODULES: "Flash,Storage,hea" ... "r,crypto,neopixel", 
      EXPTR: 1073484860 }
    >
    
  • preliminary testing of the neopixel in the atom lite (D27) works well (the pixel seems to be GBR)

    the chip seems to be a bit warmer than i expected; it could be because the chip is running at the full 240mhz while being enclosed in plastic.

    that's all the time i have to playing around for now, would probably pick this up again sometime later for a project :)

  • i forgot i haven't rebooted in a while on this machine and the issue with the espruino ide was most likely because my user wasn't part of the dialout group (but i probably added my user in the group in one of my persistent terminals, hence i was able to access via screen)

    reboot solved all the issues :)

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

esp32 pico d4

Posted by Avatar for barbiani @barbiani

Actions