diy:electronics:mym5stack:index


shvTech M5Stack

shvTech M5Stack Photos


shvTech M5Stack installing

https://www.silabs.com/

https://www.silabs.com/documents/public/data-sheets/cp2104.pdfadmin 2018/05/31 08:45

http://www.m5stack.com/assets/docs/index.html#installing-the-usb-driver

CP210x USB to UART Bridge VCP Drivers

Installation instructions for Mac OS

/Users/shvtech > mkdir -p ~/Documents/Arduino/hardware/espressif && \
> cd ~/Documents/Arduino/hardware/espressif && \
> git clone https://github.com/espressif/arduino-esp32.git esp32 && \
> cd esp32 && \
> git submodule update --init --recursive && \
> cd tools && \
> python get.py

Cloning into 'esp32'...
remote: Counting objects: 7887, done.
remote: Total 7887 (delta 0), reused 0 (delta 0), pack-reused 7886
Receiving objects: 100% (7887/7887), 114.45 MiB | 2.97 MiB/s, done.
Resolving deltas: 100% (4593/4593), done.
Submodule 'libraries/BLE' (https://github.com/nkolban/ESP32_BLE_Arduino.git) registered for path 'libraries/BLE'
Cloning into '/Users/shvtech/Documents/Arduino/hardware/espressif/esp32/libraries/BLE'...
Submodule path 'libraries/BLE': checked out 'af865a916795289c8e7e09b091ff2140c33fc3fe'
System: Darwin, Info: Darwin-17.5.0-x86_64-i386-64bit
Platform: x86_64-apple-darwin
Downloading xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
Done
Extracting xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
Downloading esptool-da31d9d-macos.tar.gz
Done
Extracting esptool-da31d9d-macos.tar.gz
Downloading mkspiffs-0.2.2-arduino-esp32-osx.tar.gz
Traceback (most recent call last):
  File "get.py", line 148, in <module>
    get_tool(tool)
  File "get.py", line 103, in get_tool
    urlretrieve(url, local_path, report_progress)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 94, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 240, in retrieve
    fp = self.open(url, data)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 208, in open
    return getattr(self, name)(url)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib.py", line 437, in open_https
    h.endheaders(data)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 969, in endheaders
    self._send_output(message_body)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 829, in _send_output
    self.send(msg)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 791, in send
    self.connect()
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/httplib.py", line 1176, in connect
    self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 387, in wrap_socket
    ciphers=ciphers)
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 143, in __init__
    self.do_handshake()
  File "/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 305, in do_handshake
    self._sslobj.do_handshake()
IOError: [Errno socket error] [Errno 1] _ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
/Users/shvtech/Documents/Arduino/hardware/espressif/esp32/tools > 

-rwxr-xr-x  1 shvtech  staff     4779  5 31 10:00 build.py
-rwxr-xr-x  1 shvtech  staff     2456  5 31 10:00 common.sh
drwxr-xr-x  4 shvtech  staff      128  5 31 10:02 dist
-rw-r--r--  1 shvtech  staff  4030309  5 31 10:00 espota.exe
-rwxr-xr-x  1 shvtech  staff     8990  5 31 10:00 espota.py
-rwxr-xr-x  1 shvtech  staff  3871204  4  7 03:07 esptool
-rwxr-xr-x  1 shvtech  staff   117534  5 31 10:00 esptool.py
-rw-r--r--  1 shvtech  staff  3338182  5 31 10:00 gen_esp32part.exe
-rwxr-xr-x  1 shvtech  staff    14912  5 31 10:00 gen_esp32part.py
-rw-r--r--  1 shvtech  staff  5212060  5 31 10:00 get.exe
-rwxr-xr-x  1 shvtech  staff     5049  5 31 10:00 get.py
drwxr-xr-x  8 shvtech  staff      256  5 31 10:02 partitions
-rw-r--r--  1 shvtech  staff     7151  5 31 10:00 platformio-build.py
drwxr-xr-x  7 shvtech  staff      224  5 31 10:02 sdk
drwxr-xr-x  8 shvtech  staff      256  5 31 10:02 xtensa-esp32-elf

