9.1) On GNU/Linux
$ cd VinyGo/03_Software/ESP32/ $ export IDF_PATH=$PATH/esp-idf/ $ export PATH="$PATH:$HOME/Project/esp32/xtensa-esp32-elf/bin" $ make |
9.2) Flash ESP32
9.2.1) On GNU/Linux
link on binaries: https://github.com/Mras2an/VinyGo/tree/master/03_Software/ESP32/build
$ python esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 115200 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 40m --flash_size detect 0x1000 $PATH/bootloader.bin 0x10000 $PATH/VinyGo.bin 0x8000 $PATH/customPart.bin |
9.2.2) Via Wifi (only if you have already done 9.2.1)
- download python 2.7.12 : https://www.python.org/downloads/windows/
( https://www.python.org/downloads/release/python-2712/ )
- Click on update in the VinyGo update menu (lcd).
- Connect your PC at wifi “HRC” password “HRC2yBqT”
On your PC execute the commands:
GNU/Linux $ python $PATH/update_firmware.py 192.168.52.1 $PATH/VinyGo.bin Windows C:\Users\Desktop\VinyGo>py update_firmware.py 192.168.52.1 VinyGo.bin or C:\Users\Desktop\VinyGo>python update_firmware.py 192.168.52.1 VinyGo.bin connecting to 192.168.52.1... connected, socket = <socket._socketobject object at 0x02582EA0> sending 'start OTA' command to target... sending fragment 1 of 125 (4096 bytes) ... |
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.