m5stack / Core2-for-AWS-IoT-Kit

Accompanying code for use with AWS IoT Kit content. Works with PlatformIO and ESP-IDF v4.2.
https://m5stack.com/collections/m5-core/products/m5stack-core2-esp32-iot-development-kit-for-aws-iot-edukit
MIT License
127 stars 66 forks source link

AWS IoT EduKit > Blinky Hello World > Device Provisioning - esptool is missing #13

Closed i40playbook closed 3 years ago

i40playbook commented 3 years ago

After I´ve installed OpenSLL and copied openssl.cnf to ...\commen files\ssl the step "openssl req -new -x509 -key output_files/signerkey.pem -out output_files/signercert.crt -days 365" was possible and I have entered the certificate values.

But step "python secure_cert_mfg.py --flash sample_bins/secure_cert_mfg_esp32.bin --signer-cert output_files/signercert.crt --signer-cert-private-key output_files/signerkey.pem -p <>" with DEVICE_PORT = COM3 failed (see at the end "ModuleNotFoundError: No module named 'esptool"):

(edukit) C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility>python secure_cert_mfg.py --flash sample_bins/secure_cert_mfg_esp32.bin --signer-cert output_files/signercert.crt --signer-cert-private-key output_files/signerkey.pem -p COM3 Traceback (most recent call last): File "secure_cert_mfg.py", line 17, in import helper_scripts as hs File "C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility\helper_scripts__init__.py", line 2, in from .serial import load_app_stub, cmd_interpreter, esp_cmd_check_ok File "C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility\helper_scripts\serial.py", line 22, in import esptool ModuleNotFoundError: No module named 'esptool'

rashedtalukder commented 3 years ago

Have you run the export script for esp-idf after restarting? Since you're on Windows, it will be "\path\to\esp\esp-idf\export.bat"

Might be a good option to create a new shortcut that opens command prompt (or anaconda prompt), activates your edukit environment, and runs the esp-idf export script.

i40playbook commented 3 years ago

Thank you much for the feedback ! I´ve ran the export script (a second time) - and I got:

(edukit) C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility>python secure_cert_mfg.py --flash sample_bins/secure_cert_mfg_esp32.bin --signer-cert output_files/signercert.crt --signer-cert-private-key output_files/signerkey.pem -p COM3 Pyserial is not installed for C:\Users\info.conda\envs\edukit\python.exe. Check the README for installation instructions. Traceback (most recent call last): File "C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility\helper_scripts\serial.py", line 22, in import esptool ModuleNotFoundError: No module named 'esptool'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "secure_cert_mfg.py", line 17, in import helper_scripts as hs File "C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility\helper_scripts__init__.py", line 2, in from .serial import load_app_stub, cmd_interpreter, esp_cmd_check_ok File "C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility\helper_scripts\serial.py", line 28, in import esptool File "C:\Users\info\esp\esp-idf\components\esptool_py\esptool\esptool.py", line 38, in import serial ModuleNotFoundError: No module named 'serial'

i40playbook commented 3 years ago

ESP-IDF folder is: C:\Users\info\esp\esp-idf (using the default path caused an error during installation "path to long")

rashedtalukder commented 3 years ago

Do you see esptool if you enter echo %Path% ?

i40playbook commented 3 years ago

(edukit) C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility>echo %Path% C:\Users\info.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin;C:\Users\info.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin;C:\Users\info.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;C:\Users\info.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;C:\Users\info.espressif\tools\cmake\3.16.4\bin;C:\Users\info.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin;C:\Users\info.espressif\tools\ninja\1.10.0\;C:\Users\info.espressif\tools\idf-exe\1.0.1\;C:\Users\info.espressif\tools\ccache\3.7\;C:\Users\info.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64;C:\Users\info\esp\esp-idf\tools;C:\Users\info.conda\envs\edukit;C:\Users\info.conda\envs\edukit\Library\mingw-w64\bin;C:\Users\info.conda\envs\edukit\Library\usr\bin;C:\Users\info.conda\envs\edukit\Library\bin;C:\Users\info.conda\envs\edukit\Scripts;C:\Users\info.conda\envs\edukit\bin;C:\ProgramData\Miniconda3\condabin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Program Files\Amazon\AWSCLIV2;C:\Users\info\AppData\Local\Microsoft\WindowsApps;C:\Users\info\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\info\AppData\Local\GitHubDesktop\bin

rashedtalukder commented 3 years ago

It's not listed in your path. The export script didn't return any errors?

i40playbook commented 3 years ago

(edukit) C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility>%userprofile%\esp\esp-idf\ export.bat Setting IDF_PATH: C:\Users\info\esp\esp-idf

Adding ESP-IDF tools to PATH... No directories added to PATH:

C:\Users\info.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin;C:\Users\info.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin;C:\Users\info.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;C:\Users\info.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;C:\Users\info.espressif\tools\cmake\3.16.4\bin;C:\Users\info.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin;C:\Users\info.espressif\tools\ninja\1.10.0\;C:\Users\info.espressif\tools\idf-exe\1.0.1\;C:\Users\info.espressif\tools\ccache\3.7\;C:\Users\info.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64;C:\Users\info\esp\esp-idf\tools;C:\Users\info.conda\envs\edukit;C:\Users\info.conda\envs\edukit\Library\mingw-w64\bin;C:\Users\info.conda\envs\edukit\Library\usr\bin;C:\Users\info.conda\envs\edukit\Library\bin;C:\Users\info.conda\envs\edukit\Scripts;C:\Users\info.conda\envs\edukit\bin;C:\ProgramData\Miniconda3\condabin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Program Files\Amazon\AWSCLIV2;C:\Users\info\AppData\Local\Microsoft\WindowsApps;C:\Users\info\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\info\AppData\Local\GitHubDesktop\bin

Checking if Python packages are up to date... The following Python requirements are not satisfied: pyserial>=3.0 future>=0.15.2 pyparsing>=2.0.3,<2.4.0 pyelftools>=0.22 gdbgui==0.13.2.0 pygdbmi<=0.9.0.2 reedsolo>=1.5.3,<=1.5.4 bitstring>=3.1.6 esp-windows-curses; sys_platform == 'win32' Please follow the instructions found in the "Set up the tools" section of ESP-IDF Getting Started Guide Diagnostic information: IDF_PYTHON_ENV_PATH: (not set) Python interpreter used: C:\Users\info.conda\envs\edukit\python.exe Warning: python interpreter not running from IDF_PYTHON_ENV_PATH PATH: C:\Users\info.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin;C:\Users\info.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin;C:\Users\info.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;C:\Users\info.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;C:\Users\info.espressif\tools\cmake\3.16.4\bin;C:\Users\info.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin;C:\Users\info.espressif\tools\ninja\1.10.0\;C:\Users\info.espressif\tools\idf-exe\1.0.1\;C:\Users\info.espressif\tools\ccache\3.7\;C:\Users\info.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64;C:\Users\info\esp\esp-idf\tools;C:\Users\info.conda\envs\edukit;C:\Users\info.conda\envs\edukit\Library\mingw-w64\bin;C:\Users\info.conda\envs\edukit\Library\usr\bin;C:\Users\info.conda\envs\edukit\Library\bin;C:\Users\info.conda\envs\edukit\Scripts;C:\Users\info.conda\envs\edukit\bin;C:\ProgramData\Miniconda3\condabin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Program Files\Amazon\AWSCLIV2;C:\Users\info\AppData\Local\Microsoft\WindowsApps;C:\Users\info\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\info\AppData\Local\GitHubDesktop\bin

i40playbook commented 3 years ago

Looks like some thing is wrong in Python?

