RavenSystem / esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)
Other
2.75k stars 361 forks source link

Impossible to install HAA in AWP07L #778

Closed seritos closed 4 years ago

seritos commented 4 years ago

Hi All

I have a Houzetek AWP07L that is really driven myself crazy. I have been trying to flash it with HAA since December. It has just become a personal challenge.

I have flashed dozens of devices and have experienced issues, but never like this one.

So the problem is that I can not make it work with HAA/Ravencore. However, it just works perfectly with tasmota. The device has the cables soldered.

So I tried:

Flash it with an slower speed: I have only eventually reached the LCM broadcast and set up the wifi and the OTA url, but when the next steps comes, the device just bricks. When the LCM doesn't came right after flashing, I can see either the led constantly blinking, or just blink once, and then turns almost off but with a very very tiny beam of light on. In both cases nothing happens and the device is also bricked...

Flash it with the file unified with the command: dd if=blank_config.bin of=newblank_config.bin bs=4k count=1 .... just the same as mentioned above but with dd instead of truncate. ... bricked result: when flashed with the command: esptool.py --port /dev/tty.usbserial-00000000 write_flash --flash_size 1MB --flash_mode dout 0x00000 xxxxx.bin

Flash it directly from tasmota update webserver: same results... nothing.

Flash with the file thirdparty.bin uploaded above: Same results.

I have not ever tried the tuya system itself, as I don't have the required HW, but I believe that with the cables should be enough...

I sometimes think that is an issue with the flashing speed, others with a memory address... I am really lost. Any clues...? It has really become a personal fight!!

Thanx!

Bellow the log. IMPORTANT to mention that the behaviour of the device changes if I plug it directly to the mains or I power supply it with the programmer.

v1.4.0 - richardaburton@gmail.com Flash Size: 8 Mbit Flash Mode: DOUT Flash Speed: 40 MHz rBoot Option: Big flash rBoot Option: RTC data

Booting rom 0. WA˛l|€ƒÒlê‰...€nÚ√nƒ.ƒ<Ún‰.Ñ#‚nÏ√fl±.‹8.n˚í‹.Ï<‚rfl¿.‹ƒ.ú;rü...rå.bl.r..Fatal exception (29): epc1=0x4024fe7e epc2=0x40100070 epc3=0x00000000 excvaddr=0x00000000 depc=0x40100456 excsave1=0x4024ff7e

Stack: SP=0x3ffff9d0

Free Heap: 61480 _heap_start 0x3fff2600 brk 0x3fff2600 supervisor sp 0x3ffff950 sp-brk 54096 bytes arena (total_size) 0 fordblks (free_size) 7384 uordblocks (used_size) -7384

ets Jan 8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 2292, room 16 tail 4 chksum 0x57 load 0x3ffe8000, len 772, room 4 tail 0 chksum 0x0b csum 0x0b

rBoot v1.4.0 - richardaburton@gmail.com Flash Size: 8 Mbit Flash Mode: DOUT Flash Speed: 40 MHz rBoot Option: Big flash rBoot Option: RTC data

Booting rom 0. WA˛l|õƒÒlê‰...õnÚÉnÑ.Ñ<Ún‰.Ñ#‚nÏ√fl±.‹8.n˚í‹.Ï<‚rfl¿.‹ƒ.‹;rfl...rå.bl.r..Fatal exception (29): epc1=0x4024ff1f epc2=0x40100070 epc3=0x00000000 excvaddr=0x00000000 depc=0x40100456 excsave1=0x00000000

Stack: SP=0x3ffff9d0

Free Heap: 61480 _heap_start 0x3fff2600 brk 0x3fff2600 supervisor sp 0x3ffff950 sp-brk 54096 bytes arena (total_size) 0 fordblks (free_size) 7384 uordblocks (used_size) -7384

ets Jan 8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 2292, room 16 tail 4 chksum 0x57 load 0x3ffe8000, len 772, room 4 tail 0 chksum 0x0b csum 0x0b

rBoot v1.4.0 - richardaburton@gmail.com Flash Size: 8 Mbit Flash Mode: DOUT Flash Speed: 40 MHz rBoot Option: Big flash rBoot Option: RTC data

Booting rom 0. WA˛l|€ƒÒlê‰...€nÚ√nƒ.ƒ<Ún‰.ƒ#‚nÏ√fl1.‹8.n˚í‹.Ï<‚rfl¿.‹ƒ.‹;rfl...rå.bl.r..Fatal exception (29): epc1=0x4024fe7e epc2=0x40100070 epc3=0x00000000 excvaddr=0x00000000 depc=0x40100456 excsave1=0x4024ff7e

Stack: SP=0x3ffff9d0

Free Heap: 61480 _heap_start 0x3fff2600 brk 0x3fff2600 supervisor sp 0x3ffff950 sp-brk 54096 bytes arena (total_size) 0 fordblks (free_size) 7384 uordblocks (used_size) -7384

ets Jan 8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 2292, room 16 tail 4 chksum 0x57 load 0x3ffe8000, len 772, room 4 tail 0 chksum 0x0b csum 0x0b

rBoot v1.4.0 - richardaburton@gmail.com Flash Size: 8 Mbit Flash Mode: DOUT Flash Speed: 40 MHz rBoot Option: Big flash rBoot Option: RTC data

Booting rom 0. WA˛l|€ƒÒlê‰...õnÚ√nƒ.ƒ<Ún‰.ƒ#‚nÏ√fl1.‹8.n˚í‹.Ï<‚rfl¿.‹ƒ.‹;rfl...rå.bl.r..Fatal exception (29): epc1=0x4024ff1f epc2=0x40100070 epc3=0x00000000 excvaddr=0x00000000 depc=0x40100456 excsave1=0x00000000

