logo elektroda
logo elektroda
X
logo elektroda

Flashing OpenBeken Firmware on WL2S Module with Lightning LN882HK Chip for ELIVCO LSPA9

sithyoda 45792 181
Best answers

How can I flash OpenBeken on the WL2S module with the LN882HK chip used in the ELIVCO LSPA9?

Yes — the LN882H/LN882HK platform was eventually ported to OpenBeken, and the thread shows a working build with relay control, OTA, and later BL0937 power metering support [#20904300] [#20905873] [#20968262] To flash it, put the chip into download/burn mode by pulling GPIOA9 low, connect TX0/RX0/GND/3.3V, and use the LN882H command-line tool to write `flashimage.bin`; several users found that lowering the baud rate to 115200 fixed `Fail. Error downloading file` problems [#20891275] [#20908318] [#20908420] If UART download is troublesome, SWD/J-Link also works for erase/flash and for restoring or dumping stock firmware [#20826012] [#20905937] The build flow was to place the OpenBeken app inside the LN882H SDK tree, then build `flashimage.bin` for UART flashing and `flashimage-ota-xz-v0.1.bin` for OTA [#20917594] [#20917867] The team also noted that an all-flash erase can act like a factory reset, and that future updates included BLE/power-save tweaks to reduce power draw and heat [#20914959] [#20937215]
Generated by the language model.
ADVERTISEMENT
  • #181 21212524
    kodacy
    Level 5  
    Posts: 6
    >>20919569 Mine is at 56-58 ºC range with power saving at start up. Also not sure if reasonable or not for this device.

    Added after 3 [hours] 59 [minutes]: .

    >>20923666 How can I get a complied OTA version of NO_BLE_MAX_POWERSAVE based on 1.17.670 for Chipset LN882H? I really wanted to try it of.
  • ADVERTISEMENT
  • #182 21711528
    willmarromero
    Level 1  
    Posts: 1
    >>20841102 Hi, thanks for your info. Which version of the Keil SDK did you use?

    Added after 22 [minutes]:

    >>20904300 amazing i want to do same

Topic summary

✨ The discussion revolves around flashing OpenBeken firmware on the ELIVCO LSPA9 module, which utilizes the WL2S microcontroller and the LIGHTNING LN882HK chip. Users share their experiences with UART and JTAG flashing methods, debugging issues, and the challenges of obtaining and compiling the necessary firmware. Several users successfully managed to flash the firmware, enabling functionalities such as WiFi connectivity and relay control. The conversation also touches on power consumption, temperature management, and the implementation of power-saving features. Additionally, users discuss the integration of the BL0937 power metering chip and the development of a comprehensive template for the device.
Generated by the language model.
ADVERTISEMENT