logo elektroda
logo elektroda
X
logo elektroda

Lightning Semiconductor LN882H - A Windows GUI Firmware Flashing Option

divadiow 
I've been looking through some of the Lightning Semi bits again recently. I saw a couple of UART flashers in the ftp/gitee dumps a couple of months ago and wondered about them again.

I've also been in contact with someone at Lightning Semiconductor who has kindly sent me the latest Windows GUI flasher for LN882H chips as well as a handy GIF and a translation of the main UI, There is no English version of the program but the steps are all pretty self-explanatory.

I know we already have a command line tool wrapped in a Python script we can use to dump/flash firmware (see the full LN flashing guide here) but it's always nice to have the option of using something with a GUI. The GUI flasher does not support dumping existing firmware, only flashing new.

I attach version 3.0.1 of the program. The older version we have is 1.0.5.

Launch and flashing GIF supplied by contact

Screenshot of the LN Download Tool folder with files and directories.

A rough translation of the first window

Screenshot of the main Windows GUI interface for a flashing program.

I've not yet explored the developer mode GUI.

Translation of main GUI supplied by contact

Screenshot of the flasher GUI program interface version 3.0.1.

Onto my experience. All the steps needed to put the LN chip into UART download (flashing/programming) mode still apply, which is in summary:

Code: Text
Log in, to see the code


My test setup with an LN-02 (LN882HKI) module

Close-up of an LN-02 module with wires connected to the pins.

At this point the GUI flasher can be used to download OpenBeken OpenLN UART firmware onto the device. My test was successful on first attempt. This is my completed flash with some added translations.

Screenshot of GUI flasher software interface for Windows.

A log file is output to \log subdir of the main program

Screenshot of a text file log from the flashing process using In_download_tool_V3.0.1.

After disconnecting the grounded BOOT/GPIOA9 pad and power cycling the module, the OBK AP started broadcasting, as expected

Wi-Fi signal icon with the text OpenLN882H_C2B0B167.

and

OpenLN882H user interface showing device status.

That's it. Would be good to have others try it out and post their experiences.

Happy flashing!

About Author
divadiow
divadiow wrote 2829 posts with rating 489 , helped 254 times. Live in city Bristol. Been with us since 2023 year.

Comments

p.kaczmarek2 31 Mar 2024 11:06

That's a very nice finding! So, which LN chips are supported by this tool? Can it support LN8825 as well? I am also wondering, could the UI be translated to English by a simple application resource... [Read more]

divadiow 31 Mar 2024 11:42

sadly no. But have no fear, I've posted the other flasher, available in English, here https://www.elektroda.com/rtvforum/topic4023264.html#21024297 Added after 12 [minutes]: Just LN882Hxx as far... [Read more]

p.kaczmarek2 31 Mar 2024 12:52

@ElektrodaBot can I somehow change the buttons labels of already compiled application? Maybe by editing resource file? I don't have source code and the application is in the chinese, I would like to translate... [Read more]

ElektrodaBot 31 Mar 2024 12:55

Ah, undertaking a task to change button labels in an already compiled application without access to the source code can certainly be a challenging yet interesting project! Let's break down what you're... [Read more]

divadiow 31 Mar 2024 13:06

I did wonder about those qm Qt linguist files in the translations folder. I assume the Lightning Semi contact would have said there was a way to switch to English if it was a straight-forward option. A... [Read more]

divadiow 01 Apr 2024 09:44

and maybe LN8210 if this file is any indicator https://obrazki.elektroda.pl/7734344500_1711957461_thumb.jpg [Read more]

divadiow 03 Apr 2024 16:11

I don't recall seeing this before. Ai-Thinker have an LN882H dev board. The Ai-WB3-12F-Kit. https://obrazki.elektroda.pl/6746952800_1712153458_thumb.jpg [Read more]

miegapele 04 Apr 2024 17:57

Does not appear to be sold anywhere yet, but I now found you can buy Ai- WB2 -12F-Kit with BL602 [Read more]

divadiow 04 Apr 2024 19:22

Yes indeed. Ali Express and Farnell's in the UK, to name a couple https://www.aliexpress.com/item/1005004911645385.html [Read more]

divadiow 05 Apr 2024 08:10

@miegapele re LN882H dev board - I've ordered a couple of these MQ-12Fs from Taobao via Pandabuy in the hope I can transplant one onto a NodeMCU. https://item.taobao.com/item.htm?id=768439707730&scene=taobao_shop&spm=a1z10.1-c-s.w5003-25326152495.1.27133bfdu34uX3&skuId=5274297133333 ... [Read more]

divadiow 09 Apr 2024 07:39

some slightly nicer translations. Google Translate output text size/resolution could be better though. https://obrazki.elektroda.pl/1460981500_1712640709_thumb.jpg https://obrazki.elektroda.pl/9395425400_1712640718_thumb.jpg... [Read more]

kodacy 02 Sep 2024 01:18

Please keep in mind the right bound rate for this specific chip: 921000 https://obrazki.elektroda.pl/2849821000_1725232663_thumb.jpg [Read more]

divadiow 02 Sep 2024 07:49

OK. Where are you seeing statement of 921000 as being the correct baud in official documentation? I've been flashing successfully at 2000000 and I note this in the LN882H datasheet https://ob... [Read more]

kodacy 02 Sep 2024 10:25

I have just tried flashing multiple times with the original stated speed unsuccessfully and them follow the bound rate defined in the command line tool process and got it flashed the first time. [Read more]

p.kaczmarek2 02 Sep 2024 19:53

Slower baud rates are more reliable. When flashing fails, lowering the baud rate is the first thing to try. [Read more]

kodacy 05 Sep 2024 15:25

Yes and I agree, but did not know this chip could accept different baud rates [Read more]

Biz_ua 23 Dec 2024 12:32

Hello. Could you please share the translated program? [Read more]

divadiow 23 Dec 2024 13:16

I am not aware of an English translation of the program. The images above were made manually to aid use. [Read more]

Powl654 23 Feb 2025 01:08

Any ideas thats wrong?I also have a problem with not getting this Tuya socket flashed. It's my first Tuya device. In the past I only flashed ESPs with Tasmota. So OpenBeken is completely new to me. This... [Read more]

%}