rashedtalukder commented 3 years ago

Looks like the dependencies weren't installed and other configurations not set. Have you run the installer batch file:

https://edukit.workshop.aws/en/blinky-hello-world/prerequisites.html#installing-esp-idf-v42 Windows (64-bit) → Step 6

i40playbook commented 3 years ago

I´ve tried to run the export.bat on C:\ ... let me check again

(edukit) C:>%userprofile%\esp\esp-idf\export.bat Setting IDF_PATH: C:\Users\info\esp\esp-idf

Adding ESP-IDF tools to PATH... C:\Users\info.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin

Checking if Python packages are up to date... The following Python requirements are not satisfied: pyserial>=3.0 future>=0.15.2 pyparsing>=2.0.3,<2.4.0 pyelftools>=0.22 gdbgui==0.13.2.0 pygdbmi<=0.9.0.2 reedsolo>=1.5.3,<=1.5.4 bitstring>=3.1.6 esp-windows-curses; sys_platform == 'win32' Please follow the instructions found in the "Set up the tools" section of ESP-IDF Getting Started Guide Diagnostic information: IDF_PYTHON_ENV_PATH: (not set) Python interpreter used: C:\Users\info.conda\envs\edukit\python.exe Warning: python interpreter not running from IDF_PYTHON_ENV_PATH PATH: C:\Users\info.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin;: C:\Users\info.espressif\tools\xtensa-esp32-elf\esp-2020r3-8.4.0\xtensa-esp32-elf\bin;C:\Users\info.espressif\tools\xtensa-esp32s2-elf\esp-2020r3-8.4.0\xtensa-esp32s2-elf\bin;C:\Users\info.espressif\tools\esp32ulp-elf\2.28.51-esp-20191205\esp32ulp-elf-binutils\bin;C:\Users\info.espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin;C:\Users\info.espressif\tools\cmake\3.16.4\bin;C:\Users\info.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\bin;C:\Users\info.espressif\tools\ninja\1.10.0\;C:\Users\info.espressif\tools\idf-exe\1.0.1\;C:\Users\info.espressif\tools\ccache\3.7\;C:\Users\info.espressif\tools\dfu-util\0.9\dfu-util-0.9-win64;C:\Users\info\esp\esp-idf\tools;C:\Users\info.conda\envs\edukit;C:\Users\info.conda\envs\edukit\Library\mingw-w64\bin;C:\Users\info.conda\envs\edukit\Library\usr\bin;C:\Users\info.conda\envs\edukit\Library\bin;C:\Users\info.conda\envs\edukit\Scripts;C:\Users\info.conda\envs\edukit\bin;C:\ProgramData\Miniconda3\condabin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Git\cmd;C:\Program Files\Amazon\AWSCLIV2;C:\Users\info\AppData\Local\Microsoft\WindowsApps;C:\Users\info\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\info\AppData\Local\GitHubDesktop\bin

(edukit) C:>

i40playbook commented 3 years ago

still the same error message - I´ll try your suggestion

(edukit) C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility>python secure_cert_mfg.py --flash sample_bins/secure_cert_mfg_esp32.bin --signer-cert output_files/signercert.crt --signer-cert-private-key output_files/signerkey.pem -p COM3 Pyserial is not installed for C:\Users\info.conda\envs\edukit\python.exe. Check the README for installation instructions. Traceback (most recent call last): File "C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility\helper_scripts\serial.py", line 22, in import esptool ModuleNotFoundError: No module named 'esptool'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "secure_cert_mfg.py", line 17, in import helper_scripts as hs File "C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility\helper_scripts__init__.py", line 2, in from .serial import load_app_stub, cmd_interpreter, esp_cmd_check_ok File "C:\IoT\Core2-for-AWS-IoT-EduKit\Blinky-Hello-World\components\esp-cryptoauthlib\esp_cryptoauth_utility\helper_scripts\serial.py", line 28, in import esptool File "C:\Users\info\esp\esp-idf\components\esptool_py\esptool\esptool.py", line 38, in import serial ModuleNotFoundError: No module named 'serial'

rashedtalukder commented 3 years ago

No, the install.bat

i40playbook commented 3 years ago

Sorry - Yes, I´ve ran it - let me try again

i40playbook commented 3 years ago

(edukit) C:\Users\info\esp\esp-idf> install.bat Installing ESP-IDF tools Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util Skipping xtensa-esp32-elf@esp-2020r3-8.4.0 (already installed) Skipping xtensa-esp32s2-elf@esp-2020r3-8.4.0 (already installed) Skipping esp32ulp-elf@2.28.51-esp-20191205 (already installed) Skipping esp32s2ulp-elf@2.28.51-esp-20191205 (already installed) Skipping cmake@3.16.4 (already installed) Skipping openocd-esp32@v0.10.0-esp32-20200709 (already installed) Skipping ninja@1.10.0 (already installed) Skipping idf-exe@1.0.1 (already installed) Skipping ccache@3.7 (already installed) Skipping dfu-util@0.9 (already installed) Setting up Python environment Creating a new Python environment in C:\Users\info.espressif\python_env\idf4.2_py3.7_env FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\info\.conda\envs\edukit\Lib\venv\scripts\nt\python.exe' Traceback (most recent call last): File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1492, in main(sys.argv[1:]) File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1488, in main action_func(args) File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1208, in action_install_python_env stdout=sys.stdout, stderr=sys.stderr) File "C:\Users\info.conda\envs\edukit\lib\subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:\Users\info\.conda\envs\edukit\python.exe', '-m', 'virtualenv', 'C:\Users\info\.espressif\python_env\idf4.2_py3.7_env']' returned non-zero exit status 1.

i40playbook commented 3 years ago

Do you mean import.bat or install.bat (see "6. Run the ESP-IDF installation script to ensure everything is set correctly: install.bat")?

rashedtalukder commented 3 years ago

Sorry, brain is sleepy. Early AM here. Meant install.bat

So to help me replicate your issue, you used the installer tool at: https://dl.espressif.com/dl/esp-idf-tools-setup-2.3.exe Or did you clone the ESP-IDF directly and tried manually installing everything?

i40playbook commented 3 years ago

No problem, I appreciate your help!

Yes, I have used the "esp-idf-tools-setup-2.3.exe" as Admin and I have chosen "release 4.2" for install. The installation failed at the very final step (see log below) with "2020-12-26 19:17:10.133 Failed to remove temporary directory: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp"

