Replies: 8 comments 10 replies
-
How about trying the inverted TasmotaClient Reset? |
Beta Was this translation helpful? Give feedback.
-
Remote flashing does only work with the Arduino uno, mini and nano. For all other variants the sketch needs to be flashed directly to the board. |
Beta Was this translation helpful? Give feedback.
-
Try to change the |
Beta Was this translation helpful? Give feedback.
-
Try the lower speed. I have modules that need even different settings for serial and flash speed. |
Beta Was this translation helpful? Give feedback.
-
@arendst Seeing switching to safeboot looks wrong. |
Beta Was this translation helpful? Give feedback.
-
A wrong upload result (caused by wrong RX/TX GPIO's) after a restart:
And SAYS that it switches to safeboot but that's just a message. It doesn't switch but reports error 301. A correct upload result after a restart (with correct Rx/Tx GPIO's):
Notice the message So I would check your GPIO config. BTW define USE_TASMOTA_CLIENT_FLASH_SPEED is obsolete. Use define USE_TASMOTA_CLIENT_SERIAL_SPEED instead. |
Beta Was this translation helpful? Give feedback.
-
I use a Pro Mini Mega328P 3V3 at 57600 bps. You'll find precompiled binaries in /tools/fw_TasmotaClient_arduino/ProARmega328P-3V3-8MHz See source file |
Beta Was this translation helpful? Give feedback.
-
Just a fun thing. I left the ESP32 in TCP serial bridge mode with the relay pin as reset. I attempted flashing through it and it was successful, see below. Sometimes this can be an alternative to the Tasmota Client flashing method. Maybe it can be also useful for others. This is from a Raspberry Pi 4, running RaspiOS/Debian 12. I attempted the same from windows, but it doesn't work, fails with sync error.
|
Beta Was this translation helpful? Give feedback.
-
I thought I'd make my life a bit easier by deploying an ESP32 with Tasmota along with the Arduino-based mote i'm developing a sensor with (a Moteino, which is technically the same as a Pro Micro with extras and extra care for low power operation) to aid in developing a new sensor that I can only test outdoors. So I connected the two, first tried the TCP-serial bridge (baud rate: 115200), working fine, all good. Then I compiled a custom firmware using the settings for Tasmota Client here. Compiled fine, Tasmota reports via debug messages that the driver is active, using UART2 (ports: GPIO 25, 26, 27 for RX, TX and RST). All good.
Now the problem: for the life of me I can't get it to flash the mote. I upload the .hex using the firmware update function as instructed by the docs, but it always fails with
Upload error 301
. Weirdly enough, it also says that it's switching to Safeboot, which is standard for flashing a normal Tasmota FW. It doesn't switch, though, maybe because the upload fails. I can tell that the Arduino reset is not really functioning, based on how the LED on the Moteino flashes when trying to upload. Maybe the client driver has a bug that doesn't reset the attached device properly? Or it needs the Tasmota client flashed on the Moteino by other means? I can reset the mote just fine if I configure GPIO 27 as an inverted relay output withPulseTime1 2
and click the standard button on the main page. BTW, normal serial flashing of the part via vsCode/PlatformIO works fine.Any insight is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions