openshwprojects / OpenBK7231T_App

Open source firmware (Tasmota/Esphome replacement) for BK7231T, BK7231N, BL2028N, T34, XR809, W800/W801, W600/W601 and BL602
https://openbekeniot.github.io/webapp/devicesList.html
1.37k stars 230 forks source link

[Feature request] Add BL602 OTA update binary to releases #271

Closed Pieter12345 closed 1 year ago

Pieter12345 commented 1 year ago

Feature request

Justification

Reasoning behind this feature request is that I found this MCU in a smart switch with a relay soldered over the MCU probe pads. Removing the module from a wall socket, opening the module, desoldering the PCB containing the relay and then probing 5 pins is reasonably more time-consuming than an OTA update.

It might be possible that a part of this feature request has already been implemented or is already possible. In that case, I'd like to know how I can update a BL602 MCU OTA.

Thanks in advance.

openshwprojects commented 1 year ago

Thank you, we are aware of that. The used BL602 SDK doesn't seem to have ready plug-and-play OTA mechanism in code. It would take some programming effort to get BL602 OTA working. Are you able to help?

Pieter12345 commented 1 year ago

That is unfortunate. I did find quite a bit of useful information about the LB602 boot2 bootloader here, but I unfortunately am not prepared to put in the time I would need to get up-to-date with the topic and write a working implementation for this.

Related issue in Tasmota repo: https://github.com/arendst/Tasmota/issues/9914

Switch123456789 commented 1 year ago

Let me know if I can help out in any way (besides coding), I've a Magic Home RGB Controller with OpenBK7231T_App on it and wired up for flashing updates.

openshwprojects commented 1 year ago

@Switch123456789 @Pieter12345 OTA support added for BL602! See: https://www.elektroda.com/rtvforum/topic3889041.html for more info soon