2020-12-26 19:10:44.049 Log opened. (Time zone: UTC+01:00) 2020-12-26 19:10:44.049 Setup version: Inno Setup version 6.0.2 (u) 2020-12-26 19:10:44.049 Original Setup EXE: C:\Users\info\Downloads\esp-idf-tools-setup-2.3.exe 2020-12-26 19:10:44.049 Setup command line: /SL5="$5041A,350580993,721408,C:\Users\info\Downloads\esp-idf-tools-setup-2.3.exe" 2020-12-26 19:10:44.049 Windows version: 10.0.19042 (NT platform: Yes) 2020-12-26 19:10:44.049 64-bit Windows: Yes 2020-12-26 19:10:44.049 Processor architecture: x64 2020-12-26 19:10:44.049 User privileges: None 2020-12-26 19:10:44.049 Administrative install mode: No 2020-12-26 19:10:44.049 Install mode root key: HKEY_CURRENT_USER 2020-12-26 19:10:44.049 64-bit install mode: Yes 2020-12-26 19:10:44.065 Created temporary directory: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp 2020-12-26 19:10:44.065 -- DLL function import -- 2020-12-26 19:10:44.065 Function name: idpAddFile 2020-12-26 19:10:44.065 DLL name: files:idp.dll 2020-12-26 19:10:44.065 Extracting temporary file: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.081 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.081 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpAddFileComp 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpAddMirror 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpAddFtpDir 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpAddFtpDirComp 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpClearFiles 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpFilesCount 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpFtpDirsCount 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpFileDownloaded 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpFilesDownloaded 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpDownloadFile 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpDownloadFiles 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpDownloadFilesComp 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpDownloadFilesCompUi 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpStartDownload 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpStopDownload 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpSetLogin 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpSetProxyMode 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpSetProxyName 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpSetProxyLogin 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpConnectControl 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpAddMessage 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpSetInternalOption 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpSetDetailedMode 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpSetComponents 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpReportError 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpTrace 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpAddFileSize 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpAddFileSize 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpGetFileSize 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: idpGetFilesSize 2020-12-26 19:10:44.113 DLL name: files:idp.dll 2020-12-26 19:10:44.113 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idp.dll 2020-12-26 19:10:44.113 Importing the DLL function. 2020-12-26 19:10:44.113 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.113 -- DLL function import -- 2020-12-26 19:10:44.113 Function name: proc_start 2020-12-26 19:10:44.113 DLL name: files:cmdlinerunner.dll 2020-12-26 19:10:44.113 Extracting temporary file: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\cmdlinerunner.dll 2020-12-26 19:10:44.127 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\cmdlinerunner.dll 2020-12-26 19:10:44.127 Importing the DLL function. 2020-12-26 19:10:44.127 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.127 -- DLL function import -- 2020-12-26 19:10:44.127 Function name: proc_get_exit_code 2020-12-26 19:10:44.127 DLL name: files:cmdlinerunner.dll 2020-12-26 19:10:44.127 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\cmdlinerunner.dll 2020-12-26 19:10:44.127 Importing the DLL function. 2020-12-26 19:10:44.127 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.127 -- DLL function import -- 2020-12-26 19:10:44.127 Function name: proc_get_output 2020-12-26 19:10:44.127 DLL name: files:cmdlinerunner.dll 2020-12-26 19:10:44.127 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\cmdlinerunner.dll 2020-12-26 19:10:44.127 Importing the DLL function. 2020-12-26 19:10:44.127 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.127 -- DLL function import -- 2020-12-26 19:10:44.127 Function name: proc_end 2020-12-26 19:10:44.127 DLL name: files:cmdlinerunner.dll 2020-12-26 19:10:44.127 Dest DLL name: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\cmdlinerunner.dll 2020-12-26 19:10:44.127 Importing the DLL function. 2020-12-26 19:10:44.127 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.127 -- DLL function import -- 2020-12-26 19:10:44.127 Function name: SetEnvironmentVariableW 2020-12-26 19:10:44.127 DLL name: kernel32.dll 2020-12-26 19:10:44.127 Dest DLL name: kernel32.dll 2020-12-26 19:10:44.127 Importing the DLL function. 2020-12-26 19:10:44.127 Successfully imported the DLL function. Delay loaded? No 2020-12-26 19:10:44.391 Found link in "For more infojects/esp-idf/en/latest/versions.html": "https://docs.espressif.com/projects/esp-idf/en/latest/versions.html" 2020-12-26 19:10:47.369 OnPythonPagePrepare 2020-12-26 19:10:47.369 Nothing found in -2147483647\Software\Python 2020-12-26 19:10:47.369 In -2147483646\Software\Python\ContinuumAnalytics 2020-12-26 19:10:47.369 In -2147483646\Software\Python\ContinuumAnalytics\Anaconda38-64 2020-12-26 19:10:47.369 Adding Python version=3.8 name=Anaconda py38_4.9.2 executable=C:\ProgramData\Miniconda3\python.exe 2020-12-26 19:10:47.369 In -2147483646\Software\Python\PythonCore 2020-12-26 19:10:47.369 In -2147483646\Software\Python\PythonCore\3.8 2020-12-26 19:10:47.371 No ExecutablePath, using the default 2020-12-26 19:10:47.371 Adding Python version=3.8 name=Python 3.8 executable=C:\ProgramData\Miniconda3\python.exe 2020-12-26 19:10:47.371 Nothing found in -2147483646\Software\Wow6432Node\Python 2020-12-26 19:10:48.294 OnPythonPageValidate index=0 2020-12-26 19:10:48.294 OnPythonPageValidate: PythonPath=C:\ProgramData\Miniconda3\ PythonExecutablePath=C:\ProgramData\Miniconda3\python.exe 2020-12-26 19:10:48.309 OnGitPagePrepare 2020-12-26 19:10:50.088 OnGitPageValidate index=0 2020-12-26 19:10:50.105 OnIDFPagePrepare 2020-12-26 19:10:59.477 OnIDFPageValidate index=0 2020-12-26 19:10:59.489 OnIDFDownloadPagePrepare 2020-12-26 19:11:01.094 Downloaded https://dl.espressif.com/dl/esp-idf/idf_versions.txt to C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp\idf_versions.txt 2020-12-26 19:11:01.094 Versions count: 8 2020-12-26 19:11:01.094 Version 0: v4.1 2020-12-26 19:11:01.094 Version 1: v4.0.2 2020-12-26 19:11:01.094 Version 2: v3.3.4 2020-12-26 19:11:01.094 Version 3: release/v4.2 2020-12-26 19:11:01.094 Version 4: release/v4.1 2020-12-26 19:11:01.094 Version 5: release/v4.0 2020-12-26 19:11:01.094 Version 6: release/v3.3 2020-12-26 19:11:01.094 Version 7: master 2020-12-26 19:11:03.360 OnIDFDownloadSelectionChange index=3 2020-12-26 19:12:25.751 OnIDFDownloadPageValidate index=3 2020-12-26 19:12:29.491 Checking PSMODULEPATH for Windows Defender module... 2020-12-26 19:12:29.492 CheckWinDefenderAvailable: YES (C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Defender) 2020-12-26 19:12:30.755 Summary message: Using Python 3.8: C:\ProgramData\Miniconda3\python.exe

                      Will download and install Git for Windows 2.21.0

                      Will download ESP-IDF release/v4.2 into:
                            C:\Users\info\esp\esp-idf

                      IDF tools directory (IDF_TOOLS_PATH):
                            C:\Users\info\.espressif