/Users/shvtech/Documents/Arduino/hardware/espressif/esp32/tools > git --version
git version 2.15.1 (Apple Git-101)

Still Error

/Users/shvtech > git --version
git version 2.17.0
/Users/shvtech > 
...
IOError: [Errno socket error] [Errno 1] _ssl.c:504: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Python 3.6.5
  system
  2.7.14
* 3.6.5 (set by /Users/shvtech/.python-version)
/Users/shvtech > 
---
/Users/shvtech/Documents/Arduino/hardware/espressif > mkdir -p ~/Documents/Arduino/hardware/espressif && cd ~/Documents/Arduino/hardware/espressif && git clone https://github.com/espressif/arduino-esp32.git esp32 && cd esp32 && git submodule update --init --recursive && cd tools && python get.py

Cloning into 'esp32'...
remote: Counting objects: 7887, done.
remote: Total 7887 (delta 0), reused 0 (delta 0), pack-reused 7886
Receiving objects: 100% (7887/7887), 114.45 MiB | 3.34 MiB/s, done.
Resolving deltas: 100% (4593/4593), done.
Checking out files: 100% (1320/1320), done.
Submodule 'libraries/BLE' (https://github.com/nkolban/ESP32_BLE_Arduino.git) registered for path 'libraries/BLE'
Cloning into '/Users/shvtech/Documents/Arduino/hardware/espressif/esp32/libraries/BLE'...
Submodule path 'libraries/BLE': checked out 'af865a916795289c8e7e09b091ff2140c33fc3fe'
System: Darwin, Info: Darwin-17.5.0-x86_64-i386-64bit
Platform: x86_64-apple-darwin
Downloading xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
Done
Extracting xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
Downloading esptool-da31d9d-macos.tar.gz
Done
Extracting esptool-da31d9d-macos.tar.gz
Downloading mkspiffs-0.2.2-arduino-esp32-osx.tar.gz
Done
Extracting mkspiffs-0.2.2-arduino-esp32-osx.tar.gz
Renaming mkspiffs-0.2.2-arduino-esp32-osx to mkspiffs
Done

/Users/shvtech/Documents/Arduino/hardware/espressif/esp32/tools > ls -l
total 32488
-rwxr-xr-x  1 shv  staff     4779  5 31 14:45 build.py
-rwxr-xr-x  1 shv  staff     2456  5 31 14:45 common.sh
drwxr-xr-x  5 shv  staff      160  5 31 14:46 dist
-rw-r--r--  1 shv  staff  4030309  5 31 14:45 espota.exe
-rwxr-xr-x  1 shv  staff     8990  5 31 14:45 espota.py
-rwxr-xr-x  1 shv  staff  3871204  4  7 03:07 esptool
-rwxr-xr-x  1 shv  staff   117534  5 31 14:45 esptool.py
-rw-r--r--  1 shv  staff  3338182  5 31 14:45 gen_esp32part.exe
-rwxr-xr-x  1 shv  staff    14912  5 31 14:45 gen_esp32part.py
-rw-r--r--  1 shv  staff  5212060  5 31 14:45 get.exe
-rwxr-xr-x  1 shv  staff     5049  5 31 14:45 get.py
drwxr-xr-x  3 shv  staff       96  5 31 14:47 mkspiffs
drwxr-xr-x  8 shv  staff      256  5 31 14:46 partitions
-rw-r--r--  1 shv  staff     7151  5 31 14:45 platformio-build.py
drwxr-xr-x  7 shv  staff      224  5 31 14:46 sdk
drwxr-xr-x  8 shv  staff      256  5 31 14:46 xtensa-esp32-elf
/Users/shvtech/Documents/Arduino/hardware/espressif/esp32/tools > 



  • diy/electronics/mym5stack/index.txt
  • Last modified: 2018/08/01 17:31
  • (external edit)