flash_cmd.txt 861 B

123456789101112131415161718
  1. ====LINUX====
  2. To flash sequeezelite run the following script:
  3. ./writeSequeezeEsp.sh [PORT_HERE] [BAUD_RATE]
  4. e.g. ./writeSequeezeEsp.sh /dev/ttyUSB0 115200
  5. ====WINDOWS====
  6. To flash sequeezelite run the following script:
  7. ./writeSequeezeEsp.bat [PORT_HERE] [BAUD_RATE]
  8. e.g. ./writeSequeezeEsp.bat COM11 115200
  9. If you don't know how to run the BAT file with arguments then you can
  10. edit the bat file in Notepad. Open the file up and edit the following:
  11. Change 'set port=%1' to 'set port=[PORT_HERE]'. E.g. 'set port=COM11'
  12. Change 'set baud=%2' to 'set baud=[BAUD_RATE]'. E.g. 'set baud=115200'
  13. ====MANUAL====
  14. Python esptool.py --port [PORT_HERE] --baud [BAUD_RATE] write_flash --flash_mode dio --flash_freq 80m --flash_size detect 0x1000 bootloader/bootloader.bin 0x8000 partitions.bin 0xd000 ota_data_initial.bin 0x10000 recovery.bin 0x150000 squeezelite.bin