Closed hcouplet closed 1 year ago
Please try to solely flash the app alone using the Python2 version of rtltool:
python2 ./rtltool2.py -p /dev/ttyUSB0 wf 0xb000 ./.esphome/build/solis-inv/.pioenvs/solis-inv/image_0x00B000.ota1.bin
Thanks for your response. It helped a lot. Now I can flash it and it's working.
Here are my findings.
/Users/hcouplet/.pyenv/versions/2.7.18/bin/python2 /Users/hcouplet/prg/projects/other/homeassistant/solis-stick/rtltool.py \
-p /dev/tty.usbserial-0001 wf 0xb000 \
/Users/hcouplet/prg/projects/other/homeassistant/solis-stick/libretiny-esphome/.esphome/build/solis2-stick/.pioenvs/solis2-stick/image_ota1.0x00B000.bin
/Users/hcouplet/.pyenv/versions/2.7.18/bin/python2 /Users/hcouplet/prg/projects/other/homeassistant/solis-stick/rtltool.py \
-p /dev/tty.usbserial-0001 wf 0x100000 \
/Users/hcouplet/prg/projects/other/homeassistant/solis-stick/libretiny-esphome/.esphome/build/solis2-stick/.pioenvs/solis2-stick/image_ota2.0x100000.bin
I ended up disabling OTA Password and OTA is working fine (I needed this before putting back the S3 card into the case to be able to update remotely the firmware). I updated ota_component.cpp to bypass the wrong ota password commenting line at 239 : After that flashing is working fine but the response is not valid (bypass error message). it's some kind of digest auth with nonce and cnonce, may be the version in that tree has something wrong.
For this I used the add repository button on https://github.com/libretiny-eu/esphome-hass-addon So now I am using the libretiny version only for my solis S3. OTA (without password) is working fine.
Hi, thanks for the ping.
@kuba2k2
I use this rtltool version for python2, created by @pvvx, It always worked so far.
If I remember correctly, I re-installed both LibreTiny and ESPhome when you released LT 1.0.2 (May 11). Unlike @hcouplet, I don't have any (OTA-)problems with these versions, so everything is fine (except the strange ModBus sync problem, but that's a different story).
I have an error when uploading the firmware. It start flashing, then after some time, I am getting an error : ValueError: Failed to write to 0x800B000
Here is the log :
My chip looks the same as yours :