logo elektroda
logo elektroda
X
logo elektroda

WBR2, WBR3, WBRU, W701-VA2-CG pinout, datasheet, flashing for Home Assistant

p.kaczmarek2 12069 114
ADVERTISEMENT
📢 Listen (AI):
  • ADVERTISEMENT
  • #92 21701951
    divadiow
    Level 36  
    sure. will see if 'I' can make something with it.
  • #93 21701967
    p.kaczmarek2
    Moderator Smart Home
    I am going to work on Easy Flasher soon, it would be great to have it integrated. Also BL602...
    Helpful post? Buy me a coffee.
  • #94 21702087
    divadiow
    Level 36  
    insmod wrote:
    Can you try to adapt script so that it would use flashloader?

    I think this supports write only. not seeing any read type functions.

    or I'm tackling it all wrong

    Spoiler:
    python ambz2_floader_z2.py -p COM53 -b 115200 read --offset 0x0 --length 0x200000 -o dump.bin -v
    [*] Linking...
    >>
    >> ping
    [*] Uploading floader (7936 bytes) to 0x20002000 ...
    >> EW 20002000 13224854 69F507F5 6CE681F1 8936481B 16C4BFBB D14DE1F7 EEA1716E
    >> EW 2000201C 2D7CF648 F83E5168 126B393E 909A05BA D3B6360F 1CFE111D 8AEB255D
    >> EW 20002038 3050C5A7 5249C7F FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 20002054 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 20002070 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 2000208C FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 200020A8 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 200020C4 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 200020E0 1D80 FFFFFFFF 2000002 FFFFFFFF FFFFFFFF 64 FFFFFFFF
    >> EW 200020FC FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 20002118 FFFFFFFF FFFFFFFF 30201BB 7060504 B0A0908 F0E0D0C 13121110
    >> EW 20002134 17161514 1B1A1918 1F1E1D1C 10001 0 3020100 7060504
    >> EW 20002150 FFFFFFFF FFFFFE02 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 2000216C FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 20002188 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 1CA8
    >> EW 200021A4 FFFFFFFF 82 FFFFFFFF 3020100 7060504 FFFFFFFE FFFFFFFF
    >> EW 200021C0 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 200021DC FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
    >> EW 200021F8 FFFFFFFF FFFFFFFF 1C88 10000480 10000480 FFFFFFFF FFFFFFFF
    >> EW 20002214 FFFFFFFF FFFFFFFF FFFFFFFF 100004F0 10001EA1 0 0
    >> EW 20002230 0 0 0 10001EA0 10001FE4 0 0
    >> EW 2000224C 0 0 0 0 0 1003FA00 1003EA00
    >> EW 20002268 0 0 0 0 0 0 0
    >> EW 20002284 0 0 0 62656D41 49495A61 FF 0
    >> EW 200022A0 F000B538 68A5F805 F806F000 BD3247A8 4C034613 4770460A 48024601
    >> EW 200022BC 4770 500 33300000 0 0 0 0
    >> EW 200022D8 0 0 20E8F8DF 47186A13 4605B538 460C79E8 D4040741
    >> EW 200022F4 20E0F8DF 46206891 79E84788 BF142C00 2F040 FDF000 BD3171E8
    >> EW 20002310 F8DFB510 792040C8 F000B948 D51EF83B 20B0F8DF 101CF8D2 4788A00E
    >> EW 2000232C F504E017 21007040 610160C1 60416001 F0004620 F8DFF82F 684A1094
    >> EW 20002348 47904620 2100B940 F7FF4620 79E0FFC9 FEF000 200071E0 BD10
    >> EW 20002364 52435B0D 57205059 435D6E72 74707972 6E65206F 656E6967 656F6420
    >> EW 20002380 74276E73 696E6920 6C616974 21657A69 A0D 1038F8DF 68026848
    >> EW 2000239C 477004D1 4604B510 B1807960 38F8DF F8DF6801 F0412030 60010101
    >> EW 200023B8 200F69D1 21004788 F7FF200F 2000FF8D BD107160 2A0 8C0
    >> EW 200023D4 5F650 2F0 100024C0 2A0 50070014 4B28B510 68DC460A
    >> EW 200023F0 F80AF000 BD1047A0 4B24B510 691C460A F802F000 BD1047A0 48214601
    >> EW 2000240C B5104770 460A4B1E F7FF69DC 47A0FFF7 B538BD10 4C1A4613 6A25460A
    >> EW 20002428 FFEEF7FF BD3247A8 6ACA4916 47104816 0 4C14B538 F1042150
    >> EW 20002444 F7FF007C 4D10FFCF 7180F44F CCF104 FFD0F7FF 462068A9 F5044788
    >> EW 20002460 67A0702F 69AA6B29 47904620 2014F8D5 4620A108 21144790 70E6F504
    >> EW 2000247C FFC7F7FF 6A694620 4034E8BD 4708 5F5F0 10003480 31373824
    >> EW 20002498 3E6330 4FF8E92D 4A364613 8000F8D2 F8DF6856 F89AA0D4 2A002000
    >> EW 200024B4 460DD15C F05F4681 43430006 193F109 720DA430 220618E7 F1094639
    >> EW 200024D0 F001008C F897FB8C 2100B000 F0004658 F8D8F8BD 46042080 46582100
    >> EW 200024EC 78784790 F841F000 78B84304 F83DF000 78F84304 F839F000 2D034304
    >> EW 20002508 2D04BF1C D10D2D05 F8892001 79380093 F82DF000 79784680 F829F000
    >> EW 20002524 8EA40 E0094304 F8D87938 21022080 79784790 2080F8D8 47902102
    >> EW 20002540 4620B10C 480FE015 47886981 46296932 47904648 2005B108 6971E00B
    >> EW 2000255C 47884648 464869B2 20014790 9004F8CA F88A E8BD2000 21008FF2
    >> EW 20002578 B870F000 5FF84 1000375C 660 A0B0807 2B280C09 2A26272C
    >> EW 20002594 1413100F 1211 BF00B5FE E893A336 460D10C0 46044669 E8812200
    >> EW 200025B0 F00410C0 940011F 4A2CD006 46296893 47984620 1C52BDFE F81DB2D3
    >> EW 200025CC 42810003 28FFD0F3 4826D1F7 68136802 D5030058 69D34A24 4798A028
    >> EW 200025E8 BDFE2003 4605B57C 4C1E4668 F0004E20 B928F86E F3C09800 28022081
    >> EW 20002604 68A6BF18 68E0602E 69A16068 69E06129 69216168 60E94628 47906862
    >> EW 20002620 B57CBD73 4604460D F0004668 2800F854 61FF004 92DBF01 9642D02
    >> EW 2000263C D10C2C04 F0019900 29020103 9900BF1E 103F001 D1022901 BFB82E04
    >> EW 20002658 BD762005 6A134A03 4A024718 47186A53 0 160 8C0
    >> EW 20002674 5F650 100007FD C0B0100 14100F0D FF17 494D5B0D 45204353
    >> EW 20002690 505D7272 47206E69 414F4950 2075255F 55207369 6F6E6B6E 70206E77
    >> EW 200026AC A0D6E69 0 64F8DF F3C16801 B14820C0 5CF8DF 8496801
    >> EW 200026C8 60010049 F0426802 60020201 B57C4770 25004604 F2062600 220010B5
    >> EW 200026E4 106EB0D F7FFB280 2801FDD9 1C76D10F D3F22E03 F89D 1001F89D
    >> EW 20002700 2001EA40 1002F89D 4001EA40 46286020 2505BD76 402AF04F E7F8
    >> EW 2000271C 40000108 40000218 F8DFB510 699C36A0 BD1047A0 2698F8DF 471868D3
    >> EW 20002738 F8DFB538 69254690 BD3247A8 F8DFB538 6D254684 BD3247A8 267CF8DF
    >> EW 20002754 47186A13 2674F8DF 47186A53 41F0E92D 65B8F8DF 46906C71 50A4604
    >> EW 20002770 5B0F8DF F8DF6807 BF04565C 28007830 6828D102 47906BFA 6C724623
    >> EW 2000278C F8D76828 46414080 6C7047A0 64704440 E8BD4640 E92D81F0 468047F0
    >> EW 200027A8 661CF8DF EA4F68B0 460C4A01 46916801 561CF8DF D503004A F20F69E9
    >> EW 200027C4 4788606C F863F000 F1074641 F0000048 2238FC73 1D382100 FA0DF001
    >> EW 200027E0 F851F000 680168B0 D506004A B2E269EB 611AEA4F 6054F20F 220C4798
    >> EW 200027FC F1072100 F001003C F8C7F9FA 68B09044 4A6801 69E9D503 6064F20F
    >> EW 20002818 F8DF4788 F00025C8 F04FF82D 1D387180 FE72F000 68B04604 4A6801
    >> EW 20002834 69EAD504 F20F4621 4790605C F0001D38 F107FCFD F0000048 69F8FC4E
    >> EW 20002850 B92CB900 75BCF20F F0014628 E004F9D4 75ACF20F F0014628 4602F9CE
    >> EW 2000286C 46292364 F7FF4640 4620FF67 87F0E8BD 156CF8DF F0001D38 F107BCD4
    >> EW 20002888 F1070148 F0000028 F8DFBC3B F640748C F8DF030C 47702554 41F0E92D
    >> EW 200028A4 27004605 460E2400 8538F8DF DD052D00 220A6830 F0012100 4680F9A8
    >> EW 200028C0 DD052D01 220A6870 F0012100 4607F9A0 DD052D02 221068B0 F0012100
    >> EW 200028DC B2C4F998 24E8F8DF F8DF6CD3 216464F4 47984630 46304641 FF1CF7FF
    >> EW 200028F8 B2FF4605 463A2301 46302108 FF18F7FF B3044305 102AF896 A2403
    >> EW 20002914 2902D003 D303D007 2009E008 E007270A 27042005 2014E004 E0012713
    >> EW 20002930 506F045 3120B95D F7FFB2C0 F896FE8F 4605102A 31204638 FE88F7FF
    >> EW 2000294C 46214305 F0014630 4328F8D9 81F0E8BD 41F0E92D 26004604 460D2700
    >> EW 20002968 2C0146B0 6828DB05 2100220A F94BF001 2C014606 6868DD05 2100220A
    >> EW 20002984 F943F001 2C024680 68A8DD05 21002210 F93BF001 F8DF4607 60070458
    >> EW 200029A0 EA48463A F8DF2106 E8BD0434 E6F841F0 4FF8E92D 460C4605 641CF8DF
    >> EW 200029BC 7408F8DF DC072D00 F87FF000 69F1D57C 5004F20F E0774788 41CF8DF
    >> EW 200029D8 220A6800 F1002100 68204B18 8410F8DF 9410F8DF F90FF001 1000F8D8
    >> EW 200029F4 46484682 F5094788 F8DF7040 F8DF2400 60021400 2D016041 6860DD04
    >> EW 20002A10 2100220A F8FBF001 DD042D02 220A68A0 F0012100 F8DFF8F4 222053E0
    >> EW 20002A2C 46282100 FE78F7FF C010F8D8 22002300 46482121 B14047E0 F83FF000
    >> EW 20002A48 F20FD52B E02640B8 A04EBAA F1BA44A3 DD140F00 4F80F5BA C018F8D8
    >> EW 20002A64 BFCC465A 4480F44F 46234654 46482121 280047E0 F000D0EA D510F824
    >> EW 20002A80 40B4F20F F8D8E00B 462A301C 46482121 B1304798 F817F000 F20FD503
    >> EW 20002A9C 69F140D4 F20F4788 46205474 F8ADF001 F8DF4602 2364632C F0004621
    >> EW 20002AB8 F44FF882 222073FA F87CF000 6838E02C 4A6801 B5E04770 48944605
    >> EW 20002AD4 6807460E DB042D01 220A6830 F0012100 2D01F894 6870DD04 2100220A
    >> EW 20002AF0 F88DF001 2DCF8DF 6B396800 5510F20F 20014788 70104A86 F0014628
    >> EW 20002B0C 4602F87C 46292364 2C4F8DF FE14F7FF BDE04620 E8BD2000 E92D8FF2
    >> EW 20002B28 460E41F8 460549A9 8000F8D1 487BB085 F8D86807 20004058 2D009000
    >> EW 20002B44 6830DD04 2100220A F85FF001 DD042D01 220A6870 F0012100 78A1F858
    >> EW 20002B60 46406A3A 45B8F20F F88D4790 79210000 46406A3A 47904E99 1F88D
    >> EW 20002B7C 21002210 F7FFA801 9A00FDCF 411CF20F F001A801 4628F81B F837F001
    >> EW 20002B98 F80EF000 F001A801 4602F832 73FAF44F 4630A901 FDCAF7FF B0064648
    >> EW 20002BB4 81F0E8BD 23644602 46304629 BDC0F7FF 46F8E92D B0864607 68454890
    >> EW 20002BD0 48806806 9000F8D0 2100468A 4058F8D9 91009101 F8DA F0012210
    >> EW 20002BEC 9000F810 DB052F02 4F8DA 2100220A F807F001 DB052F03 8F8DA
    >> EW 20002C08 2100220A FFFFF000 793F109 B1D87838 28017978 2804D014 2806BF18
    >> EW 20002C24 9900D114 F0014648 F44101FF 91007100 478868A9 F8D678E1 466BC030
    >> EW 20002C40 46482202 E00947E0 F0429A00 E0000240 78E19A00 B2D268EB 47984648
    >> EW 20002C5C 28007838 D0157978 D0182801 BF182804 D10A2806 6A2A78A1 47904648
    >> EW 20002C78 F88D F4409800 90007000 9800E00F 2F040 E0149000 BF1C2801
    >> EW 20002C94 28062804 78A1D10F 46486A2A F88D4790 68A90000 47884648 6B3678E1
    >> EW 20002CB0 2202466B 47B04648 9A00E005 68EB7961 4648B2D2 78A14798 46486A2A
    >> EW 20002CCC 47904E43 4F88D 6A2A7921 F20F4648 4790354C 5F88D 21002210
    >> EW 20002CE8 F7FFA802 9A01FD1B 21B4F20F F000A802 4628FF67 FF83F000 FF5AF7FF
    >> EW 20002D04 F000A802 4602FF7E 73FAF44F 4630A902 FD16F7FF B0074640 86F0E8BD
    >> EW 20002D20 10003804 5FF8C F7FFB570 2200FB87 217CF20F F7FF4837 2200FB72
    >> EW 20002D3C 4836A128 FB6DF7FF F20F2200 48342170 FB67F7FF F20F2200 4832216C
    >> EW 20002D58 FB61F7FF F20F2200 48302168 FB5BF7FF F20F2200 482E2164 FB55F7FF
    >> EW 20002D74 68284D2D 21004E24 7FF420 70316028 FB54F7FF 28007830 B96CD0FA
    >> EW 20002D90 FABEF7FF 490CB150 6813684A D5050059 69D34A0D F20F4601 47982030
    >> EW 20002DAC F0406828 60287080 20A56829 7180F041 68296029 4117F360 BD616029
    >> EW 20002DC8 8C0 380 620 10003760 5F650 10003978 647766
    >> EW 20002DE4 100009C1 F4240 10003080 10002860 10003864 2F0 10002140
    >> EW 20002E00 100009B9 100009B1 10002840 10003A3C 5FF88 10000B01 10000BBD
    >> EW 20002E1C 10000C11 10000D2F 10000D87 10000E25 40002800 494D5B0D 49204353
    >> EW 20002E38 495D666E 2074696E 646F4D58 2E2E6D65 A0D2E 494D5B0D 49204353
    >> EW 20002E54 495D666E 2074696E 73616C46 4F492068 3D646F4D 50207525 65536E69
    >> EW 20002E70 75253D6C D2E2E2E A 494D5B0D 49204353 535D666E 74726174
    >> EW 20002E8C 6F4D5820 2E6D6564 A0D2E 494D5B0D 49204353 D5D666E 6F4D580A
    >> EW 20002EA8 206D6564 6E617274 72656673 646E6520 6C25202C 79622075 73736574
    >> EW 20002EC4 61727420 6566736E D646572 A 494D5B0D 45204353 745D7272
    >> EW 20002EE0 5F747365 65646F6D 7361685F 65725F68 6D635F71 6E203A64 6973206F
    >> EW 20002EFC A0D657A 0 494D5B0D 45204353 745D7272 5F747365 65646F6D
    >> EW 20002F18 7361685F 65725F68 6D635F71 48203A64 20687361 74696E49 72724520
    >> EW 20002F34 A0D21 494D5B0D 45204353 745D7272 5F747365 65646F6D 7361685F
    >> EW 20002F50 65725F68 6D635F71 48203A64 20687361 61647075 45206574 D217272
    >> EW 20002F6C A 494D5B0D 45204353 745D7272 5F747365 65646F6D 7361685F
    >> EW 20002F88 65725F68 6D635F71 48203A64 20687361 616E6966 7245206C A0D2172
    >> EW 20002FA4 0 30257830 7838 67666375 0 68736168 71
    >> EW 20002FC0 61726563 73 65677366 74 65737366 74 494D5B0D
    >> EW 20002FDC 57204353 695D6E72 645F676D 6C6E776F 3A64616F 79724320 206F7470
    >> EW 20002FF8 6E696564 66207469 656C6961 64252864 A0D2129 0 4B4F
    >> EW 20003014 5245 68736168 2073 65677366 207374 65737366 207374
    >> EW 20003030 4C3EB538 50A4F8D4 BD3147A8 690068C1 D0014281 47702001 47702000
    >> EW 2000304C 68484601 5C80690A 1C5B690B 690A610B 429A688B 2200BF04 4770610A
    >> EW 20003068 F8916801 B1180029 42402200 2029F881 B5704770 680A6801 3029F891
    >> EW 20003084 F0046954 4323049E 3029F881 F0116D11 D010013F D0F92900 68456A54
    >> EW 200030A0 55AC68C6 1C6468C4 68C460C4 42AC6885 2400BF04 1E4960C4 BD70E7EE
    >> EW 200030BC 460DB5F8 46044616 2218461F F0002100 2300FD96 49174622 F7FF4628
    >> EW 200030D8 4916FFAB 2005698A 60254790 60A76066 B510BDF1 68204604 22002300
    >> EW 200030F4 F7FF2100 4620FF9B 21002218 4010E8BD BD79F000 490B6001 211F20F
    >> EW 20003110 60C26041 4A0A4909 61026081 4770 68004A02 B2C96C93 4718
    >> EW 2000312C 380 100012DB 2A0 1000129D 100012AD 100012C9 F8DFB538
    >> EW 20003148 68193498 2494F8DF B9416809 490F8DF 780B6801 D51E071C 40A0F20F
    >> EW 20003164 6849E010 4480F8DF BF1C42A1 547CF8DF D00B42A9 46CF8DF 780B6801
    >> EW 20003180 D50C0718 40ACF20F E8BD69D1 47084034 69192807 4034E8BD 1F40BF28
    >> EW 2000319C BD314708 4601B580 68496808 B2404788 B580BD02 68084601 47886889
    >> EW 200031B8 BD02B240 29006901 6800BF1C 20004708 46024770 68D26810 B5704710
    >> EW 200031D4 460E4605 46284614 FFE0F7FF F242B998 F7FF7010 1E64FFAD F8DFD1F5
    >> EW 200031F0 680103F8 50680A F8DFD505 69CA13E8 4068F20F 20014790 4628BD70
    >> EW 2000320C FFCFF7FF 20007030 B510BD70 E0024604 F7FF4620 4620FFC6 FFBCF7FF
    >> EW 20003228 D1F72800 8803BD10 D1012B01 47702006 620261C1 E0042101 B9098801
    >> EW 20003244 47702006 80012100 47702001 460DB538 2D064604 F8DFBF1C F7FF0398
    >> EW 20003260 B269FF71 24F104 FFAFF7FF BD322001 8801B580 2006B909 2118BD02
    >> EW 2000327C FFE8F7FF F01F110 2004D101 2001BD02 B57CBD02 20004605 F88D
    >> EW 20003298 2358F8DF F1054669 F8DF0024 F8DF4340 F7FF6340 B150FF92 21082001
    >> EW 200032B4 812960E8 68016870 D549004A 30D4F20F F99DE026 28010000 2802D025
    >> EW 200032D0 2804D026 2818D010 281BD002 E030D024 68086871 D5030042 F20F69E1
    >> EW 200032EC 478830E0 60E82001 E0222102 60E82001 46282106 FFA6F7FF 81282005
    >> EW 20003308 68086871 D5210042 30D8F20F 478869E1 2080BD73 BD7380E8 6180F44F
    >> EW 20003324 BD7380E9 68016870 D503004A F20F69E1 478830E0 60E82001 81292107
    >> EW 20003340 4AADBD73 F807F000 D0FA2800 46282115 FF7EF7FF F10DBD73 F1050101
    >> EW 2000335C E7380024 4FF8E92D F8D54605 2000A01C 1F88D 8284F8DF 46694642
    >> EW 20003378 FFEFF7FF D1482800 F10D4642 F7FF0102 2800FFE8 2001D141 F89D8128
    >> EW 20003394 F89D1000 4F922002 F00043C8 4E9100FF F00EA92 6870D009 5C6803
    >> EW 200033B0 69FBD503 307CF20F 20044798 F89D8128 88AA0000 42902400 2401BF0E
    >> EW 200033CC 42888869 F000D008 D505F872 2000F89D F20F69FB 4798307C 900F04F
    >> EW 200033E8 E00B46CB 10BEB0A 24F105 FEEDF7FF F91AB958 F10B000B 44810B01
    >> EW 20003404 464288E8 D3EF4583 FFA3F7FF 2001B120 60E82108 E04C8129 1001F99D
    >> EW 20003420 F989FA4F D0084589 F847F000 69FBD53F F20F464A 47983064 F105E017
    >> EW 2000343C F7FF0024 B150FEBD 81282004 68086871 D52E0042 F20F69F9 47883068
    >> EW 20003458 B914E007 1C406928 F1056128 F7FF0024 F9B5FED6 28010008 2101D11D
    >> EW 20003474 B15460E9 68016870 D503004A F20F69F9 47883058 81282004 88EAE00D
    >> EW 20003490 6A2B6929 47984650 DD032800 18406969 E0026168 184069A9 210661A8
    >> EW 200034AC 2115E000 F7FF4628 E8BDFECD 20048FF1 68728128 436810 B5104770
    >> EW 200034C8 20014604 80E02100 E00760E1 F7FF4620 68E0FF43 88E0B930 D1F72801
    >> EW 200034E4 F7FF4620 E7F6FED2 8F9B4 B510BD10 F7FF4604 2801FFE6 8862D106
    >> EW 20003500 1C528861 2FFF002 806280A1 BD10 41F0E92D 46884606 21002001
    >> EW 2000351C 80B18070 61716131 27002500 24F106 FE73F7FF F864F000 74FAF44F
    >> EW 20003538 24F106 F7FF1E64 BB98FE2F 707AF44F FDFCF7FF D1F32C00 B2B81C7F
    >> EW 20003554 DBE7283C 2500E02A F7FF4630 2808FFC8 2D00D10C 1C64D0D6 280AB2A0
    >> EW 20003570 F106DA30 F7FF0024 F000FE4E E7EDF83F D0082801 D0E92804 D0162805
    >> EW 2000358C D0E42807 D0EA2808 88F0E013 182D2400 D2DD45A8 F0002118 F108F82C
    >> EW 200035A8 E0170001 D0CF2C00 2F3CB2BF 2400D011 6970E7D0 490AE00E 6813680A
    >> EW 200035C4 D5050059 69D34A06 100EA4F 4798A08A F7FF4630 2000FE4B 81F0E8BD
    >> EW 200035E0 5ECF4 5F650 8C0 40003800 40002000 F4240 186A0
    >> EW 200035FC 46302115 E626 49545B0D 4520524D 735D7272 65747379 6974206D
    >> EW 20003618 2072656D 6E207369 6920746F 6974696E 7A696C61 A0D6465 0
    >> EW 20003634 49545B0D 4520524D 735D7272 65747379 6974206D 2072656D 6E207369
    >> EW 20003650 6920746F 6974696E 7A696C61 70206465 65706F72 D796C72 A
    >> EW 2000366C 494D5B0D 45204353 785D7272 65646F4D 57203A6D 20746961 7478654E
    >> EW 20003688 61684320 69542072 756F656D A0D74 494D5B0D 57204353 785D6E72
    >> EW 200036A4 65646F4D 57203A6D 20746961 7478654E 61724620 5320656D 74726174
    >> EW 200036C0 6D695420 74756F65 A0D 494D5B0D 57204353 785D6E72 65646F4D
    >> EW 200036DC 47203A6D 43207465 65636E61 A0D6C 494D5B0D 57204353 785D6E72
    >> EW 200036F8 65646F4D 45203A6D 6F20646E 72542066 6D736E61 A0D7469 0
    >> EW 20003714 494D5B0D 57204353 785D6E72 65646F4D 41203A6D 74726F62 D216465
    >> EW 20003730 A 494D5B0D 57204353 495D6E72 726F636E 74636572 61724620
    >> EW 2000374C 6F4E656D 20782520 A0D7825 0 494D5B0D 57204353 575D6E72
    >> EW 20003768 676E6F72 61724620 6F4E656D 7865203A 74636570 726F6620 25783020
    >> EW 20003784 75622078 6F672074 78302074 A0D7825 0 494D5B0D 57204353
    >> EW 200037A0 435D6E72 6B636568 6D75532D 72724520 20782528 21297825 A0D
    >> EW 200037BC 494D5B0D 57204353 6C5D6E72 20656E69 74617473 65207375 A0D7272
    >> EW 200037D8 0 494D5B0D 57204353 445D6E72 696C7075 65746163 61502064
    >> EW 200037F4 74656B63 A0D21 494D5B0D 45204353 585D7272 45444F4D 58525F4D
    >> EW 20003810 7272455F 25783028 A0D2978 0 68014801 4708 100
    >> EW 2000382C 6A534A20 4A204718 47186B53 6B934A1E B5104718 699C4B1D BD1047A0
    >> EW 20003848 22A04D1C 46282100 B538E7F5 4D1B4C1A 462A1B2D 46202100 FFEDF7FF
    >> EW 20003864 46204629 4C184D17 FFDEF7FF 46221B64 FFEAF7FF 46284621 FFD6F7FF
    >> EW 20003880 F000E7FF BD31F801 8F4FF3BF 8F6FF3BF B5384770 7804480E FFD6F7FF
    >> EW 2000389C 1241F3C4 21004628 4038E8BD BDF8F7FE 0 620 5EC60
    >> EW 200038B8 8C0 10003764 10000000 10000080 10002140 10003A3D 40000038
    >> EW 200038D4 4604B570 4808460D 1032F890 D1092901 6C964A06 4620B2E9 2D0A47B0
    >> EW 200038F0 210DD102 47B04620 BF00BD70 10003978 380 F8924A04 2B013032
    >> EW 2000390C 4A03D102 47186E93 47702000 10003978 380 4615B5F8 4C11B2CA
    >> EW 20003928 4E11B2C1 46202300 F882F000 462968F2 47904620 23016935 21082200
    >> EW 20003944 47A84620 681F4B0A 4E0B4D0A 46294632 47B84620 4C094620 46294632
    >> EW 20003960 B0016823 40F0E8BD BF004718 10003978 380 7B0 10001B35
    >> EW 2000397C 10001B65 5F650 0 0 0 2200F8DF 3080F8D2
    >> EW 20003998 E92D4718 24FF47F0 4605468A 61F4F8DF 81F4F8DF 71E8F8DF 91F0F8DF
    >> EW 200039B4 D01028FF 20E8F8D9 47902100 2C044604 6838DB09 50A6801 69F3D52F
    >> EW 200039D0 4641462A 1D0F8DF 4650E025 D02428FF 20E8F8D9 2CFF4681 2101D00F
    >> EW 200039EC 42844790 6838D01B 50A6801 69F4D519 462A464B F8DF4641 47A001A8
    >> EW 20003A08 2101E011 46044790 DB0A2C04 68016838 D508050A 464A69F3 F8DF4641
    >> EW 20003A24 4798018C 2C04E001 20FFDB01 4620E000 87F0E8BD 42F0E92D 460E4681
    >> EW 20003A40 461D4617 46304639 FFA7F7FF 2C034604 4638DA27 D02628FF F7FF2102
    >> EW 20003A5C F8DFFF99 68102154 1134F8DF B9286800 F847F000 F8DFD519 E00D0144
    >> EW 20003A78 F8DF6840 42983140 F8DFBF1C 4298313C F000D007 D50AF838 130F8DF
    >> EW 20003A94 478869C9 6911E005 47882004 2C04E001 B90CDA02 FE04F7FE 4D3D462B
    >> EW 20003AB0 C01CF8D5 4631463A 47E04648 D1130005 402AF899 DA172C03 46303420
    >> EW 20003ACC D00328FF F7FEB2E1 4605FDC3 28FF4638 B2E1D00C FDBCF7FE E0074305
    >> EW 20003AE8 DA052C03 D0032FFF 46382100 FF4CF7FF E8BD4628 482682F0 78136802
    >> EW 20003B04 47700718 E92D4A26 695341F0 42AF100 78254688 46064798 DA322D03
    >> EW 20003B20 27FF3520 F03F1B8 E8DFD82D 1402F008 7BA00B20 D01128FF F7FEB2E9
    >> EW 20003B3C 4306FD92 E00B73A7 F822F000 7BE04607 F81FF000 433E4307 F000E017
    >> EW 20003B58 4306F819 28FF7BE0 B2E9D011 FD7DF7FE 73E74306 7BE0E00B F80DF000
    >> EW 20003B74 7BA04306 D00428FF F7FEB2E9 4306FD70 463073A7 81F0E8BD B2E97BA0
    >> EW 20003B90 BD64F7FE 5F040 8C0 5F650 1000204C 380 10002064
    >> EW 20003BAC 10002094 100020D8 5ECF4 10001FE4 40003800 40002000 10002014
    >> EW 20003BC8 B51CB40C F8DF9000 460A404C 21006920 91016AA4 4669AB04 9A0047A0
    >> EW 20003BE4 70112100 F85DBC16 B510FB0C 302CF8DF 47A0691C B510BD10 3020F8DF
    >> EW 20003C00 47A0699C F8DFBD10 6A0A101C B5104710 3010F8DF 47A06D9C BD10
    >> EW 20003C1C 5F650 8C0 800 0 0 0 0
    >> EW 20003C38 0 0 F7FF4D3D 6969FE06 4C3C2000 F7FF4788 6320FDE7
    >> EW 20003C54 4E3A692A 483A4631 21804790 F7FF4630 F104FDE3 21010680 F7FF4630
    >> EW 20003C70 4935FDE3 4E354630 FDDBF7FF 20006831 7A8F104 69B64788 23014601
    >> EW 20003C8C 46382200 482F47B0 1094F8D0 58F104 2100600F FDCAF7FF 41FAF44F
    >> EW 20003CA8 58F104 FDC1F7FF F7FE4620 4927FC9B 60A04827 F104698A F5040034
    >> EW 20003CC4 47907482 200569A9 48234788 BF007800 F44FA127 F00032E1 EB010301
    >> EW 20003CE0 F3C00583 5C690181 F3C0A324 EB030540 F3C00385 5C180081 FE12F7FF
    >> EW 20003CFC 680A4918 30FFF04F 60104B17 4917681D 6ECA6028 47904620 68014815
    >> EW 20003D18 F7FF600C 4C14FDBA 47806820 478868E1 8F4FF3BF 8F6FF3BF FFFAF7FE
    >> EW 20003D34 E7FDBF00 2A0 10003868 10000000 1003FA00 2625A00 5ECE8
    >> EW 20003D50 1B0 380 10000883 4000003A 8C0 5F780 570
    >> EW 20003D6C 5F0F0 620 F0C000F 150D0215 100B0110 160E0316 49545B0D
    >> EW 20003D88 4520524D 735D7272 65747379 6974206D 2072656D 6E207369 6920746F
    >> EW 20003DA4 6974696E 7A696C61 A0D6465 0 49545B0D 4520524D 735D7272
    >> EW 20003DC0 65747379 6974206D 2072656D 6E207369 6920746F 6974696E 7A696C61
    >> EW 20003DDC 70206465 65706F72 D796C72 A 5F6C6168 74726175 6568635F
    >> EW 20003DF8 755F6B63 5F747261 6469 41555B0D 45205452 255D7272 70203A73
    >> EW 20003E14 30286E69 29782578 20736920 20746F6E 20726F66 54524155 D585420
    >> EW 20003E30 A 41555B0D 45205452 255D7272 78743A73 6E69705F 25783028
    >> EW 20003E4C 26202978 5F787220 286E6970 78257830 73692029 746F6E20 206E6F20
    >> EW 20003E68 20656874 656D6173 52415520 A0D54 41555B0D 45205452 255D7272
    >> EW 20003E84 70203A73 30286E69 29782578 20736920 20746F6E 20726F66 54524155
    >> EW 20003EA0 D585220 A 0 0 0 0 0
    >> EW 20003EBC 0 3A9F8655 C6184B86 7D0AD034 902BB6F4 709D0845 3FC4904E
    >> EW 20003ED8 A62238D1 CE2F6138 87878787 87878787 87878787 87878787 87878787
    >> EW 20003EF4 87878787 87878787 87878787
    >> DW 1002F054 16
    >> DW 1002D72C 16
    >> DW 14C54 16
    >> DW 1002D738 16
    >> DW 14C5C 16
    >> DW 1002D744 16
    >> DW 14C64 16
    >> DW 1002D750 16
    >> DW 14C68 16
    >> EW 1002D754 20002001
    [*] Jumping to 0x20002001 via ROM cmd 'otu1'
    >> otu1
    [*] Reading 0x200000 @ 0x0 ...
    [!] No data with primary header; trying ALT header
    >> disc
    Traceback (most recent call last):
    File "E:\GitHub\FlashTools\Realtek\AmebaZ2_FlashTool\ambz2_floader_z2.py", line 462, in <module>
    main()
    File "E:\GitHub\FlashTools\Realtek\AmebaZ2_FlashTool\ambz2_floader_z2.py", line 459, in main
    do_read(args.port, baud, offset, length, out_path, floader_path, verbose=verbose)
    File "E:\GitHub\FlashTools\Realtek\AmebaZ2_FlashTool\ambz2_floader_z2.py", line 406, in do_read
    fl.read_flash(offset, length, f, progress=True)
    File "E:\GitHub\FlashTools\Realtek\AmebaZ2_FlashTool\ambz2_floader_z2.py", line 382, in read_flash
    raise TimeoutError("Floader did not respond")
    TimeoutError: Floader did not respond


    where's that exact file from btw? I've not found it yet in all the zips and repos ive downloaded
  • #97 21702173
    divadiow
    Level 36  
    this is my downloader to grab every repo, every branch, as a zip to single location. PAT optional

    Code: Python
    Log in, to see the code


    Added after 1 [hours] 6 [minutes]:

    +3kb. seems to have some efuse bits added

    WBR2, WBR3, WBRU, W701-VA2-CG pinout, datasheet, flashing for Home Assistant

    Added after 21 [minutes]:

    Python bits behind Tuya Uart Tool's write ability to Z2 (ref https://www.elektroda.com/rtvforum/topic4114639.html)
  • ADVERTISEMENT
  • #98 21702337
    p.kaczmarek2
    Moderator Smart Home
    rtl8720cf_flash.py and protocol.py looks fairly simple
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #99 21702349
    insmod
    Level 28  
    But it's completely different from other RTLs, and then there's this
        def read(self, length):
            self.logger.debug(sys._getframe().f_code.co_name)
            self.logger.info("don't support read ...")
            return False

    Plus there is such a thing as different flash pins.
    PG Tool tooltip shows that it would be set automatically, but i don't see it in python code.
  • #100 21702358
    divadiow
    Level 36  
    yes, The Tuya util is write only, but wondered if it was useful for that function.

    What's the advantage of an floader over talking to the ROM? Speed?
  • #101 21702362
    insmod
    Level 28  
    >>21702358
    I thought that with floader protocol would be the same as in amebad, thus easier integration.
  • #102 21708620
    insmod
    Level 28  
    Guess what is happening
    Port ready!
    >>> ping
    >>> Rtk8710C
    >>> DW 400001F0 4
    >>> DW 1002F054 4
    >>> DW 1002D72C 4
    >>> DB 1002D72C 16
    >>> EW 1443D 1002D730
    Jump to 0x1002D730 using 'TL'
    >>> TL
    Starting read...
    >>> DW 40000038 4
    >>> EW 40002800 7EFFFFFF
    >>> DW 40000038 4
    >>> EW 40002800 7EFFFFFF
    >>> fwd 0 1 0
    >>> hashq 0 0 1
    >>> ucfg 2000000 0 0
    Change baud rate response: 
    >>> ping
    >>> DB 981F0000 4096
    >>> DB 981F1000 4096
    >>> DB 981F2000 4096
    >>> DB 981F3000 4096
    >>> DB 981F4000 4096
    >>> DB 981F5000 4096
    >>> DB 981F6000 4096
    >>> DB 981F7000 4096
    >>> DB 981F8000 4096
    >>> DB 981F9000 4096
    >>> DB 981FA000 4096
    >>> DB 981FB000 4096
    >>> DB 981FC000 4096
    >>> DB 981FD000 4096
    >>> DB 981FE000 4096
    >>> DB 981FF000 4096
    Read complete!
    >>> ucfg 115200 0 0
    Change baud rate response: >>> ping
    OBK config loaded. You can now view it by clicking 'Change OBK settings' button.
    You can also edit it whatever you want.
    You can also use 'Write OBK config' button to write it back with your changes.
    
  • #104 21708748
    insmod
    Level 28  
    I've got read and write working so far.
    Erase is not supported, it's 'included' in xmodem write.
    But no sha256 check.

    Flashed 1.18.156 and it booted.
    Changed config, and it's reflected in OBK.

    Added after 3 [minutes]:

    Plus timeouts are hardcoded via Thread.Sleep...

    Added after 3 [hours]:

    https://github.com/openshwprojects/BK7231GUIFlashTool/pull/68
    Beta
    Reading code is very hacky
  • #105 21708906
    p.kaczmarek2
    Moderator Smart Home
    Great, I decided to merge it already, because I am editing flasher as well and I'd rather avoid having desynced changes.
    Helpful post? Buy me a coffee.
  • #107 21709228
    p.kaczmarek2
    Moderator Smart Home
    We probably need to move flash ID detect to separate class and make it shared.

    We've found an edge case with @DeDaMrAz , not all flash IDs are easily detectable.
    Us:
    
    Backup name has not been set, so output file will only contain flash type/date.
    Now is: Friday, 3 October, 2025 21:19:19.
    Flasher mode: GenericSPI
    CH341 ready!
    JEDEC ID: FF-7F-9D-20
    Detected flash size: 0 KB
    Starting flash read, ofs 0x0, len 0x1
    Done!
    

    Neo:
    
    Current programmer: CH341 Green
    SPI ID: 7F9D20
    ---------------------------------------------------------------------------
    Currently selected:  Pm25LD512 [3.3V] 512 Kbits, 64 Kbytes
    

    Some info header: https://chromium.googlesource.com/chromiumos/...9527f724bc5096a646cf99efdbb6b59e/flashchips.h
    I am not sure if we can derive a formula for that, probably we will need a lookup table and then fall back to formula.
    Helpful post? Buy me a coffee.
  • #108 21709278
    DeDaMrAz
    Level 20  
    Is anybody else having trouble with the GUI flasher on Win11???

    I can't run most of the functions unless I build it with .NET 4.8!?!

    Will test some of the other modules now, like the one @insmod just added.
  • #109 21709283
    p.kaczmarek2
    Moderator Smart Home
    Nice, CR3L, I didn't even have this module yet. Another W701M-VT2-CG.
    Quote:

    CR3L is a low-power embedded Wi-Fi+Bluetooth module that Tuya has developed. It consists of a highly integrated RF chip (W701M-VT2-CG), with an embedded Wi-Fi network protocol stack and rich library functions.

    Overview
    With the maximum CPU clock rate of 100MHz, CR3L contains a low-power KM4 MCU, a WLAN MAC, a 1T1R WLAN module, 4-MB SRAM, 4-MB flash memory, and extensive peripherals.

    CR3L is an RTOS platform that integrates all function libraries of the Wi-Fi MAC and TCP/IP protocols. You can develop embedded Wi-Fi products as required.
    Helpful post? Buy me a coffee.
  • #110 21709293
    insmod
    Level 28  
    >>21709278
    No problems for me, Win 11 24H2 LTSC with Atlas mod.

    And now i've discovered how to get flash id properly
    https://github.com/openshwprojects/BK7231GUIFlashTool/pull/70
    Flasher mode: RTL87X0C
    Going to open port: COM15.
    Port ready!
    Flash ID: 0x1C7015
    2MB flash size detected
    Starting read...
    Read parms: start 0x00 (sector 0), len 0x200000 (512 sectors)
    

    But don't merge yet, more fixes are incoming
  • #111 21709313
    p.kaczmarek2
    Moderator Smart Home
    Hm ok, let me know once it's ready.

    I will also later try to do some basic clearup, at least a cosmetic one. Many things could be simplified, for example, the progress bar control and progress bar success/error calls could be moved to separate functions so I don't repeat Color.red everywhere, etc.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #113 21709397
    divadiow
    Level 36  
    DeDaMrAz wrote:
    Is anybody else having trouble with the GUI flasher on Win11???

    still win10 here. but wouldn't a move to .net 4.8 be a good move anyway?

    just playing with Z2. not got it to complete read yet though. BW15 module.
    Screenshot of BK7231 Easy UART Flasher showing a flash read error

    ESP32 development board with wired connections and a USB programmer on a workbench

    EF also quits unexpectedly a lot - if port is in use, Z2 not in uart downloade mode, starting new read operation after previous failed one (stop operation is greyed out but GUI allows new read/write when previous failed read/write still looks to be in progress)

    Other read tool completes but see these a few times
    Code: Text
    Log in, to see the code


    I'll mix it up with different Z2 rig.
    I'm travelling a bit today but hope to be back later/tomorrow for more/SPI stuff

    Added after 17 [minutes]:

    same setup. got a read success at 921600
    Code: Text
    Log in, to see the code


    Screenshot of BK7231 Easy UART Flasher with memory read operation completed

    Added after 9 [minutes]:

    write success x 5 - 921600 - OBK boots on every one

    Added after 5 [minutes]:

    write success x 5 - 2000000 - OBK boots on every one

    Added after 3 [minutes]:

    nice. drag and dropped Tuya dump. flashed and boots OK
    Bluetooth log console and BK7231 Easy UART Flasher with Write complete! message
  • #115 21712724
    divadiow
    Level 36  
    just playing with https://github.com/NonPIayerCharacter/BK7231G...mmit/83f360bb637862bbb9292d446c0c4b1b04951b6c and Z2 read again

    if COM port is open elsewhere EF quits unexpedtedly:

    Code: Text
    Log in, to see the code


    Added after 14 [minutes]:

    if no source file selected before clicking flash write Z2 selection will cause EF to quit unexpedtedly:

    Code: Text
    Log in, to see the code


    in fact the responses to no source file differ across platforms - Bekens will start trying comms, LN882H= No filename given!, RTL-D/B= No source file set!, Generic SPI = No filename given!, Beken SPI = will start SPI reset mode

    interrupting Beken BK72XX "getting port" process =

    Code: Text
    Log in, to see the code