Stack: SP=0x3ffff9d0

Free Heap: 61480 _heap_start 0x3fff2600 brk 0x3fff2600 supervisor sp 0x3ffff950 sp-brk 54096 bytes arena (total_size) 0 fordblks (free_size) 7384 uordblocks (used_size) -7384

ets Jan 8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 2292, room 16 tail 4 chksum 0x57 load 0x3ffe8000, len 772, room 4 tail 0 chksum 0x0b csum 0x0b

rBoot v1.4.0 - richardaburton@gmail.com Flash Size: 8 Mbit Flash Mode: DOUT Flash Speed: 40 MHz rBoot Option: Big flash rBoot Option: RTC data

Booting rom 0. WA...lå„lê‰...€nÚ√nƒ.ƒ<Ún‰.ƒ#‚nÏ√fl1.‹8.n˚í‹.Ï<‚rü¿.‹ƒ.‹;rfl...rå.bl.r..Fatal exception (29): epc1=0x4024ff5e epc2=0x40100070 epc3=0x00000000 excvaddr=0x00000000 depc=0x40100456 excsave1=0x00000000

Stack: SP=0x3ffff9d0

Free Heap: 61480 _heap_start 0x3fff2600 brk 0x3fff2600 supervisor sp 0x3ffff950 sp-brk 54096 bytes arena (total_size) 0 fordblks (free_size) 7384 uordblocks (used_size) -7384

ets Jan 8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 2292, room 16 tail 4 chksum 0x57 load 0x3ffe8000, len 772, room 4 tail 0 chksum 0x0b csum 0x0b

rBoot v1.4.0 - richardaburton@gmail.com Flash Size: 8 Mbit Flash Mode: DOUT Flash Speed: 40 MHz rBoot Option: Big flash rBoot Option: RTC data

Booting rom 0. WA˛l|€ƒÒlê‰...€nÚ√nƒ.Ñ<Ún‰.ƒ#‚nÏ√fl±.‹8.n˚í‹.Ï|‚rfl¿.úƒ.‹;rfl...rå.bl.r..Fatal exception (29): epc1=0x4024ff5e epc2=0x40100070 epc3=0x00000000 excvaddr=0x00000000 depc=0x40100456 excsave1=0x00000000

Stack: SP=0x3ffff9d0

Free Heap: 61480 _heap_start 0x3fff2600 brk 0x3fff2600 supervisor sp 0x3ffff950 sp-brk 54096 bytes arena (total_size) 0 fordblks (free_size) 7384 uordblocks (used_size) -7384

ets Jan 8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 2292, room 16 tail 4 chksum 0x57 load 0x3ffe8000, len 772, room 4 tail 0 chksum 0x0b csum 0x0b

rBoot v1.4.0 - richardaburton@gmail.com Flash Size: 8 Mbit Flash Mode: DOUT Flash Speed: 40 MHz rBoot Option: Big flash rBoot Option: RTC data

Booting rom 0. WA˛l|õƒÒlê‰...€nÚ√nƒ.ƒ<Ún‰.ƒ#‚nÏ√fl±.‹8.n˚í‹.Ï<‚rfl¿.‹ƒ.‹;rfl...rå.bl.r..Fatal exception (0): epc1=0x4024ff1f epc2=0x40100070 epc3=0x00000000 excvaddr=0x00000000 depc=0x40210200 excsave1=0x00000000

Stack: SP=0x3ffff9b0

Free Heap: 61448 _heap_start 0x3fff2600 brk 0x3fff2600 supervisor sp 0x3ffff930 sp-brk 54064 bytes arena (total_size) 0 fordblks (free_size) 7384 uordblocks (used_size) -7384

ets Jan 8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 2292, room 16 tail 4 chksum 0x57 load 0x3ffe8000, len 772, room 4 tail 0 chksum 0x0b csum 0x0b

seritos commented 4 years ago

Another log:

Task stack overflow (high water mark=0 name="timeout") [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 erroTask stack overflow (high water mark=0 name="timeout") rl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 Task stack overflow (high water mark=0 name="timeout") everfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error Task stack overflow (high water mark=0 name="timeout") [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error Task stack overflow (high water mark=0 name="timeout") [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 erTask stack overflow (high water mark=0 name="timeout") rrfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 25Task stack overflow (high water mark=0 name="timeout") 5 overfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec Task stack overflow (high water mark=0 name="timeout") 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error Task stack overflow (high water mark=0 name="timeout")

[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 eTask stack overflow (high water mark=0 name="timeout") rerfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error Task stack overflow (high water mark=0 name="timeout") Task stack overfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error Task stack overflow (high water mark=0 name="timeout") [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 erroTask stack overflow (high water mark=0 name="timeout") rl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 Task stack overflow (high water mark=0 name="timeout") everfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error Task stack overflow (high water mark=0 name="timeout") [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error Task stack overflow (high water mark=0 name="timeout") [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 erTask stack overflow (high water mark=0 name="timeout") rrfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 25Task stack overflow (high water mark=0 name="timeout") 5 overfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec Task stack overflow (high water mark=0 name="timeout") 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error Task stack overflow (high water mark=0 name="timeout")

[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 eTask stack overflow (high water mark=0 name="timeout") rerfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error Task stack overflow (high water mark=0 name="timeout") [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 eTask stack overflow (high water mark=0 name="timeout") rerfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 2Task stack overflow (high water mark=0 name="timeout") 5k overfl[W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error Task stack overflow (high water mark=0 name="timeout") [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 error [W]sec 255 errorTask stack overflow (high water mark=0 name="timeout")

seritos commented 4 years ago

Solved.

Was in inductive issue that avoid the esp to start properly.