Open utterances-bot opened 4 months ago
for those finding this blog post the steps to put in programming mode do not work as web install resets the esp which takes it out of programming
I use esptool
see here https://github.com/arendst/Tasmota/discussions/19975#discussioncomment-7780771
and with tasmota32s2.factory.bin
this is the script I use. Hold programming down until you see ....
port=$(./port)
type=$([[ $1 ]] && echo -${1})
bin=./tasmota32s2$type.factory.bin
[[ ! $port ]] && echo esp not connected no available tty port && exit
echo flashing $bin to $port
esptool.py \
--port $port \
--before no_reset \
--after hard_reset \
--baud 115200 \
--chip esp32s2 \
write_flash 0 $bin
port
for sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do
(
syspath="${sysdevpath%/dev}"
devname="$(udevadm info -q name -p $syspath)"
[[ "$devname" == "bus/"* ]] && exit
eval "$(udevadm info -q property --export -p $syspath)"
[[ -z "$ID_SERIAL" ]] && exit
[[ "$devname" == "tty"* ]] && echo "/dev/$devname"
)
done
Thanks - this is the only thing I ever found that told me how to install Tasmota on my esp s2 - specifically Step 2 which is holding in the boot button while plugging the esp into the computer usb port . Thanks !
Programming the Wemos S2 Mini with Tasmota: An Easy Guide for ESP32-S2 Devices | Dialedin
Get the most out of your Wemos S2 mini by programming it with Tasmota. This ESP32-S2 based device features native USB support and delivers powerful microcontroller capabilities in a compact form factor that's compatible with the D1 mini. With this guide, you'll learn how to program your device without the need for any special hardware, making the process simple and straightforward.
https://dialedin.com.au/blog/wemos-s2-mini-usb-programming