"failed to init the STM32 for uploading the firmware"

  • Hi,

    I bought some Shelly hardware to replace a bunch of LightwaveRF switches that had become unreliable. They were mostly of the 1L variety as I don't have a neutral in all my backboxes ,but I also got a Dimmer 2 module for our main bathroom, as we do occasionally like to dim the lights in there.

    Having done a bit of reading, it seemed that a lot of people stick the Tasmota firmware on them, so I used the OTA method on the 1L's and they seem to work fine. However, despite working well on the Shelly firmware, I couldn't get the Tasmota firmware to work properly on the Dimmer 2. So, in the end, I admitted defeat and tried to go back to the original firmware. As appears to be the case for most people. I ended up with a directory listing, instead of the control panel when putting the old firmware back on. Which appears to be because I overwrote the firmware on the STM32 as well.

    I found these threads, which appear to relate to the issue I'm having:

    Yellow#Cloud#14906
    28. September 2020 um 00:27

    https://github.com/yaourdt/tasmota-to-mgos/issues/7

    However, while some people appear to been able to restore the firmware (I have the sneaking suspicion that some of them never altered the STM32 firmware), I've been unable to get my Dimmer 2 working again.

    I followed one post, which recommended that I put a minimal firmware on the unit, then try and flash the original STM32 firmware back on. But when I tried this, I got:

    failed to init the STM32 for uploading the firmware

    Should I just assume my Dimmer 2 is now E-waste, and that I should simply give up and order a new one?