OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

[Feature request] Add BL602 OTA update binary to releases

Open Pieter12345 opened this issue 2 years ago • 2 comments

Feature request

  • Add support for flashing BL602 MCUs OTA if necessary. The webinterface implies that this is possible already, but I'm not aware of whether this is functional.
  • Create a OTA .img binary during the build process.
  • Add a downloadable BL602 OTA .img binary to the releases on Github.

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.

Pieter12345 avatar Oct 11 '22 03:10 Pieter12345

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?

openshwprojects avatar Oct 11 '22 05:10 openshwprojects

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

Pieter12345 avatar Oct 11 '22 14:10 Pieter12345

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.

Switch123456789 avatar Nov 23 '22 14:11 Switch123456789

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

openshwprojects avatar Jan 22 '23 14:01 openshwprojects