📢 Listen (AI):

Topic summary

The discussion centers on flashing and integrating Tuya modules based on the RTL8720CF chip (W701-VA2-CG), including WBR1, WBR2, WBR3, WBR2L, WBR3L, and WBRU, for cloud-free operation with Home Assistant (HA) using the AmebaZ2 PG Tool and OpenBK7231T (OBK) firmware. Detailed pinouts, flashing jigs, and boot logs are shared, highlighting the need to access specific pins (A0, A15, A16) often located on the PCB underside, sometimes requiring desoldering. Users report successful flashing on devices like Kasa HS200, Gosund SP1 (BL097), and Tapo P110, with calibration support for BL0937 power monitoring chips. Challenges include reading and backing up firmware, especially system and calibration data, which may be stored in efuse or inaccessible flash areas. The community collaborates on templates for device configuration, MQTT integration, and HA discovery, including channel type mappings (e.g., OpenStopClose, LowMidHigh, dimmer) for TuyaMCU protocols. OTA updates and UART communication are tested, with ongoing development of tools and firmware support for these Realtek-based modules. Additional discussion covers the similarity between WBR3 and WBRU modules for firmware transplantation and the presence of Tuya config partitions. The thread also touches on related devices like thermostats (WT50-WH-3A, WT100-WH-3A, WT200-16A-W, HY609-WE) and the FR8016HA MCU in some modules. Overall, the topic provides a comprehensive guide and collaborative troubleshooting for flashing, configuring, and integrating RTL8720CF-based Tuya modules with open-source firmware and Home Assistant.
Summary generated by the language model.
ADVERTISEMENT