[OBSOLETE] SmartLife (H801) RGBW LED Strip Wifi Controller & Bulb

Can you paste your full cmd prompt please? Your command seems confusing to me. Thanks

Hi Drew,

This was my full command. I haven’t tried this site’s firmware, I’m using NodeMCU (which is a general Lua based firmware for ESP8266). I’m using esptool.py to flash from linux with an USB FTDI device. My point is the following: “-fm dout” fixed my problem, so whatever command you have, you might need to add “-fm dout” after write_flash.

I hope that helped.
Peter

I see! Thank you. I thought you were flashing Eric’s firmware image and I didn’t see it in your line. So thank you I will try again and report back

Tried it with a “-bm dout” option, but same results :frowning:

C:\Users\derou\Downloads\ESPEasy_R120>esptool.exe -vv -cd nodemcu -cb 115200 -cp COM3 -ca 0x00000 -bm dout -cf AriLux_AL-LC02.ino.generic.bin
esptool v0.4.6 - © 2014 Ch. Klippel ck@atelier-klippel.de
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from COM1 to COM3
setting address from 0x00000000 to 0x00000000
setting flash mode from qio to dout
espcomm_upload_file
stat AriLux_AL-LC02.ino.generic.bin success
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_open
Uploading 360848 bytes from AriLux_AL-LC02.ino.generic.bin to flash at 0x00000000
erasing flash
size: 058190 address: 000000
first_sector_index: 0
total_sector_count: 89
head_sector_count: 16
adjusted_sector_count: 73
adjusted_size: 049000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting serial port timeouts to 10000 ms
setting serial port timeouts to 1000 ms
espcomm_send_command: receiving 2 bytes of data
writing flash

starting app without reboot
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
closing bootloader
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete

same here. I tried the same thing @derousse tried. no such luck

C:\Users\Andrew Taylor\Desktop\ESPEasy_R120>esptool.exe -vv -cd nodemcu -cb 115200 -cp COM7 -ca 0x00000 -bm dout -cf AriLux_AL-LC02.ino.generic.bin
esptool v0.4.6 - © 2014 Ch. Klippel ck@atelier-klippel.de
setting board to nodemcu
setting baudrate from 115200 to 115200
setting port from COM1 to COM7
setting address from 0x00000000 to 0x00000000
setting flash mode from qio to dout
espcomm_upload_file
stat AriLux_AL-LC02.ino.generic.bin success
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_send_command: receiving 2 bytes of data
espcomm_open
Uploading 357776 bytes from AriLux_AL-LC02.ino.generic.bin to flash at 0x00000000
erasing flash
size: 057590 address: 000000
first_sector_index: 0
total_sector_count: 88
head_sector_count: 16
adjusted_sector_count: 72
adjusted_size: 048000
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
setting serial port timeouts to 10000 ms
setting serial port timeouts to 1000 ms
espcomm_send_command: receiving 2 bytes of data
writing flash

starting app without reboot
espcomm_send_command: sending command header
espcomm_send_command: sending command payload
espcomm_send_command: receiving 2 bytes of data
closing bootloader
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete

Mine was getting csum err after flashing. I checked around google for a while and found a link mentioning using DOUT flash mode to resolve the issue (https://github.com/esp8266/Arduino/issues/1700). I used the esp flash down load tool from Expressif to write the LC-02 bin with these settings…

One more thing…I did erase the flash first using method in this link…http://www.pratikpanda.com/completely-format-erase-esp8266-flash-memory/

@jturner318, Thanks!!! worked like a charm… been waiting for a fix and this is it. Flashed perfectly and got Wifi.
Thanks Again!

So from the looks of things the difference was caused by two issues:

  1. They changed the flash chip inside the Arilux to a super cheap version which only supports DOUT (that is the slowest and least reliable of flashing methods from what I can tell).
  2. The ESPTool that has been used by everybody in this thread clearly doesnt support DOUT very well… I know there are lots of alternative tools, and perhaps these different tools have had updates to allow them to work more reliably with DOUT.

Hopefully if a few other people confirm this then we’re sorted!

1 Like

@GoldRiverKid, did you use @erocm1231 method or the download tool @jturner318 mentioned? Would you be able to tell me which step you went through?

I used @jturner318 method, it’s very easy all you need to do is download ESP82666 Download tool and set your setting just like he has below his post and your good to go. You still use the same bin file. It takes about 5 seconds to flash…

Just a Little more info, when you download the tool and open it, it automatically opens the command prompt everything you do will be within the tool, just set it up just like the picture…

This ended up working for me too. First I tried without erasing the flash and I didn’t get a broadcast. Then I tried again after erasing the flash. At first I didn’t see anything so I thought it was another failure, but then after stepping away for a few minutes, I checked once again and there it was. I connected, configured the wifi manually, power cycled it, and boom, there it was on my network.

And now for the woe is me part. I packed it all back in the original plastic box, brought it to my LED installation, plugged it in, installed the device handlers and smartapps, and did a scan… Nothing… Checked my network and it wasn’t there anymore… Felt the box and it was hot… Opened it up and realized that the non-insulated leads I soldered on the ground pins may have folded over and touched another part of the board. Argh!!! I guess I fried it. A few choice curse words were then uttered. Tried flashing it again but it won’t even sync. SO CLOSE!!!

Another order has been placed with Banggood.

Not having much luck with the newer ones. I setup the tools just as @jturner318 showed, but I keep getting a baudrate sync failed. I tried all of the baudrates and they all fail.

Connecting…


pic path: ./RESOURCE/SYNC_S.bmp


raise in device connect
chip sync error.
baudrate sync fail … retry…
Connecting…
set STOP FLG: True

Check your cabling, doesn’t look like the computer even knows your esp is connected…

@twodaend and make sure your controller is in program mode. it will not connect and fail if your not in program mode…

Just to be sure, program mode is when all the jumpers are connected, plug in the FTDI USB and the plug in power to the controller?

im getting this error message after download any ideas?

@Drew650 when your adding the bin file just put the bin file not the folders…

I hope i make sense you don’t need the esp folder just take the controller LC02 Bin File and add it into the download tool and then you should be good to go…

I believe the folders are just showing where it’s located. I only added the .bin file after opening the directory. I will try again when I have the chance though. Thanks