logo elektroda
logo elektroda
X

Flashing OpenBeken on BK7238 Module (WB43-M5 V1.1) with Surplife App

Jinaria 2976 47
ADVERTISEMENT
  • #31 21440706
    taggbricka
    Level 7  
    >>> Looks like a random crash? What does the reboot reason say?

    It crashes in the same manner every time. Never connects to wifi.
    I have to power cycle to get something on debug for a few seconds.
  • ADVERTISEMENT
  • #32 21633322
    diepeterpan
    Level 8  
    >>21376434

    I bought two of these exact bulbs with a BK7238 Module (WB43-M5 V1.1) with Surplife App and were able to flash it using the following pin layout, see image below.

    Sorry for the small font indicating RX, TX, 3V3 and GND.

    WB43-M5 V1.1 module with labeled RX, TX, 3V3, and GND pins on a white PCB

    Pin layout for RGB driver; was working and then stopped, maybe I have the wrong pins?

    "pins": {
    "24": "BP5758D_CLK;0",
    "26": "BP5758D_DAT;0"
    },
  • ADVERTISEMENT
  • #33 21633362
    p.kaczmarek2
    Moderator Smart Home
    Hey, that's a nice finding! Do you have original firmware dump?

    Also, can you elaborate, what do you mean by "stopped working"? You mean it stopped after OTA or when? Was it working fully correctly, or did you just get random colors once? Because you know, if you have chosen wrong I2C LED driver, you might have gotten a random color once or twice, without it working fully.
    Helpful post? Buy me a coffee.
  • #34 21633369
    diepeterpan
    Level 8  
    >>21633362

    The light stopped turning on and off, can't change the color, like the pins are wrong. It was working correctly, could change the color and brightness and then no response after a while, I rebooted but light would not come on, I am concerned that wrong pins could have broken the BP5758 chip. I reset to factory settings in OpenBeken, reconfigured WiFi, then select the BP5758 driver CLK and DAT, reboot, but no light comes on. Am a bit confused.

    I do have a backup of the original firmware.
  • #35 21633375
    p.kaczmarek2
    Moderator Smart Home
    Well, since you're saying you reconfigured it from 0, it seems there are not much options... or are there? Can you power it off fully, wait, and power it on again?

    Was it super bright before it broke?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #36 21633379
    diepeterpan
    Level 8  
    >>21633375

    Yes it was bright, I was so convinced I have the config correct. I have tried power off and on. I will try more configurations. As long as the BP5758 is fine. Thanks for trying to help.
  • #37 21633387
    divadiow
    Level 36  
    I hope your BP5758 isn't burnt out.

    If you have the same device as original post then what looks like power levels in the factory boot log can be seen

    Code: Text
    Log in, to see the code


    To mimic this would need to have been set with command

    Code: Text
    Log in, to see the code

    BP5758D_Current [MaxCurrentRGB][MaxCurrentCW]
  • #38 21633392
    diepeterpan
    Level 8  
    >>21633387

    Damn, that might just be it. What a pity if I fried the BP5758 :-( I tried the command, but sadly it's still dead Jim :-(
  • #39 21633397
    divadiow
    Level 36  
    :(

    could flash your backup back to be 100% sure I guess

    Added after 15 [minutes]:

    was it bought from Ali Express? Could I trouble you for the exact product link if yes?

    thanks
  • #41 21633415
    p.kaczmarek2
    Moderator Smart Home
    Maybe a cold joint? Soldering issue?

    It seems we need to lower the default current, @divadiow
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #42 21633417
    divadiow
    Level 36  
    p.kaczmarek2 wrote:
    It seems we need to lower the default current, @divadiow


    yes. and/or if @max4elektroda channels/maps/current stuff ever got realised in config page in GUI then the starting current settings could be low. but lower defaults now would be quicker to do I assume

    ref: https://www.elektroda.com/rtvforum/topic4132298.html
  • #43 21633568
    max4elektroda
    Level 21  
    @divadiow though I made some suggestions to alter pins, roles and channels page, current (in this context ;-)) is new to me.
  • #44 21633576
    divadiow
    Level 36  
    Letting my imagination run away with me! In my head I'd extended the idea to include settings fields for various drivers if chosen from the drop-down ;)
  • #45 21633598
    max4elektroda
    Level 21  
    Feel free to draft the idea and I'll try to see, if/how this might be realized ...

    EDIT:
    I think this would need a "driver based" configuration page, like

    Add new "driver/role...", e.g. from a "select"
    BP5758D
    --> select Pins for CLK and Data
    --> select other settings like MaxCurrentRGB, MaxCurrentCW, ...

    I tried once to let copilot create such a page, but gave up after the 10th or so iteration, far from a usable result.
    Would probably needed to be coded by hand (or using better prompts ;-))
  • #46 21633920
    diepeterpan
    Level 8  
    Weird news, I was able to flash back the backup firmware. I then paired it with the app on iOS, but the bulb did not want to turn on or anything, and I presumed it was fried.

    Then the app said there is a firmware upgrade for the bulb. I upgraded it, and the bulb then started to work, so nothing is fried.

    Now I don't know whether I want to try OpenBeken again; I might not be lucky a second time around.

    BTW, in HomeAssistant you can use the "Magic Home" plugin to use these lights with the original firmware - https://www.home-assistant.io/integrations/flux_led/

    Some more pictures of my bulb below, just a FYI.

    Close-up of smart bulb's internal PCB with colorful LEDs and microchips
    Close-up of a white PCB with Beken BK7231N chip and electronic components
    Close-up of an LED bulb circuit board with RGB LEDs and electronic components
    Close-up of WB3S Wi-Fi module and RGBWW LEDs on a smart bulb circuit board

    When I have time again to waste, I will try Flash again with OpenBeken.

Topic summary

Discussion revolves around flashing OpenBeken firmware onto light bulbs equipped with the BK7238 module (PCB Marking WB43-M5 V1.1). Users share experiences and methods for successfully dumping and flashing firmware, including the use of tools like Easy Flasher and BKFIL. Several users report issues with boot loops and connectivity after flashing, while others provide insights into the flashing process, including the importance of using the correct firmware size and addressing. The conversation highlights the ongoing development of the BK7238 firmware and the need for careful handling during the flashing process to avoid bricking the devices.
Summary generated by the language model.
ADVERTISEMENT