2020-12-26 19:12:34.755 ReleaseVerPart=release/v4.2 2020-12-26 19:12:34.755 ReleaseVerPart=v4.2 2020-12-26 19:12:34.755 GetIDFZIPFileVersion(release/v4.2)= 2020-12-26 19:12:38.213 Calling RestartManager's RmGetList. 2020-12-26 19:12:38.215 RmGetList finished successfully. 2020-12-26 19:12:38.215 RestartManager found no applications using one of our files. 2020-12-26 19:12:38.227 Starting the installation process. 2020-12-26 19:12:38.230 Directory for uninstall files: C:\Users\info.espressif 2020-12-26 19:12:38.230 Creating new uninstall log: C:\Users\info.espressif\unins000.dat 2020-12-26 19:12:38.238 -- File entry -- 2020-12-26 19:12:38.238 Dest filename: C:\Users\info.espressif\unins000.exe 2020-12-26 19:12:38.238 Non-default bitness: 32-bit 2020-12-26 19:12:38.239 Time stamp of our file: 2020-12-26 19:10:43.861 2020-12-26 19:12:38.239 Installing the file. 2020-12-26 19:12:38.239 Successfully installed the file. 2020-12-26 19:12:38.239 -- File entry -- 2020-12-26 19:12:38.239 Dest filename: C:\Users\info.espressif\idf_tools_fallback.py 2020-12-26 19:12:38.239 Time stamp of our file: 2020-02-11 09:02:54.000 2020-12-26 19:12:38.239 Installing the file. 2020-12-26 19:12:38.271 Successfully installed the file. 2020-12-26 19:12:38.271 -- File entry -- 2020-12-26 19:12:38.271 Dest filename: C:\Users\info.espressif\tools_fallback.json 2020-12-26 19:12:38.271 Time stamp of our file: 2020-02-11 09:02:42.000 2020-12-26 19:12:38.271 Installing the file. 2020-12-26 19:12:38.271 Successfully installed the file. 2020-12-26 19:12:38.271 -- File entry -- 2020-12-26 19:12:38.271 Dest filename: C:\Users\info.espressif\idf_cmd_init.bat 2020-12-26 19:12:38.271 Time stamp of our file: 2020-02-11 09:02:42.000 2020-12-26 19:12:38.271 Installing the file. 2020-12-26 19:12:38.271 Successfully installed the file. 2020-12-26 19:12:38.271 -- File entry -- 2020-12-26 19:12:38.271 Dest filename: C:\Users\info.espressif\dist\binutils-esp32s2ulp-win32-2.28.51-esp-20191205.zip 2020-12-26 19:12:38.271 Time stamp of our file: 2020-02-11 17:56:46.000 2020-12-26 19:12:38.271 Installing the file. 2020-12-26 19:12:38.820 Successfully installed the file. 2020-12-26 19:12:38.820 -- File entry -- 2020-12-26 19:12:38.820 Dest filename: C:\Users\info.espressif\dist\binutils-esp32ulp-win32-2.28.51-esp-20191205.zip 2020-12-26 19:12:38.820 Time stamp of our file: 2020-02-11 17:56:48.000 2020-12-26 19:12:38.820 Installing the file. 2020-12-26 19:12:39.381 Successfully installed the file. 2020-12-26 19:12:39.381 -- File entry -- 2020-12-26 19:12:39.381 Dest filename: C:\Users\info.espressif\dist\binutils-esp32ulp-win32-2.28.51-esp32ulp-20180809.zip 2020-12-26 19:12:39.381 Time stamp of our file: 2020-02-11 17:56:48.000 2020-12-26 19:12:39.381 Installing the file. 2020-12-26 19:12:39.851 Successfully installed the file. 2020-12-26 19:12:39.851 -- File entry -- 2020-12-26 19:12:39.851 Dest filename: C:\Users\info.espressif\dist\ccache-3.7-w64.zip 2020-12-26 19:12:39.851 Time stamp of our file: 2020-02-11 17:56:48.000 2020-12-26 19:12:39.851 Installing the file. 2020-12-26 19:12:39.851 Successfully installed the file. 2020-12-26 19:12:39.851 -- File entry -- 2020-12-26 19:12:39.851 Dest filename: C:\Users\info.espressif\dist\cmake-3.13.4-win64-x64.zip 2020-12-26 19:12:39.851 Time stamp of our file: 2020-02-11 17:56:48.000 2020-12-26 19:12:39.851 Installing the file. 2020-12-26 19:12:41.552 Successfully installed the file. 2020-12-26 19:12:41.552 -- File entry -- 2020-12-26 19:12:41.552 Dest filename: C:\Users\info.espressif\dist\idf-exe-v1.0.1.zip 2020-12-26 19:12:41.552 Time stamp of our file: 2020-02-11 17:56:48.000 2020-12-26 19:12:41.552 Installing the file. 2020-12-26 19:12:41.552 Successfully installed the file. 2020-12-26 19:12:41.552 -- File entry -- 2020-12-26 19:12:41.552 Dest filename: C:\Users\info.espressif\dist\mconf-v4.6.0.0-idf-20190628-win32.zip 2020-12-26 19:12:41.552 Time stamp of our file: 2020-02-11 17:56:48.000 2020-12-26 19:12:41.552 Installing the file. 2020-12-26 19:12:41.599 Successfully installed the file. 2020-12-26 19:12:41.599 -- File entry -- 2020-12-26 19:12:41.599 Dest filename: C:\Users\info.espressif\dist\ninja-1.9.0-win64.zip 2020-12-26 19:12:41.599 Time stamp of our file: 2020-02-11 17:56:48.000 2020-12-26 19:12:41.599 Installing the file. 2020-12-26 19:12:41.615 Successfully installed the file. 2020-12-26 19:12:41.615 -- File entry -- 2020-12-26 19:12:41.615 Dest filename: C:\Users\info.espressif\dist\openocd-esp32-win32-0.10.0-esp32-20190313.zip 2020-12-26 19:12:41.615 Time stamp of our file: 2020-02-11 17:56:48.000 2020-12-26 19:12:41.615 Installing the file. 2020-12-26 19:12:41.740 Successfully installed the file. 2020-12-26 19:12:41.740 -- File entry -- 2020-12-26 19:12:41.740 Dest filename: C:\Users\info.espressif\dist\openocd-esp32-win32-0.10.0-esp32-20191114.zip 2020-12-26 19:12:41.740 Time stamp of our file: 2020-02-11 17:56:48.000 2020-12-26 19:12:41.740 Installing the file. 2020-12-26 19:12:41.835 Successfully installed the file. 2020-12-26 19:12:41.835 -- File entry -- 2020-12-26 19:12:41.835 Dest filename: C:\Users\info.espressif\dist\placeholder 2020-12-26 19:12:41.835 Time stamp of our file: 2020-02-10 20:13:36.000 2020-12-26 19:12:41.835 Installing the file. 2020-12-26 19:12:41.835 Successfully installed the file. 2020-12-26 19:12:41.835 -- File entry -- 2020-12-26 19:12:41.835 Dest filename: C:\Users\info.espressif\dist\xtensa-esp32-elf-gcc8_2_0-esp-2019r2-win32.zip 2020-12-26 19:12:41.835 Time stamp of our file: 2020-02-11 17:56:48.000 2020-12-26 19:12:41.835 Installing the file. 2020-12-26 19:12:47.178 Successfully installed the file. 2020-12-26 19:12:47.178 -- File entry -- 2020-12-26 19:12:47.178 Dest filename: C:\Users\info.espressif\dist\xtensa-esp32-elf-win32-1.22.0-80-g6c4433a-5.2.0.zip 2020-12-26 19:12:47.193 Time stamp of our file: 2020-02-11 17:56:50.000 2020-12-26 19:12:47.193 Installing the file. 2020-12-26 19:12:53.773 Successfully installed the file. 2020-12-26 19:12:53.773 -- File entry -- 2020-12-26 19:12:53.773 Dest filename: C:\Users\info.espressif\dist\xtensa-esp32s2-elf-gcc8_2_0-esp-2019r2-win32.zip 2020-12-26 19:12:53.773 Time stamp of our file: 2020-02-11 17:56:50.000 2020-12-26 19:12:53.773 Installing the file. 2020-12-26 19:12:59.850 Successfully installed the file. 2020-12-26 19:12:59.850 -- File entry -- 2020-12-26 19:12:59.850 Dest filename: C:\Users\info.espressif\dist\tools_WD_excl.ps1 2020-12-26 19:12:59.850 Time stamp of our file: 2020-02-11 09:02:42.000 2020-12-26 19:12:59.850 Installing the file. 2020-12-26 19:12:59.850 Successfully installed the file. 2020-12-26 19:12:59.850 -- File entry -- 2020-12-26 19:12:59.850 Dest filename: C:\Users\info.espressif\dist\tools_WD_clean.ps1 2020-12-26 19:12:59.850 Time stamp of our file: 2020-02-11 09:02:42.000 2020-12-26 19:12:59.850 Installing the file. 2020-12-26 19:12:59.850 Successfully installed the file. 2020-12-26 19:12:59.850 -- Registry entry -- 2020-12-26 19:12:59.850 Key: HKEY_CURRENT_USER\Environment 2020-12-26 19:12:59.850 Value name: IDF_TOOLS_PATH 2020-12-26 19:12:59.850 Creating or opening the key. 2020-12-26 19:12:59.850 Deleting the value. 2020-12-26 19:12:59.850 Creating or setting the value. 2020-12-26 19:12:59.850 Successfully created or set the value. 2020-12-26 19:12:59.850 Saving uninstall information. 2020-12-26 19:12:59.850 Creating new uninstall key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall{9E068D99-5C4B-4E5F-96A3-B17CF291E6BD}_is1 2020-12-26 19:12:59.850 Writing uninstall key values. 2020-12-26 19:12:59.850 Detected previous administrative 64-bit install? No 2020-12-26 19:12:59.850 Detected previous administrative 32-bit install? No 2020-12-26 19:12:59.850 Installation process succeeded. 2020-12-26 19:12:59.870 -- Run entry -- 2020-12-26 19:12:59.870 Run as: Current user 2020-12-26 19:12:59.870 Type: Exec 2020-12-26 19:12:59.870 Filename: C:\Users\info.espressif\dist\Git-2.21.0-64-bit.exe 2020-12-26 19:12:59.870 Parameters: /silent /tasks="" /norestart 2020-12-26 19:13:21.888 Process exit code: 0 2020-12-26 19:13:21.905 Setting PATH for this process: C:\ProgramData\Miniconda3\;C:\Program Files\Git\cmd;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Users\info\AppData\Local\Microsoft\WindowsApps; 2020-12-26 19:13:21.905 PYTHONPATH= 2020-12-26 19:13:21.905 Not .zip release archive. Will do full clone. 2020-12-26 19:13:21.905 Cloning IDF: C:\Program Files\Git\cmd\git.exe clone --recursive --progress -b release/v4.2 https://github.com/espressif/esp-idf.git C:\Users\info\esp\esp-idf 2020-12-26 19:15:30.161 Done, exit code=0 2020-12-26 19:15:30.161 -------- 2020-12-26 19:15:30.161 Running command: C:\Program Files\Git\cmd\git.exe clone --recursive --progress -b release/v4.2 https://github.com/espressif/esp-idf.git C:\Users\info\esp\esp-idf Cloning into 'C:\Users\info\esp\esp-idf'.. remote: Enumerating objects: 758, done.
remote: Counting objects: 100% (758/758), done.
remote: Compressing objects: 100% (378/378), done.
remote: Total 205583 (delta 385), reused 518 (delta 340), pack-reused 204825
Receiving objects: 100% (205583/205583), 116.73 MiB | 25.33 MiB/s, done Resolving deltas: 100% (151853/151853), done Checking out files: 100% (6633/6633), done Submodule 'components/asio/asio' (https://github.com/espressif/asio.git) registered for path 'components/asio/asio Submodule 'components/bootloader/subproject/components/micro-ecc/micro-ecc' (https://github.com/kmackay/micro-ecc.git) registered for path 'components/bootloader/subproject/components/micro-ecc/micro-ecc Submodule 'components/bt/controller/lib' (https://github.com/espressif/esp32-bt-lib.git) registered for path 'components/bt/controller/lib Submodule 'components/bt/host/nimble/nimble' (https://github.com/espressif/esp-nimble.git) registered for path 'components/bt/host/nimble/nimble Submodule 'components/cbor/tinycbor' (https://github.com/intel/tinycbor.git) registered for path 'components/cbor/tinycbor Submodule 'components/coap/libcoap' (https://github.com/obgm/libcoap.git) registered for path 'components/coap/libcoap Submodule 'components/esp_wifi/lib' (https://github.com/espressif/esp32-wifi-lib.git) registered for path 'components/esp_wifi/lib Submodule 'components/esptool_py/esptool' (https://github.com/espressif/esptool.git) registered for path 'components/esptool_py/esptool Submodule 'components/expat/expat' (https://github.com/libexpat/libexpat.git) registered for path 'components/expat/expat Submodule 'components/json/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'components/json/cJSON Submodule 'components/libsodium/libsodium' (https://github.com/jedisct1/libsodium.git) registered for path 'components/libsodium/libsodium Submodule 'components/lwip/lwip' (https://github.com/espressif/esp-lwip.git) registered for path 'components/lwip/lwip Submodule 'components/mbedtls/mbedtls' (https://github.com/espressif/mbedtls.git) registered for path 'components/mbedtls/mbedtls Submodule 'components/mqtt/esp-mqtt' (https://github.com/espressif/esp-mqtt.git) registered for path 'components/mqtt/esp-mqtt Submodule 'components/nghttp/nghttp2' (https://github.com/nghttp2/nghttp2.git) registered for path 'components/nghttp/nghttp2 Submodule 'components/protobuf-c/protobuf-c' (https://github.com/protobuf-c/protobuf-c.git) registered for path 'components/protobuf-c/protobuf-c Submodule 'components/spiffs/spiffs' (https://github.com/pellepl/spiffs.git) registered for path 'components/spiffs/spiffs Submodule 'components/tinyusb/tinyusb' (https://github.com/espressif/tinyusb.git) registered for path 'components/tinyusb/tinyusb Submodule 'components/unity/unity' (https://github.com/ThrowTheSwitch/Unity.git) registered for path 'components/unity/unity Submodule 'examples/build_system/cmake/import_lib/main/lib/tinyxml2' (https://github.com/leethomason/tinyxml2.git) registered for path 'examples/build_system/cmake/import_lib/main/lib/tinyxml2 Submodule 'examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib' (https://github.com/espressif/esp-cryptoauthlib.git) registered for path 'examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib Cloning into 'C:/Users/info/esp/esp-idf/components/asio/asio'... remote: Enumerating objects: 48394, done.
remote: Total 48394 (delta 0), reused 0 (delta 0), pack-reused 48394
Receiving objects: 100% (48394/48394), 16.25 MiB | 3.91 MiB/s, done. Resolving deltas: 100% (33019/33019), done Cloning into 'C:/Users/info/esp/esp-idf/components/bootloader/subproject/components/micro-ecc/micro-ecc'... remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 1143 (delta 21), reused 28 (delta 9), pack-reused 1095 remote: Total 1143 (delta remote: Total 1143 (delta 21), reused 28 (delta 9), pack-reused 1095 remote: Total 1143 (delta 21), reused 28 (delta 9), pack-reused 1095 remote: Total 1143 (delta 21), reused 28 (delta 9), pack-reused 1095 remote: Total 1143 (delta 21), reused 28 (delta 9), pack-reused 1095
Receiving objects: 100% (1143/1143), 687.07 KiB | 2.13 MiB/s, done. Resolving deltas: 100% (664/664), done Cloning into 'C:/Users/info/esp/esp-idf/components/bt/controller/lib'... remote: Enumerating objects: 378, done.
remote: Counting objects: 100% (378/378), done.
remote: Compressing objects: 100% (211/211), done.
remote: Total 1258 (delta 254), reused 291 (delta 167), pack-reused 880
Receiving objects: 100% (1258/1258), 5.35 MiB | 9.11 MiB/s, done. Resolving deltas: 100% (852/852), done Cloning into 'C:/Users/info/esp/esp-idf/components/bt/host/nimble/nimble'... remote: Enumerating objects: 35, done.
remote: Counting objects: 100% (35/35), done.
remote: Compressing objects: 100% (35/35), done.
remote: Total 36431 (delta 16), reused 10 (delta 0), pack-reused 36396
Receiving objects: 100% (36431/36431), 10.42 MiB | 5.43 MiB/s, done. Resolving deltas: 100% (21863/21863), done Cloning into 'C:/Users/info/esp/esp-idf/components/cbor/tinycbor'... remote: Enumerating objects: 39, done.
remote: Counting objects: 100% (39/39), done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 2718 (delta 23), reused 23 (delta 12), pack-reused 2679
Receiving objects: 100% (2718/2718), 1.28 MiB | 3.30 MiB/s, done. Resolving deltas: 100% (1828/1828), done Cloning into 'C:/Users/info/esp/esp-idf/components/coap/libcoap'... remote: Enumerating objects: 10214, done.
Receiving objects: 58% (5925/10214), 2.22 MiB | 6Receiving objects: 58% (5925/10214), 2.22 MiB remote: Total 10214 (delta 0), reused 0 (delta 0), pack-reused 10214
Receiving objects: 100% (10214/10214), 4.16 MiB | 932.00 KiB/s, done. Resolving deltas: 100% (7246/7246), done Cloning into 'C:/Users/info/esp/esp-idf/components/esp_wifi/lib'... remote: Enumerating objects: 371, done.
remote: Counting objects: 100% (371/371), done.
remote: Compressing objects: 100% (185/185), done.
remote: Total 11053 (delta 276), reused 263 (delta 186), pack-reused 10682
Receiving objects: 100% (11053/11053), 118.72 MiB | 22.26 MiB/s, done. Resolving deltas: 100% (9045/9045), done Cloning into 'C:/Users/info/esp/esp-idf/components/esptool_py/esptool'... remote: Enumerating objects: 36, done.
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 2774 (delta 10), reused 26 (delta 2), pack-reused 2738
Receiving objects: 100% (2774/2774), 9.49 MiB | 2.87 MiB/s, done. Resolving deltas: 100% (1733/1733), done Cloning into 'C:/Users/info/esp/esp-idf/components/expat/expat'... remote: Enumerating objects: 16485, done.
remote: Total 16485 (delta 0), reused 0 (delta 0), pack-reused 16485
Receiving objects: 100% (16485/16485), 13.84 MiB | 2.54 MiB/s, done. Resolving deltas: 100% (12339/12339), done Cloning into 'C:/Users/info/esp/esp-idf/components/json/cJSON'... remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4476 (delta 2), reused 4 (delta 2), pack-reused 4470
Receiving objects: 100% (4476/4476), 2.44 MiB | 4.25 MiB/s, done. Resolving deltas: 100% (2978/2978), done Cloning into 'C:/Users/info/esp/esp-idf/components/libsodium/libsodium'... remote: Enumerating objects: 57, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (40/40), done.
Receiving objects: 58% (18656/32164), 2.30 MiB | 4.54 MiB/sReceiving objects: 58% remote: Total 32164 (delta 19), reused 43 (delta 14), pack-reused 32107
Receiving objects: 100% (32164/32164), 8.18 MiB | 9.79 MiB/s, done. Resolving deltas: 100% (19092/19092), done Cloning into 'C:/Users/info/esp/esp-idf/components/lwip/lwip'... remote: Enumerating objects: 317, done.
remote: Counting objects: 100% (317/317), done.
remote: Compressing objects: 100% (189/189), done.
remote: Total 49966 (delta 198), reused remote: Total 49966 (delta 198), reused 2remote: Total 49966 (delta 198), reused remote: Total 49966 (delta 198), reused 219 (delta 127), pack-reused 49649
Receiving objects: 100% (49966/49966), 9.99 MiB | 10.93 MiB/s, done. Resolving deltas: 100% (37716/3Resolving deltas: 100% (37716/37Resolving deltas: 100% (37716/3Resolving deltas: 100% (37716/37716), done Cloning into 'C:/Users/info/esp/esp-idf/components/mbedtls/mbedtls'... remote: Enumerating objects: 75989, done.
remote: Total 75989 (delta 0), reused 0 (delta 0), pack-reused 75989
Receiving objects: 100% (75989/75989), 34.22 MiB | 17.22 MiB/s, done. Resolving deltas: 100% (58644/58644), done Cloning into 'C:/Users/info/esp/esp-idf/components/mqtt/esp-mqtt'... remote: Enumerating objects: 101, done.
remote: Counting objects: 100% (101/101), done.
remote: Compressing objects: 100% (53/53), done.
remote: Total 2391 (delta 50), reused 92 (delta 43), pack-reused 2290
Receiving objects: 100% (2391/2391), 1.50 MiB | 3.27 MiB/s, done. Resolving deltas: 100% (1281/1281), done Cloning into 'C:/Users/info/esp/esp-idf/components/nghttp/nghttp2'... remote: Enumerating objects: 268, done.
remote: Counting objects: 100% (268/268), done.
remote: Compressing objects: 100% (138/138), done.
Receiving objects: 97% (39515/40737), 29.18 MiB | 14.47 MReceiving objects: 97% remote: Total 40737 (delta 150), reused 215 (delta 128), pack-reused 40469
Receiving objects: 100% (40737/40737), 34.03 MiB | 14.99 MiB/s, done. Resolving deltas: 100% (30302/30302), done Cloning into 'C:/Users/info/esp/esp-idf/components/protobuf-c/protobuf-c'... remote: Enumerating objects: 35, done.
remote: Counting objects: 100% (35/35), done.
remote: Compressing objects: 100% (35/35), done.
remote: Total 3452 (delta 23), reused 4 (delta 0), pack-reused 3417
Receiving objects: 100% (3452/3452), 1.39 MiB | 3.29 MiB/s, done. Resolving deltas: 100% (2197/2197), done Cloning into 'C:/Users/info/esp/esp-idf/components/spiffs/spiffs'... remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
Receiving objects: 61% (908/1488), 428.01 KiB | 403.00 KiB/sReceiving objects: 61% (908/1488), remote: Total 1488 (delta 0), reused 0 (delta 0), pack-reused 1483
Receiving objects: 100% (1488/1488), 1.02 MiB | 549.00 KiB/s, done. Resolving deltas: 100% (1035/1035), done Cloning into 'C:/Users/info/esp/esp-idf/components/tinyusb/tinyusb'... remote: Enumerating objects: 43028, done.
remote: Total 43028 (delta 0), reused 0 (delta 0), pack-reused 43028
Receiving objects: 100% (43028/43028), 24.89 MiB | 5.05 MiB/s, done. Resolving deltas: 100% (28708/28708), done Cloning into 'C:/Users/info/esp/esp-idf/components/unity/unity'... remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5707 (delta 0), reused 3 (delta 0), pack-reused 5702
Receiving objects: 100% (5707/5707), 6.51 MiB | 1.24 MiB/s, done. Resolving deltas: 100% (3538/3538), done Cloning into 'C:/Users/info/esp/esp-idf/examples/build_system/cmake/import_lib/main/lib/tinyxml2'... remote: Enumerating objects: 4096, done.
Receiving objects: 81% (3318/4096), 1.53 MiB | 3.01 MiBReceiving objects: 81% (3318/4096), remote: Total 4096 (delta 0), reused 0 (delta 0), pack-reused 4096
Receiving objects: 100% (4096/4096), 2.92 MiB | 4.31 MiB/s, done. Resolving deltas: 100% (2701/2701), done Cloning into 'C:/Users/info/esp/esp-idf/examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib'... remote: Enumerating objects: 271, done.
remote: Counting objects: 100% (271/271), done.
remote: Compressing objects: 100% (146/146), done.
Receiving objects: 43% (117/271), 108.00 KiB | 197.00 KiReceiving objects: 43% (117/271), remote: Total 271 (delta 126), reused 268 (delta 123), pack-reused 0
Receiving objects: 100% (271/271), 453.29 KiB | 287.00 KiB/s, done. Resolving deltas: 100% (126/126), done Submodule path 'components/asio/asio': checked out '3b66e5b051381fb70de9c2791df70a06181c64e3 Submodule path 'components/bootloader/subproject/components/micro-ecc/micro-ecc': checked out 'd037ec89546fad14b5c4d5456c2e23a71e554966 Submodule path 'components/bt/controller/lib': checked out '0ba611fc0d5b692a94744389ebd0833bcad210ba Submodule path 'components/bt/host/nimble/nimble': checked out '95bd8644abf4a410dd3fb914468d3a23ac9bbec2 Submodule path 'components/cbor/tinycbor': checked out 'd2dd95cb8841d88d5a801e3ef9c328fd6200e7bd Submodule path 'components/coap/libcoap': checked out '98954eb30a2e728e172a6cd29430ae5bc999b585 Submodule 'ext/tinydtls' (https://github.com/eclipse/tinydtls.git) registered for path 'components/coap/libcoap/ext/tinydtls Cloning into 'C:/Users/info/esp/esp-idf/components/coap/libcoap/ext/tinydtls'... remote: Enumerating objects: 2549, done.
remote: Counting objects: 100% (2549/2549), done.
remote: Compressing objects: 100% (749/749), done.
remote: Total 3242 (delta 1846), reused 2467 (delta 1794), pack-reused 693
Receiving objects: 100% (3242/3242), 1.09 MiB | 2.50 MiB/s, done. Resolving deltas: 100% (2262/2262), done Submodule path 'components/coap/libcoap/ext/tinydtls': checked out '7f8c86e501e690301630029fa9bae22424adf618 Submodule path 'components/esp_wifi/lib': checked out '8075af81e896da21dfdb25fed98ff5c96b899ed4 Submodule path 'components/esptool_py/esptool': checked out '4fa0bd7b0d1f69f5ff22b043adc07c5e562a8931 Submodule path 'components/expat/expat': checked out '968b8cc46dbee47b83318d5f31a8e7907199614b Submodule path 'components/json/cJSON': checked out '3c8935676a97c7c97bf006db8312875b4f292f6c Submodule path 'components/libsodium/libsodium': checked out '70170c28c844a4786e75efc626e1aeebc93caebc Submodule path 'components/lwip/lwip': checked out '889c3875bf2154356aab10b36025add28909a933 Submodule path 'components/mbedtls/mbedtls': checked out '90f46c8b17bc1219a82d4ddf81520d40c5ac5ebf Submodule path 'components/mqtt/esp-mqtt': checked out '01594bf118ae502b5a0ead040446f2be75d26223 Submodule path 'components/nghttp/nghttp2': checked out '3bcc416e13cc790e2fb45fcfe9111d38609c5032 Submodule 'third-party/mruby' (https://github.com/mruby/mruby) registered for path 'components/nghttp/nghttp2/third-party/mruby Submodule 'third-party/neverbleed' (https://github.com/h2o/neverbleed.git) registered for path 'components/nghttp/nghttp2/third-party/neverbleed Cloning into 'C:/Users/info/esp/esp-idf/components/nghttp/nghttp2/third-party/mruby'... remote: Enumerating objects: 57, done.
remote: Counting objects: 100% (57/57), done.
remote: Compressing objects: 100% (43/43), done.
remote: Total 59830 (delta 16), reused 32 (delta 9), pack-reused 59773
Receiving objects: 100% (59830/59830), 15.34 MiB | 3.47 MiB/s, done. Resolving deltas: 100% (37537/37537), done Cloning into 'C:/Users/info/esp/esp-idf/components/nghttp/nghttp2/third-party/neverbleed'... remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 291 (delta 8), reused 16 (delta 6), pack-reused 272
Receiving objects: 100% (291/291), 107.33 KiB | 752.00 KiB/s, done. Resolving deltas: 100% (174/174), done Submodule path 'components/nghttp/nghttp2/third-party/mruby': checked out '22464fe5a0a10f2b077eaba109ce1e912e4a77de Submodule path 'components/nghttp/nghttp2/third-party/neverbleed': checked out 'da5c2ab419a3bb8a4cc6c37a6c7f3e4bd4b41134 Submodule path 'components/protobuf-c/protobuf-c': checked out 'dac1a65feac4ad72f612aab99f487056fbcf5c1a Submodule path 'components/spiffs/spiffs': checked out 'f5e26c4e933189593a71c6b82cda381a7b21e41c Submodule path 'components/tinyusb/tinyusb': checked out '28f89e13473d40637574bcbfe4142633b39899fd Submodule path 'components/unity/unity': checked out '7d2bf62b7e6afaf38153041a9d53c21aeeca9a25 Submodule path 'examples/build_system/cmake/import_lib/main/lib/tinyxml2': checked out '7e8e249990ec491ec15990cf95b6d871a66cf64a Submodule path 'examples/peripherals/secure_element/atecc608_ecdsa/components/esp-cryptoauthlib': checked out 'c3d3a69021cfec3236ca2c0b63be4048ec6643a4

2020-12-26 19:15:30.161 -------- 2020-12-26 19:15:30.161 idf_tools.py exists in IDF directory 2020-12-26 19:15:30.161 idf_tools.py command: C:\ProgramData\Miniconda3\python.exe "C:\Users\info\esp\esp-idf\tools\idf_tools.py" --idf-path C:\Users\info\esp\esp-idf 2020-12-26 19:15:30.161 Installing tools:C:\ProgramData\Miniconda3\python.exe "C:\Users\info\esp\esp-idf\tools\idf_tools.py" --idf-path C:\Users\info\esp\esp-idf install 2020-12-26 19:15:30.551 Done, exit code=1 2020-12-26 19:15:30.551 -------- 2020-12-26 19:15:30.551 Running command: C:\ProgramData\Miniconda3\python.exe "C:\Users\info\esp\esp-idf\tools\idf_tools.py" --idf-path C:\Users\info\esp\esp-idf install Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util Installing xtensa-esp32-elf@esp-2020r3-8.4.0 Downloading xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip to C:\Users\info.espressif\dist\xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip.tmp WARNING: Download failure WARNING: Failed to download https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip to C:\Users\info.espressif\dist\xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip.tmp Downloading xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip to C:\Users\info.espressif\dist\xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip.tmp WARNING: Download failure WARNING: Failed to download https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip to C:\Users\info.espressif\dist\xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip.tmp Downloading xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip to C:\Users\info.espressif\dist\xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip.tmp WARNING: Download failure WARNING: Failed to download https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip to C:\Users\info.espressif\dist\xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip.tmp ERROR: Failed to download, and retry count has expired Traceback (most recent call last): File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1492, in main(sys.argv[1:]) File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1488, in main action_func(args) File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1181, in action_install tool_obj.download(tool_version) File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 598, in download raise DownloadError() main.DownloadError

2020-12-26 19:15:30.551 -------- 2020-12-26 19:15:30.551 Message box (OK): Installation has failed with exit code 1 2020-12-26 19:17:03.560 User chose OK. 2020-12-26 19:17:03.566 Message box (Yes/No): Installation log has been created, it may contain more information about the problem. Display the installation log now? 2020-12-26 19:17:09.865 User chose Yes. 2020-12-26 19:17:09.901 CurStepChanged raised an exception. 2020-12-26 19:17:10.059 Need to restart Windows? No 2020-12-26 19:17:10.093 Exception message: 2020-12-26 19:17:10.093 Message box (OK): Out Of Range. 2020-12-26 19:17:10.125 User chose OK. 2020-12-26 19:17:10.125 Deinitializing Setup. 2020-12-26 19:17:10.133 Failed to remove temporary directory: C:\Users\info\AppData\Local\Temp\is-2BLP8.tmp

rashedtalukder commented 3 years ago

Are you able to download the compiler zip file manually? https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_4_0-esp-2020r3-win64.zip

I can retrieve that file no problem on my side.

i40playbook commented 3 years ago

Yes - I have been able to download it manually (slower than it should be) - next step ;-) ?

i40playbook commented 3 years ago

If I try to copy the ZIP file to C:\Users\info.espressif\dist = error is "already there"

i40playbook commented 3 years ago

running install.bat again

(edukit) C:\Users\info\esp\esp-idf>install.bat Installing ESP-IDF tools Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util Skipping xtensa-esp32-elf@esp-2020r3-8.4.0 (already installed) Skipping xtensa-esp32s2-elf@esp-2020r3-8.4.0 (already installed) Skipping esp32ulp-elf@2.28.51-esp-20191205 (already installed) Skipping esp32s2ulp-elf@2.28.51-esp-20191205 (already installed) Skipping cmake@3.16.4 (already installed) Skipping openocd-esp32@v0.10.0-esp32-20200709 (already installed) Skipping ninja@1.10.0 (already installed) Skipping idf-exe@1.0.1 (already installed) Skipping ccache@3.7 (already installed) Skipping dfu-util@0.9 (already installed) Setting up Python environment Creating a new Python environment in C:\Users\info.espressif\python_env\idf4.2_py3.7_env FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\info\.conda\envs\edukit\Lib\venv\scripts\nt\python.exe' Traceback (most recent call last): File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1492, in main(sys.argv[1:]) File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1488, in main action_func(args) File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1208, in action_install_python_env stdout=sys.stdout, stderr=sys.stderr) File "C:\Users\info.conda\envs\edukit\lib\subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:\Users\info\.conda\envs\edukit\python.exe', '-m', 'virtualenv', 'C:\Users\info\.espressif\python_env\idf4.2_py3.7_env']' returned non-zero exit status 1.

rashedtalukder commented 3 years ago

Try deactivating your conda environment for a second by running "conda deactivate"

i40playbook commented 3 years ago

Running in base

(base) C:\Users\info\esp\esp-idf>install.bat Installing ESP-IDF tools Installing tools: xtensa-esp32-elf, xtensa-esp32s2-elf, esp32ulp-elf, esp32s2ulp-elf, cmake, openocd-esp32, ninja, idf-exe, ccache, dfu-util Skipping xtensa-esp32-elf@esp-2020r3-8.4.0 (already installed) Skipping xtensa-esp32s2-elf@esp-2020r3-8.4.0 (already installed) Skipping esp32ulp-elf@2.28.51-esp-20191205 (already installed) Skipping esp32s2ulp-elf@2.28.51-esp-20191205 (already installed) Skipping cmake@3.16.4 (already installed) Skipping openocd-esp32@v0.10.0-esp32-20200709 (already installed) Skipping ninja@1.10.0 (already installed) Skipping idf-exe@1.0.1 (already installed) Skipping ccache@3.7 (already installed) Skipping dfu-util@0.9 (already installed) Setting up Python environment Creating a new Python environment in C:\Users\info.espressif\python_env\idf4.2_py3.8_env Installing virtualenv Collecting virtualenv Using cached virtualenv-20.2.2-py2.py3-none-any.whl (5.7 MB) Requirement already satisfied: six<2,>=1.9.0 in c:\programdata\miniconda3\lib\site-packages (from virtualenv) (1.15.0) Collecting filelock<4,>=3.0.0 Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB) Collecting distlib<1,>=0.3.1 Using cached distlib-0.3.1-py2.py3-none-any.whl (335 kB) Collecting appdirs<2,>=1.4.3 Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Installing collected packages: filelock, distlib, appdirs, virtualenv WARNING: The script virtualenv.exe is installed in 'C:\Users\info\AppData\Roaming\Python\Python38\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 virtualenv-20.2.2 FileNotFoundError: [Errno 2] No such file or directory: 'C:\ProgramData\Miniconda3\Lib\venv\scripts\nt\python.exe' Traceback (most recent call last): File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1492, in main(sys.argv[1:]) File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1488, in main action_func(args) File "C:\Users\info\esp\esp-idf\tools\idf_tools.py", line 1207, in action_install_python_env subprocess.check_call([sys.executable, '-m', 'virtualenv', idf_python_env_path], File "C:\ProgramData\Miniconda3\lib\subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:\ProgramData\Miniconda3\python.exe', '-m', 'virtualenv', 'C:\Users\info\.espressif\python_env\idf4.2_py3.8_env']' returned non-zero exit status 1.

i40playbook commented 3 years ago

As I´m working on a win10-VM (VMware Workstation 16) I could go back and try from scratch or after installing Miniconda again?

rashedtalukder commented 3 years ago

I don't think we'll get a resolution from that. We tested this on Windows before launch without these issues. You're having issues related to Espressif's software (ESP-IDF) and rather than steer you towards them, I'd like to try and find a solution that will help. I'll need time to debug and test on my VM.

i40playbook commented 3 years ago

OK, great - I look forward on your solution. Even if the AWS Edukit description is already a very detailed step by step manual it seems to miss some steps if you start on an empty VM (like OpenSSL)? I´ve continued with the Jupyter notebook part and to be honested if you are not familiar with Jupyter notebooks this section is challenging as well ;-) My goal is to clarify whether we could use the AWS Edukit as standard example in our IoT training - currently I would say there is room for improvement to make it more stable and convient to ensure the training success ;-)

rashedtalukder commented 3 years ago

I agree about the Jupyter section and we will be removing it. You'll actually see significant updates coming VERY shortly to the entire thing registration section.

i40playbook commented 3 years ago

By the way: the MS VSCode and Platformio example was very smooth and easy to accomplish (and thank you very much for the tipp to erase the MCU if the WIFI credentials are wrong ;-)

rashedtalukder commented 3 years ago

That's great to hear! We are keen to see ESP-IDF v4.2 support in PlatformIO and offer that as an option in the future.

We certainly would love to have this used in your IoT training. Keep providing feedback and we'll work on resolving the issues you see.

i40playbook commented 3 years ago

OK, as I´m working with M5Stack hardware for some years now I was very curios to combine this with AWS IoT and I´ve ordered a Core2AWS right away for Christmas ... maybe I should wait a little ... instead of being the very early adopter ;-)

rashedtalukder commented 3 years ago

Hopefully the direct line of support and quick turnaround on fixes is a better than other early adoption experiences.

i40playbook commented 3 years ago

Direct line of support on a Sunday is impressive - and I look forward to this co-operation and solution to make this Edukit successfull! Making IIoT available for a broader range of engineers or even business people would be a great benefit...

rashedtalukder commented 3 years ago

I am able to replicate the issue and it looks like there's an issue with the ESP-IDF Tools installer itself. Specifically the python script below. Digging into it.

C:\Users\XX\miniconda3\python.exe "C:\Users\XX\Desktop\esp-idf\tools\idf_tools.py" --idf-path C:\Users\XX\Desktop\esp-idf install

rashedtalukder commented 3 years ago

Solution was to switch the order of ESP-IDF installation with Miniconda. The automated installer seems to get confused and doesn't end up using PyOpenSSL to be able to make https requests. Updated content to reflect the changes. Leaving the issue open until i40playbook validates.

rashedtalukder commented 3 years ago

@i40playbook let me know if you've had a chance to try out the new set of instructions.