Dobrica Pavlinušić's random unstructured stuff
esp32: Revision 8
ESP32-Devkit-Pinout_19.pdf
https://github.com/espressif/arduino-esp32/issues/544 ESP32 DEVKIT1schematic: SchematicsforESP32.pdf to get into bootloader mode (out of box) plug module in (red led will show that it has power from usb) and: press EN - press BOOT - release EN - release BOOT dpavlin@x200:/mnt/nuc/esptool$ ./esptool.py -p /dev/ttyUSB0 --chip esp32 read_mac esptool.py v2.7-dev Serial port /dev/ttyUSB0 Connecting........_ Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None MAC: 3c:71:bf:aa:fc:24 Uploading stub... Running stub... Stub running... MAC: 3c:71:bf:aa:fc:24 Hard resetting via RTS pin... dpavlin@x200:/mnt/nuc/esptool$ ./esptool.py -p /dev/ttyUSB0 --chip esp32 chip_id esptool.py v2.7-dev Serial port /dev/ttyUSB0 Connecting........__ Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None MAC: 3c:71:bf:aa:fc:24 Uploading stub... Running stub... Stub running... Warning: ESP32 has no Chip ID. Reading MAC instead. MAC: 3c:71:bf:aa:fc:24 Hard resetting via RTS pin... dpavlin@x200:/mnt/nuc/esptool$ ./esptool.py -p /dev/ttyUSB0 --chip esp32 flash_id esptool.py v2.7-dev Serial port /dev/ttyUSB0 Connecting........_____....._____....._____....._____. Chip is ESP32D0WDQ6 (revision 1) Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None MAC: 3c:71:bf:aa:fc:24 Uploading stub... Running stub... Stub running... Manufacturer: 20 Device: 4016 Detected flash size: 4MB Hard resetting via RTS pin... setuphttps://docs.espressif.com/projects/esp-idf/en/latest/get-started/index.html#setup-toolchain dpavlin@nuc:/nuc/esp32$ wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz dpavlin@nuc:/nuc/esp32$ tar tvf xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz dpavlin@nuc:/nuc/esp32$ git clone --recursive https://github.com/espressif/esp-idf.git dpavlin@nuc:/nuc/esp32$ cd esp-idf/ dpavlin@nuc:/nuc/esp32/esp-idf$ cat env.sh export IDF_PATH=/nuc/esp32/esp-idf export PATH=/nuc/esp32/xtensa-esp32-elf/bin/:$PATH dpavlin@nuc:/nuc/esp32/esp-idf$ . env.sh dpavlin@nuc:/nuc/esp32/esp-idf$ python2 -m pip install --user -r $IDF_PATH/requirements.txt Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from -r /nuc/esp32/esp-idf/requirements.txt (line 4)) (40.6.2) Requirement already satisfied: pyserial>=3.0 in /home/dpavlin/.local/lib/python2.7/site-packages (from -r /nuc/esp32/esp-idf/requirements.txt (line 8)) (3.4) Requirement already satisfied: future>=0.15.2 in /usr/lib/python2.7/dist-packages (from -r /nuc/esp32/esp-idf/requirements.txt (line 9)) (0.15.2) Requirement already satisfied: cryptography>=2.1.4 in /usr/lib/python2.7/dist-packages (from -r /nuc/esp32/esp-idf/requirements.txt (line 10)) (2.3) Requirement already satisfied: pyparsing>=2.0.3 in /usr/lib/python2.7/dist-packages (from -r /nuc/esp32/esp-idf/requirements.txt (line 11)) (2.2.0) |