Help with OTA using RFM69HCW needed please



  • Re: Sensebender/Dualoptiboot OTA HowTo in Mysensors

    I have setup OTA with dualoptiboot and the latest 2.1.0 f MySensors and 1.0.0beta b3314 of MYSyscontroller every OTA fails with CRC fail

    48769 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010000000C945C000C946E000C946E000C946E00
    48793 OTA:FWP:RECV B=0001
    48801 OTA:FWP:FW END
    48924 OTA:CRC:B=0048,C=6EDF,F=D098
    48934 !OTA:FWP:CRC FAIL
    48943 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    48955 MCO:SLP:TPD

    I am monitoring, what is sent and what is received and that seems to match but neither seem to match the line in the hex file.

    Output from MYSController

    844 18/01/2017 15:29:10 TX 2 INTERNAL STREAM NO FIRMWARE_RESPONSE 0A00010000000C945C000C946E000C946E000C946E00

    Output from Node

    48769 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010000000C945C000C946E000C946E000C946E00

    Line in HEX File

    :100000000C945C000C946E000C946E000C946E00CA

    When I compare all these I seem to get some inconsistencies that I am not sure if they should or should not be there

    See Below

    0A00010000000C945C000C946E000C946E000C946E00 (MYSYs)
    0A00010000000C945C000C946E000C946E000C946E00 (Node)
               100000000C945C000C946E000C946E000C946E00CA (hex)

    As you can see MYSys seems to drop off the last byte CA of the hex line and also seems to drop one of the zeros on the hex line. I guess the first three bytes are part of the protocol.

    Is this expected behaviour or should I be looking elsewhere for the CRC fail error cause? Is there another application I can use to send the hex file I can try?

    Any help appreciated


  • Admin

    @doug An issue has been identified in that regard in 2.1.0 and fixed in 2.1.1. The release is on its way.



  • Have just tried v 2.1.1 but same issue is occurring I have included the debug output for the OTA Update below and the corresponding hex file after that. My guess is that this is a MYSController issue is there another application that I can use to transmit the update using the serial gateway that I could try.

    10481 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=OK:221,2.34,18.50,0
    10532 TSF:MSG:READ,0-0-2,s=0,c=4,t=1,pt=6,l=8,sg=0:0A0001005000D446
    10551 OTA:FWP:UPDATE
    10573 OTA:FRQ:FW REQ,T=000A,V=0001,B=004F
    10594 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004F00
    10702 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001004F00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    10729 OTA:FWP:RECV B=004F
    10737 OTA:FRQ:FW REQ,T=000A,V=0001,B=004E
    10756 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004E00
    10813 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001004E00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    10840 OTA:FWP:RECV B=004E
    10848 OTA:FRQ:FW REQ,T=000A,V=0001,B=004D
    10868 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004D00
    10928 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001004D00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    10954 OTA:FWP:RECV B=004D
    10962 OTA:FRQ:FW REQ,T=000A,V=0001,B=004C
    10981 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004C00
    11038 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001004C00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    11065 OTA:FWP:RECV B=004C
    11071 OTA:FRQ:FW REQ,T=000A,V=0001,B=004B
    11091 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004B00
    11122 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=22,pt=5,l=4,sg=0,ft=0,st=OK:7817
    11151 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001004B00FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    11177 OTA:FWP:RECV B=004B
    11186 OTA:FRQ:FW REQ,T=000A,V=0001,B=004A
    11204 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004A00
    11276 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001004A00FFCFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    11302 OTA:FWP:RECV B=004A
    11311 OTA:FRQ:FW REQ,T=000A,V=0001,B=0049
    11331 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004900
    11388 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010049008B002097E1F30E940000F9CF0895F894
    11413 OTA:FWP:RECV B=0049
    11421 OTA:FRQ:FW REQ,T=000A,V=0001,B=0048
    11442 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004800
    11499 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010048006B010E943E020E947000C0E0D0E00E94
    11526 OTA:FWP:RECV B=0048
    11532 OTA:FRQ:FW REQ,T=000A,V=0001,B=0047
    11552 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004700
    11610 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010047000F90DF91CF911F910F91089508950E94
    11636 OTA:FWP:RECV B=0047
    11644 OTA:FRQ:FW REQ,T=000A,V=0001,B=0046
    11665 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004600
    11722 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001004600611103C01095812301C0812B8C939FBF
    11749 OTA:FWP:RECV B=0046
    11757 OTA:FRQ:FW REQ,T=000A,V=0001,B=0045
    11778 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004500
    11798 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    11810 !MCO:SLP:FWUPD
    11997 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=OK:221,2.34,18.50,0
    12259 OTA:FRQ:FW REQ,T=000A,V=0001,B=0045
    12277 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004500
    12343 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001004500FF1FEC55FF4FA591B4919FB7F8948C91
    12369 OTA:FWP:RECV B=0045
    12378 OTA:FRQ:FW REQ,T=000A,V=0001,B=0044
    12396 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004400
    12451 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100440021F069830E94A6016981E02FF0E0EE0F
    12478 OTA:FWP:RECV B=0044
    12486 OTA:FRQ:FW REQ,T=000A,V=0001,B=0043
    12507 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004300
    12564 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010043001491F901E057FF4F04910023C9F08823
    12591 OTA:FWP:RECV B=0043
    12599 OTA:FRQ:FW REQ,T=000A,V=0001,B=0042
    12619 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004200
    12648 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=22,pt=5,l=4,sg=0,ft=0,st=OK:9345
    12679 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100420030E0F901E859FF4F8491F901E458FF4F
    12703 OTA:FWP:RECV B=0042
    12711 OTA:FRQ:FW REQ,T=000A,V=0001,B=0041
    12732 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004100
    12806 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010041000F931F93CF93DF931F92CDB7DEB7282F
    12832 OTA:FWP:RECV B=0041
    12838 OTA:FRQ:FW REQ,T=000A,V=0001,B=0040
    12859 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001004000
    12931 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001004000F8948C91822B8C939FBFDF91CF910895
    12957 OTA:FWP:RECV B=0040
    12965 OTA:FRQ:FW REQ,T=000A,V=0001,B=003F
    12984 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003F00
    13041 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001003F00322F309583238C938881822B888304C0
    13068 OTA:FWP:RECV B=003F
    13076 OTA:FRQ:FW REQ,T=000A,V=0001,B=003E
    13096 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003E00
    13152 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001003E008C93888182230AC0623051F4F8948C91
    13178 OTA:FWP:RECV B=003E
    13187 OTA:FRQ:FW REQ,T=000A,V=0001,B=003D
    13207 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003D00
    13264 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001003D00D4919FB7611108C0F8948C9120958223
    13291 OTA:FWP:RECV B=003D
    13299 OTA:FRQ:FW REQ,T=000A,V=0001,B=003C
    13318 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003C00
    13340 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    13352 !MCO:SLP:FWUPD
    13543 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=OK:221,2.34,18.50,0
    13801 OTA:FRQ:FW REQ,T=000A,V=0001,B=003C
    13819 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003C00
    13889 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001003C00E255FF4FA591B4918C559F4FFC01C591
    13916 OTA:FWP:RECV B=003C
    13924 OTA:FRQ:FW REQ,T=000A,V=0001,B=003B
    13944 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003B00
    14014 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001003B00FF4F8491882349F190E0880F991FFC01
    14041 OTA:FWP:RECV B=003B
    14047 OTA:FRQ:FW REQ,T=000A,V=0001,B=003A
    14067 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003A00
    14129 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001003A00DF9390E0FC01E458FF4F2491FC01E057
    14155 OTA:FWP:RECV B=003A
    14161 OTA:FRQ:FW REQ,T=000A,V=0001,B=0039
    14182 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003900
    14211 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=22,pt=5,l=4,sg=0,ft=0,st=OK:10907
    14254 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100390003C08091B0008F7D8093B0000895CF93
    14280 OTA:FWP:RECV B=0039
    14288 OTA:FRQ:FW REQ,T=000A,V=0001,B=0038
    14307 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003800
    14364 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100380002C084B58F7D84BD08958091B0008F77
    14391 OTA:FWP:RECV B=0038
    14399 OTA:FRQ:FW REQ,T=000A,V=0001,B=0037
    14417 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003700
    14475 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001003700809180008F7780938000089584B58F77
    14501 OTA:FWP:RECV B=0037
    14508 OTA:FRQ:FW REQ,T=000A,V=0001,B=0036
    14528 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003600
    14585 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010036008830B9F08430D1F4809180008F7D03C0
    14612 OTA:FWP:RECV B=0036
    14620 OTA:FRQ:FW REQ,T=000A,V=0001,B=0035
    14639 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003500
    14696 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100350028F4813099F08230A1F008958730A9F0
    14723 OTA:FWP:RECV B=0035
    14731 OTA:FRQ:FW REQ,T=000A,V=0001,B=0034
    14751 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003400
    14809 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010034008081806880831092C1000895833081F0
    14835 OTA:FWP:RECV B=0034
    14843 OTA:FRQ:FW REQ,T=000A,V=0001,B=0033
    14862 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003300
    14882 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    14897 !MCO:SLP:FWUPD
    15085 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=OK:221,2.34,18.50,0
    15345 OTA:FRQ:FW REQ,T=000A,V=0001,B=0033
    15364 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003300
    15431 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010033008460808380818260808380818E7F8083
    15458 OTA:FWP:RECV B=0033
    15466 OTA:FRQ:FW REQ,T=000A,V=0001,B=0032
    15484 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003200
    15542 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001003200E0EBF0E0808181608083EAE7F0E08081
    15568 OTA:FWP:RECV B=0032
    15577 OTA:FRQ:FW REQ,T=000A,V=0001,B=0031
    15595 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003100
    15652 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001003100808181608083E1EBF0E0808184608083
    15679 OTA:FWP:RECV B=0031
    15687 OTA:FRQ:FW REQ,T=000A,V=0001,B=0030
    15706 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001003000
    15736 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=22,pt=5,l=4,sg=0,ft=0,st=OK:12433
    15765 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001003000808182608083808181608083E0E8F0E0
    15792 OTA:FWP:RECV B=0030
    15800 OTA:FRQ:FW REQ,T=000A,V=0001,B=002F
    15820 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002F00
    15888 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001002F00EEE6F0E0808181608083E1E8F0E01082
    15915 OTA:FWP:RECV B=002F
    15923 OTA:FRQ:FW REQ,T=000A,V=0001,B=002E
    15943 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002E00
    16001 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001002E00816084BD85B5826085BD85B5816085BD
    16027 OTA:FWP:RECV B=002E
    16035 OTA:FRQ:FW REQ,T=000A,V=0001,B=002D
    16054 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002D00
    16113 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001002D009F908F900895789484B5826084BD84B5
    16140 OTA:FWP:RECV B=002D
    16146 OTA:FRQ:FW REQ,T=000A,V=0001,B=002C
    16166 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002C00
    16224 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001002C0029F7DDCFFF90EF90DF90CF90BF90AF90
    16250 OTA:FWP:RECV B=002C
    16257 OTA:FRQ:FW REQ,T=000A,V=0001,B=002B
    16277 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002B00
    16355 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    16367 !MCO:SLP:FWUPD
    16537 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=OK:221,2.34,18.50,0
    16758 OTA:FRQ:FW REQ,T=000A,V=0001,B=002B
    16777 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002B00
    16844 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001002B0083E0981EA11CB11CC114D104E104F104
    16871 OTA:FWP:RECV B=002B
    16879 OTA:FRQ:FW REQ,T=000A,V=0001,B=002A
    16898 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002A00
    16957 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001002A0070F321E0C21AD108E108F10888EE880E
    16984 OTA:FWP:RECV B=002A
    16992 OTA:FRQ:FW REQ,T=000A,V=0001,B=0029
    17010 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002900
    17070 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001002900681979098A099B09683E734081059105
    17096 OTA:FWP:RECV B=0029
    17102 OTA:FRQ:FW REQ,T=000A,V=0001,B=0028
    17123 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002800
    17168 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=22,pt=5,l=4,sg=0,ft=0,st=OK:13865
    17197 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001002800D104E104F104F1F00E944E020E940E01
    17223 OTA:FWP:RECV B=0028
    17231 OTA:FRQ:FW REQ,T=000A,V=0001,B=0027
    17250 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002700
    17319 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001002700FF926B017C010E940E014B015C01C114
    17346 OTA:FWP:RECV B=0027
    17354 OTA:FRQ:FW REQ,T=000A,V=0001,B=0026
    17375 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002600
    17434 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100260008958F929F92AF92BF92CF92DF92EF92
    17459 OTA:FWP:RECV B=0026
    17467 OTA:FRQ:FW REQ,T=000A,V=0001,B=0025
    17487 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002500
    17545 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001002500911D43E0660F771F881F991F4A95D1F7
    17571 OTA:FWP:RECV B=0025
    17580 OTA:FRQ:FW REQ,T=000A,V=0001,B=0024
    17600 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002400
    17659 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010024003FBF6627782F892F9A2F620F711D811D
    17686 OTA:FWP:RECV B=0024
    17694 OTA:FRQ:FW REQ,T=000A,V=0001,B=0023
    17713 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002300
    17788 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100230026B5A89B05C02F3F19F00196A11DB11D
    17815 OTA:FWP:RECV B=0023
    17823 OTA:FRQ:FW REQ,T=000A,V=0001,B=0022
    17842 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002200
    17864 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    17876 !MCO:SLP:FWUPD
    18128 !TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=NACK:221,2.34,18.50,0
    18325 OTA:FRQ:FW REQ,T=000A,V=0001,B=0022
    18343 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=1,st=OK:0A0001002200
    18409 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010022008091090190910A01A0910B01B0910C01
    18434 OTA:FWP:RECV B=0022
    18442 OTA:FRQ:FW REQ,T=000A,V=0001,B=0021
    18462 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002100
    18534 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100210080910701909108012FBF08953FB7F894
    18561 OTA:FWP:RECV B=0021
    18569 OTA:FRQ:FW REQ,T=000A,V=0001,B=0020
    18587 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001002000
    18644 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010020001F9018952FB7F8946091050170910601
    18671 OTA:FWP:RECV B=0020
    18677 OTA:FRQ:FW REQ,T=000A,V=0001,B=001F
    18698 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001F00
    19851 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=22,pt=5,l=4,sg=0,ft=0,st=OK:15456
    19871 OTA:FRQ:FW REQ,T=000A,V=0001,B=001F
    19892 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001F00
    19955 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001001F00AF919F918F913F912F910F900FBE0F90
    19982 OTA:FWP:RECV B=001F
    19990 OTA:FRQ:FW REQ,T=000A,V=0001,B=001E
    20011 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001E00
    20076 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001001E00090190930A01A0930B01B0930C01BF91
    20103 OTA:FWP:RECV B=001E
    20111 OTA:FRQ:FW REQ,T=000A,V=0001,B=001D
    20129 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001D00
    20189 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001001D00A0910B01B0910C010196A11DB11D8093
    20215 OTA:FWP:RECV B=001D
    20224 OTA:FRQ:FW REQ,T=000A,V=0001,B=001C
    20242 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001C00
    20379 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001001C00A0930701B09308018091090190910A01
    20406 OTA:FWP:RECV B=001C
    20414 OTA:FRQ:FW REQ,T=000A,V=0001,B=001B
    20432 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001B00
    20471 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    20484 !MCO:SLP:FWUPD
    20662 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=OK:221,2.34,18.50,0
    20916 OTA:FRQ:FW REQ,T=000A,V=0001,B=001B
    20934 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001B00
    21002 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001001B00A11DB11D209304018093050190930601
    21028 OTA:FWP:RECV B=001B
    21037 OTA:FRQ:FW REQ,T=000A,V=0001,B=001A
    21055 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001A00
    21112 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001001A0020F40296A11DB11D05C029E8230F0396
    21139 OTA:FWP:RECV B=001A
    21145 OTA:FRQ:FW REQ,T=000A,V=0001,B=0019
    21166 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001900
    21223 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010019000701B09108013091040126E0230F2D37
    21250 OTA:FWP:RECV B=0019
    21258 OTA:FRQ:FW REQ,T=000A,V=0001,B=0018
    21278 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001800
    21307 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=22,pt=5,l=4,sg=0,ft=0,st=OK:18004
    21338 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010018009F93AF93BF938091050190910601A091
    21364 OTA:FWP:RECV B=0018
    21372 OTA:FRQ:FW REQ,T=000A,V=0001,B=0017
    21391 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001700
    21460 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010017001F920F920FB60F9211242F933F938F93
    21487 OTA:FWP:RECV B=0017
    21495 OTA:FRQ:FW REQ,T=000A,V=0001,B=0016
    21516 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001600
    21571 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010016007E438105910508F4A8951F910F910895
    21598 OTA:FWP:RECV B=0016
    21606 OTA:FRQ:FW REQ,T=000A,V=0001,B=0015
    21626 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001500
    21684 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001001500020130910301601B710B820B930B6038
    21710 OTA:FWP:RECV B=0015
    21719 OTA:FRQ:FW REQ,T=000A,V=0001,B=0014
    21737 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001400
    21794 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100140031010E94020100910001109101012091
    21821 OTA:FWP:RECV B=0014
    21827 OTA:FRQ:FW REQ,T=000A,V=0001,B=0013
    21848 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001300
    21905 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010013008DE00E94080268EE73E080E090E00E94
    21932 OTA:FWP:RECV B=0013
    21940 OTA:FRQ:FW REQ,T=000A,V=0001,B=0012
    21958 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001200
    21981 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    21993 !MCO:SLP:FWUPD
    22183 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=OK:221,2.34,18.50,0
    22441 OTA:FRQ:FW REQ,T=000A,V=0001,B=0012
    22460 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001200
    22528 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001001200080268EE73E080E090E00E94310160E0
    22554 OTA:FWP:RECV B=0012
    22562 OTA:FRQ:FW REQ,T=000A,V=0001,B=0011
    22583 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001100
    22650 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010011006000A89508950F931F9361E08DE00E94
    22677 OTA:FWP:RECV B=0011
    22685 OTA:FRQ:FW REQ,T=000A,V=0001,B=0010
    22706 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001001000
    22763 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100100090E00FB6F894A895809360000FBE2093
    22790 OTA:FWP:RECV B=0010
    22798 OTA:FRQ:FW REQ,T=000A,V=0001,B=000F
    22816 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000F00
    22847 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=22,pt=5,l=4,sg=0,ft=0,st=OK:19542
    22876 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001000F0070930101809302019093030129E288E1
    22902 OTA:FWP:RECV B=000F
    22910 OTA:FRQ:FW REQ,T=000A,V=0001,B=000E
    22931 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000E00
    22986 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001000E0061E08DE00E94CF010E94020160930001
    23013 OTA:FWP:RECV B=000E
    23019 OTA:FRQ:FW REQ,T=000A,V=0001,B=000D
    23040 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000D00
    23097 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001000D00B207E1F70E943F020C944F020C940000
    23123 OTA:FWP:RECV B=000D
    23132 OTA:FRQ:FW REQ,T=000A,V=0001,B=000C
    23150 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000C00
    23207 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001000C00DEBFCDBF21E0A0E0B1E001C01D92AD30
    23234 OTA:FWP:RECV B=000C
    23242 OTA:FRQ:FW REQ,T=000A,V=0001,B=000B
    23263 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000B00
    23318 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001000B000000240027002A0011241FBECFEFD8E0
    23345 OTA:FWP:RECV B=000B
    23353 OTA:FRQ:FW REQ,T=000A,V=0001,B=000A
    23373 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000A00
    23431 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A0001000A000303030300000000250028002B000000
    23457 OTA:FWP:RECV B=000A
    23463 OTA:FRQ:FW REQ,T=000A,V=0001,B=0009
    23484 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000900
    23504 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    23519 !MCO:SLP:FWUPD
    23707 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=OK:221,2.34,18.50,0
    23965 OTA:FRQ:FW REQ,T=000A,V=0001,B=0009
    23984 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000900
    24053 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100090004040404040404040202020202020303
    24080 OTA:FWP:RECV B=0009
    24086 OTA:FRQ:FW REQ,T=000A,V=0001,B=0008
    24107 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000800
    24166 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100080010204080010204081020010204081020
    24190 OTA:FWP:RECV B=0008
    24199 OTA:FRQ:FW REQ,T=000A,V=0001,B=0007
    24219 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000700
    24274 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A000100070000030407000000000000000001020408
    24301 OTA:FWP:RECV B=0007
    24307 OTA:FRQ:FW REQ,T=000A,V=0001,B=0006
    24328 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000600
    24356 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=22,pt=5,l=4,sg=0,ft=0,st=OK:21053
    24387 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010006000C946E000C946E000000000800020100
    24414 OTA:FWP:RECV B=0006
    24422 OTA:FRQ:FW REQ,T=000A,V=0001,B=0005
    24440 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000500
    24498 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010005000C946E000C946E000C946E000C946E00
    24524 OTA:FWP:RECV B=0005
    24532 OTA:FRQ:FW REQ,T=000A,V=0001,B=0004
    24553 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000400
    24608 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010004000C94B8000C946E000C946E000C946E00
    24635 OTA:FWP:RECV B=0004
    24643 OTA:FRQ:FW REQ,T=000A,V=0001,B=0003
    24662 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000300
    24721 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010003000C946E000C946E000C946E000C946E00
    24745 OTA:FWP:RECV B=0003
    24754 OTA:FRQ:FW REQ,T=000A,V=0001,B=0002
    24774 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000200
    24832 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010002000C946E000C946E000C946E000C946E00
    24858 OTA:FWP:RECV B=0002
    24864 OTA:FRQ:FW REQ,T=000A,V=0001,B=0001
    24885 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000100
    24942 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010001000C946E000C946E000C946E000C946E00
    24969 OTA:FWP:RECV B=0001
    24977 OTA:FRQ:FW REQ,T=000A,V=0001,B=0000
    24997 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000000
    25018 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    25030 !MCO:SLP:FWUPD
    25423 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=OK:221,2.34,18.50,0
    25479 OTA:FRQ:FW REQ,T=000A,V=0001,B=0000
    25497 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:0A0001000000
    25571 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:0A00010000000C945C000C946E000C946E000C946E00
    25597 OTA:FWP:RECV B=0000
    25604 OTA:FWP:FW END
    25741 OTA:CRC:B=0050,C=06D3,F=46D4
    25751 !OTA:FWP:CRC FAIL
    26054 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=22,pt=5,l=4,sg=0,ft=0,st=OK:22751
    26673 MCO:SLP:MS=0,SMS=0,I1=1,M1=2,I2=255,M2=255
    26685 MCO:SLP:TPD
    26689 MCO:SLP:WUP=1
    26816 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=48,pt=0,l=16,sg=0,ft=0,st=OK:221,2.34,18.50,0
    
    :100000000C945C000C946E000C946E000C946E00CA
    :100010000C946E000C946E000C946E000C946E00A8
    :100020000C946E000C946E000C946E000C946E0098
    :100030000C946E000C946E000C946E000C946E0088
    :100040000C94B8000C946E000C946E000C946E002E
    :100050000C946E000C946E000C946E000C946E0068
    :100060000C946E000C946E00000000080002010069
    :100070000003040700000000000000000102040863
    :100080001020408001020408102001020408102002
    :10009000040404040404040402020202020203032E
    :1000A0000303030300000000250028002B000000CC
    :1000B0000000240027002A0011241FBECFEFD8E043
    :1000C000DEBFCDBF21E0A0E0B1E001C01D92AD30A8
    :1000D000B207E1F70E943F020C944F020C9400001B
    :1000E00061E08DE00E94CF010E9402016093000157
    :1000F00070930101809302019093030129E288E14A
    :1001000090E00FB6F894A895809360000FBE2093FE
    :100110006000A89508950F931F9361E08DE00E9401
    :10012000080268EE73E080E090E00E94310160E038
    :100130008DE00E94080268EE73E080E090E00E948B
    :1001400031010E94020100910001109101012091F2
    :10015000020130910301601B710B820B930B60381D
    :100160007E438105910508F4A8951F910F9108958C
    :100170001F920F920FB60F9211242F933F938F93DC
    :100180009F93AF93BF938091050190910601A09139
    :100190000701B09108013091040126E0230F2D37AB
    :1001A00020F40296A11DB11D05C029E8230F039676
    :1001B000A11DB11D209304018093050190930601B8
    :1001C000A0930701B09308018091090190910A0161
    :1001D000A0910B01B0910C010196A11DB11D80935E
    :1001E000090190930A01A0930B01B0930C01BF91F8
    :1001F000AF919F918F913F912F910F900FBE0F90D4
    :100200001F9018952FB7F894609105017091060121
    :1002100080910701909108012FBF08953FB7F8948E
    :100220008091090190910A01A0910B01B0910C01FC
    :1002300026B5A89B05C02F3F19F00196A11DB11D41
    :100240003FBF6627782F892F9A2F620F711D811D5E
    :10025000911D43E0660F771F881F991F4A95D1F7BC
    :1002600008958F929F92AF92BF92CF92DF92EF92BA
    :10027000FF926B017C010E940E014B015C01C114D5
    :10028000D104E104F104F1F00E944E020E940E013B
    :10029000681979098A099B09683E734081059105AF
    :1002A00070F321E0C21AD108E108F10888EE880E47
    :1002B00083E0981EA11CB11CC114D104E104F10417
    :1002C00029F7DDCFFF90EF90DF90CF90BF90AF90F8
    :1002D0009F908F900895789484B5826084BD84B592
    :1002E000816084BD85B5826085BD85B5816085BD31
    :1002F000EEE6F0E0808181608083E1E8F0E010824A
    :10030000808182608083808181608083E0E8F0E08A
    :10031000808181608083E1EBF0E080818460808374
    :10032000E0EBF0E0808181608083EAE7F0E08081AB
    :100330008460808380818260808380818E7F8083DF
    :100340008081806880831092C1000895833081F09D
    :1003500028F4813099F08230A1F008958730A9F017
    :100360008830B9F08430D1F4809180008F7D03C053
    :10037000809180008F7780938000089584B58F7777
    :1003800002C084B58F7D84BD08958091B0008F77C1
    :1003900003C08091B0008F7D8093B0000895CF930B
    :1003A000DF9390E0FC01E458FF4F2491FC01E057FB
    :1003B000FF4F8491882349F190E0880F991FFC0139
    :1003C000E255FF4FA591B4918C559F4FFC01C5910B
    :1003D000D4919FB7611108C0F8948C912095822325
    :1003E0008C93888182230AC0623051F4F8948C91F6
    :1003F000322F309583238C938881822B888304C08D
    :10040000F8948C91822B8C939FBFDF91CF910895AC
    :100410000F931F93CF93DF931F92CDB7DEB7282F93
    :1004200030E0F901E859FF4F8491F901E458FF4F9A
    :100430001491F901E057FF4F04910023C9F088237C
    :1004400021F069830E94A6016981E02FF0E0EE0FA0
    :10045000FF1FEC55FF4FA591B4919FB7F8948C9175
    :10046000611103C01095812301C0812B8C939FBF24
    :100470000F90DF91CF911F910F91089508950E94E1
    :100480006B010E943E020E947000C0E0D0E00E941A
    :100490008B002097E1F30E940000F9CF0895F894B3
    :0204A000FFCF8C
    :00000001FF
    
    


  • I have managed to solve this it looks like the CRC failure was down to an incompatible SPI Memory chip. I am now using

    Brand Adesto Technologies
    Mfr. Part No. AT25SF041-SSHD-B

    RS Stock No.223-0562

    and it seems to work very well now.

    Especially if you take Martins recommendations below

    @martinhjelmare said in OTA firmware updating is too slow..:

    I implemented a check for firmware update message in my modified SenseBenderMicro sketch, and alternative behavior in the loop if FW update is ongoing. This doesn't solve the problem of dropped messages, but could be good to speed up the update and don't waste time on sensor updates.

    void loop() {
      if (fwUpdateOngoing) {
        fwUpdateOngoing = false;
        fwUpdateOngoing = wait(OTA_WAIT_PERIOD, C_STREAM, ST_FIRMWARE_RESPONSE);
      } else {
        normalFlow();
      }
    }
    
    void normalFlow() {
      // Short delay to allow buttons to properly settle
      sleep(5);
    
      int buttonValue = digitalRead(BUTTON_PIN);
    
      measureCount ++;
      sendBattery ++;
      bool forceTransmit = false;
      transmission_occured = false;
    #ifndef MY_OTA_FIRMWARE_FEATURE
      if ((measureCount == 5) && highfreq)
      {
        clock_prescale_set(clock_div_8); // Switch to 1Mhz for the reminder of the sketch, save power.
        highfreq = false;
      }
    #endif
    
      if (measureCount > FORCE_TRANSMIT_INTERVAL) { // force a transmission
        forceTransmit = true;
        measureCount = 0;
      }
    
      sendTempHumidityMeasurements(forceTransmit);
      if (buttonValue != oldValue) {
         // Send in the new buttonValue
         send(msg.set(buttonValue==HIGH ? 0 : 1));
         oldValue = buttonValue;
         transmission_occured = true;
      }
    
    #ifdef MY_OTA_FIRMWARE_FEATURE
      if (transmission_occured) {
        fwUpdateOngoing = wait(OTA_WAIT_PERIOD, C_STREAM, ST_FIRMWARE_RESPONSE);
      }
    #endif
    
      sleep(digitalPinToInterrupt(BUTTON_PIN), CHANGE, MEASURE_INTERVAL);
    }
    

Log in to reply
 

Suggested Topics

  • 87
  • 2
  • 8
  • 10
  • 7
  • 3

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts