Help with OTA



  • Hello

    I cannot figure out why my OTA setup is not working.
    I have a node with Sensebender bootloader, a sketch with #define MY_OTA_FIRMWARE_FEATURE. However, when I assign the FW in MYSController nothing happens.
    0_1522673676122_Screenshot (39).png

    0_1522674355294_Screenshot (41).png

    The node is not sleeping - I put flash.initialize(); in setup and wait (..) in the loop.

    Can anyone assist please?


  • Admin

    @alexsh1 Please post your sketch and a full node log to understand what is going on.



  • @tekka

    OK, I simplified sketch as follows and right now something has been going on, but it says "NO UPDATE" in the log:

    // Enable debug prints to serial monitor #define MY_DEBUG //#define MY_DEBUG_VERBOSE_SIGNING
    
    // Enable and select radio type attached //#define MY_RADIO_NRF24 //#define MY_RADIO_NRF5_ESB #define MY_RADIO_RFM69 //#define MY_RADIO_RFM95 #define MY_RFM69_NEW_DRIVER #define MY_RFM69_ATC_MODE_DISABLED //#define MY_DEBUG_VERBOSE_RFM69 #define MY_RFM69_FREQUENCY RFM69_868MHZ #define MY_RFM69_NETWORKID 90 #define MY_NODE_ID 2 #define CHILD_ID_BATT 1
    
    //Signing
    //#define MY_SIGNING_ATSHA204
    //#define MY_SIGNING_REQUEST_SIGNATURES
    
    #define MY_OTA_FIRMWARE_FEATURE
    
    #include <MySensors.h>
    #include <Wire.h>
    #include <SPI.h>
    
    #define LED_PIN 9
    
    SPIFlash flash(8);
    
    MyMessage msgBatt(CHILD_ID_BATT, V_VOLTAGE);
    
    
    uint32_t SLEEP_TIME = 12000;  // sleep time between reads (seconds *
    1000 milliseconds)
    
    long lastBattery = -100;
    int sendBattery = 0;
    uint16_t lastresult = 0;
    
    void before() {
       wdt_disable();
    }
    
    
    void setup()
    {
       flash.initialize();
       //flash.sleep();
       Serial.println("-------------------------");
       Serial.print("Flash DeviceID: ");
       Serial.println(flash.readDeviceId(), HEX);
       Serial.println("-------------------------");
    
    }
    
    void presentation()
    {
       // Send the sketch version information to the gateway and Controller
       sendSketchInfo("MyMultiSensor Board", "1.1");
       present(CHILD_ID_BATT, S_POWER);
    
    }
    
    void loop()
    {
    
       bool forceTransmit = true;
       sendBattLevel(forceTransmit);
    
       wait(SLEEP_TIME);
    }
    
    long readVcc() {
       long result;
       // Read 1.1V reference against AVcc
       ADMUX = _BV(REFS0) | _BV(MUX3) | _BV(MUX2) | _BV(MUX1);
       delay(2); // Wait for Vref to settle
       ADCSRA |= _BV(ADSC); // Convert
       while (bit_is_set(ADCSRA, ADSC));
       result = ADCL;
       result |= ADCH << 8;
       result = 1125300L / result; // Back-calculate AVcc in mV
       return result;
    }
    
    
    void sendBattLevel(bool force)
    {
       if (force) lastBattery = -1;
       long vcc = readVcc();
       if (vcc != lastBattery) {
         lastBattery = vcc;
         float send_voltage = float(vcc) / 1000.0f;
         Serial.print("voltage = ");
         Serial.println(send_voltage);
         send(msgBatt.set(send_voltage, 3));
    
         // Calculate percentage
    
         vcc = vcc - 1900; // subtract 1.9V from vcc, as this is the lowest voltage we will operate at
    
         long percent = vcc / 14.0;
         sendBatteryLevel(percent);
    
       }
    }
    
    

    This is the log:

    
    voltage = 3.24
    144547 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.242
    145156 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    
      __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
             |___/                      2.3.0-alpha
    
    18 MCO:BGN:INIT NODE,CP=RPONA---,VER=2.3.0-alpha
    28 MCO:BGN:BFR
    28 TSM:INIT
    30 TSF:WUR:MS=0
    32 TSM:INIT:TSP OK
    34 TSM:INIT:STATID=2
    36 TSF:SID:OK,ID=2
    38 TSM:FPAR
    45 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    991 TSF:MSG:READ,0-0-2,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    997 TSF:MSG:FPAR OK,ID=0,D=1
    2054 TSM:FPAR:OK
    2054 TSM:ID
    2056 TSM:ID:OK
    2058 TSM:UPL
    2168 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    2654 TSF:MSG:READ,0-0-2,s=255,c=3,t=25,pt=1,l=1,sg=0:1
    2660 TSF:MSG:PONG RECV,HP=1
    2662 TSM:UPL:OK
    2664 TSM:READY:ID=2,PAR=0,DIS=1
    2746 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=0,pt=6,l=10,sg=0,ft=0,st=OK:FFFFFFFFFFFFFFFF0300
    3334 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    3694 TSF:MSG:READ,0-0-2,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    3809 
    TSF:MSG:SEND,2-2-0-0,s=255,c=0,t=17,pt=0,l=11,sg=0,ft=0,st=OK:2.3.0-alpha
    3987 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
    4333 TSF:MSG:READ,0-0-2,s=255,c=3,t=6,pt=0,l=1,sg=0:M
    4497 
    TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=11,pt=0,l=19,sg=0,ft=0,st=OK:MyMultiSensor 
    Board
    5093 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1
    5720 TSF:MSG:SEND,2-2-0-0,s=1,c=0,t=13,pt=0,l=0,sg=0,ft=0,st=OK:
    5726 MCO:REG:REQ
    6557 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    6969 TSF:MSG:READ,0-0-2,s=255,c=3,t=27,pt=1,l=1,sg=0:1
    6975 MCO:PIM:NODE REG=1
    6977 MCO:BGN:STP
    -------------------------
    Flash DeviceID: 1F65
    -------------------------
    6981 MCO:BGN:INIT OK,TSP=1
    voltage = 3.24
    7143 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.242
    7727 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    voltage = 3.24
    19838 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.242
    20197 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    voltage = 3.24
    32307 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.242
    32509 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    33294 TSF:MSG:READ,0-0-2,s=0,c=4,t=1,pt=6,l=8,sg=0:14000100F00627A2
    33300 OTA:FWP:UPDATE
    33583 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EF
    33726 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EF06
    33927 
    TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EF06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    33937 OTA:FWP:RECV B=06EF
    33941 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EE
    34054 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EE06
    34174 
    TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EE06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    34185 OTA:FWP:RECV B=06EE
    34189 OTA:FRQ:FW REQ,T=0014,V=0001,B=06ED
    34453 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100ED06
    34691 OTA:FRQ:FW REQ,T=0014,V=0001,B=06ED
    34785 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100ED06
    34875 
    TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100ED06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    34887 OTA:FWP:RECV B=06ED
    34889 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EC
    35244 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EC06
    35332 
    TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100ED06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    35342 OTA:FWP:RECV B=06ED
    35346 !OTA:FWP:WRONG FWB
    35391 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EC
    36624 
    !TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=NACK:14000100EC06
    36632 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EC
    37638 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=1,st=OK:14000100EC06
    37646 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EC
    37748 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EC06
    37990 
    TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EC06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    38002 OTA:FWP:RECV B=06EC
    38004 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EB
    38088 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EB06
    38402 
    TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EC06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    38412 OTA:FWP:RECV B=06EC
    38414 !OTA:FWP:WRONG FWB
    38490 
    TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EB06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    38500 OTA:FWP:RECV B=06EB
    38504 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EA
    38598 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EA06
    38942 
    TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EA06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    38952 OTA:FWP:RECV B=06EA
    38955 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E9
    39129 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E906
    39456 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E9
    40695 
    !TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=NACK:14000100E906
    40704 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E9
    41623 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=1,st=OK:14000100E906
    41631 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E9
    41906 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E906
    42133 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E9
    43380 
    !TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=NACK:14000100E906
    43388 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E9
    44275 
    TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=1,st=OK:14000100E906
    44283 !OTA:FRQ:FW UPD FAIL
    44406 
    TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E9060000FFFFFFFFFFFFFFFFFFFFFFFFFFFF
    44417 !OTA:FWP:NO UPDATE
    voltage = 3.23
    45752 !TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=NACK:3.233
    46305 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=1,st=OK:95
    voltage = 3.24
    58406 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.242
    59062 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    voltage = 3.24
    71587 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.242
    71731 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    voltage = 3.24
    83832 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.242
    83955 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    
    


  • I am using AT25DF512C-MAHN-T


  • Admin

    @alexsh1 Looks like an RFM69 link issue: a missed ACK from the node after requesting FW block 14000100EB06. Since you are on 2.3.0-alpha it's worthwile testing with 2.2.0 (as we have some ongoing work on the RFMxx drivers). Also, what HW are you using on the gateway?



  • @tekka GW is 2.3.0-alpha as well (Sensebender + RFM69W). I am using new rfm69 driver. Shall I try both the GW and the node switching to 2.2.0?


  • Admin

    @alexsh1 Yup 👍



  • @tekka OK, I cannot setup

    #define MY_RFM69_NEW_DRIVER
    
    

    under 2.2.0 - the parent cannot be found so I had to go back to the old driver.
    This is the log from the node (partially cut - too long):

     
     __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.2.0
    
    16 MCO:BGN:INIT NODE,CP=RRONA---,VER=2.2.0
    26 MCO:BGN:BFR
    28 TSM:INIT
    30 TSF:WUR:MS=0
    32 TSM:INIT:TSP OK
    34 TSM:INIT:STATID=2
    36 TSF:SID:OK,ID=2
    38 TSM:FPAR
    1257 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1439 TSF:MSG:READ,0-0-2,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    1445 TSF:MSG:FPAR OK,ID=0,D=1
    3264 TSM:FPAR:OK
    3264 TSM:ID
    3266 TSM:ID:OK
    3268 TSM:UPL
    3276 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    3317 TSF:MSG:READ,0-0-2,s=255,c=3,t=25,pt=1,l=1,sg=0:1
    3323 TSF:MSG:PONG RECV,HP=1
    3328 TSM:UPL:OK
    3330 TSM:READY:ID=2,PAR=0,DIS=1
    3340 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=0,pt=6,l=10,sg=0,ft=0,st=OK:FFFFFFFFFFFFFFFF0300
    3358 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
    3436 TSF:MSG:READ,0-0-2,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
    3657 TSF:MSG:SEND,2-2-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.2.0
    3676 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
    5691 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=11,pt=0,l=19,sg=0,ft=0,st=OK:MyMultiSensor Board
    5709 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1
    5926 TSF:MSG:SEND,2-2-0-0,s=1,c=0,t=13,pt=0,l=0,sg=0,ft=0,st=OK:
    5933 MCO:REG:REQ
    5943 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    5974 TSF:MSG:READ,0-0-2,s=255,c=3,t=27,pt=1,l=1,sg=0:1
    5980 MCO:PIM:NODE REG=1
    5982 MCO:BGN:STP
    -------------------------
    Flash DeviceID: 1F65
    -------------------------
    5986 MCO:BGN:INIT OK,TSP=1
    voltage = 3.24
    6006 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.242
    6223 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    16842 TSF:MSG:READ,0-0-2,s=0,c=4,t=1,pt=6,l=8,sg=0:14000100F00627A2
    16848 OTA:FWP:UPDATE
    17131 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EF
    17143 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EF06
    17207 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EF06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    17217 OTA:FWP:RECV B=06EF
    17219 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EE
    17233 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EE06
    17293 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EE06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    17303 OTA:FWP:RECV B=06EE
    17307 OTA:FRQ:FW REQ,T=0014,V=0001,B=06ED
    17319 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100ED06
    17379 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100ED06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    17389 OTA:FWP:RECV B=06ED
    17393 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EC
    17405 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EC06
    17467 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EC06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    17477 OTA:FWP:RECV B=06EC
    17481 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EB
    17494 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EB06
    17553 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EB06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    17565 OTA:FWP:RECV B=06EB
    17567 OTA:FRQ:FW REQ,T=0014,V=0001,B=06EA
    17580 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100EA06
    17641 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100EA06FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    17651 OTA:FWP:RECV B=06EA
    17655 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E9
    17668 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E906
    17731 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E9060000FFFFFFFFFFFFFFFFFFFFFFFFFFFF
    17741 OTA:FWP:RECV B=06E9
    17745 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E8
    17758 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E806
    17819 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E80640240D0A006E616E00696E66006F7666
    17831 OTA:FWP:RECV B=06E8
    17833 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E7
    17846 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E706
    17909 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E70600000000C224F8256224A02434244E24
    17920 OTA:FWP:RECV B=06E7
    17922 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E6
    17934 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E606
    17997 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E6060000781D481D191D471D1C1D241D381D
    18008 OTA:FWP:RECV B=06E6
    18012 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E5
    18024 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E506
    18085 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E506656E6442617474657279203D20000000
    18096 OTA:FWP:RECV B=06E5
    18100 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E4
    18112 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E406
    18173 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E406616765203D20004F5054333030310073
    18184 OTA:FWP:RECV B=06E4
    18188 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E3
    18200 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E306
    voltage = 3.23
    19464 !TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=NACK:3.233
    19681 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=1,st=OK:95
    19689 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E3
    19701 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E306
    19812 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E306656E736F7220426F61726400766F6C74
    19822 OTA:FWP:RECV B=06E3
    19826 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E2
    19838 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E206
    19900 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E20670686100312E31004D794D756C746953
    19910 OTA:FWP:RECV B=06E2
    19914 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E1
    19927 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E106
    19988 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E10641434B0021003F00322E332E302D616C
    19998 OTA:FWP:RECV B=06E1
    20002 OTA:FRQ:FW REQ,T=0014,V=0001,B=06E0
    20015 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100E006
    20076 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100E006443A20003C4E4F4E43453E004F4B004E
    20088 OTA:FWP:RECV B=06E0
    20090 OTA:FRQ:FW REQ,T=0014,V=0001,B=06DF
    20103 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100DF06
    20164 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100DF06697400466C6173682044657669636549
    20176 OTA:FWP:RECV B=06DF
    20178 OTA:FRQ:FW REQ,T=0014,V=0001,B=06DE
    20191 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100DE06
    20254 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100DE0667682D4C696D6974004C6F772D4C696D
    20264 OTA:FWP:RECV B=06DE
    20269 OTA:FRQ:FW REQ,T=0014,V=0001,B=06DD
    20281 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100DD06
    20342 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:14000100DD0630303120446576696365204944004869
    20353 OTA:FWP:RECV B=06DD
    20357 OTA:FRQ:FW REQ,T=0014,V=0001,B=06DC
    20369 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:14000100DC06
    20430 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:140001001400000000002C76D888DC674F0823DFC1DF
    324265 OTA:FWP:RECV B=0014010002000C944F040C944F040C944F040C944F04
    331968 OTA:FWP:RECV B=0002
    331970 OTA:FRQ:FW REQ,T=0014,V=0001,B=0001
    331982 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:140001000100
    332046 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:1400010001000C944F040C944F040C94A6040C944F04
    332056 OTA:FWP:RECV B=0001
    332060 OTA:FRQ:FW REQ,T=0014,V=0001,B=0000
    332072 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=2,pt=6,l=6,sg=0,ft=0,st=OK:140001000000
    332136 TSF:MSG:READ,0-0-2,s=255,c=4,t=3,pt=6,l=22,sg=0:1400010000000C9427040C945E220C9485220C944F04
    332146 OTA:FWP:RECV B=0000
    332150 OTA:FWP:FW END
    334950 OTA:CRC:B=06F0,C=A227,F=A227
    334954 OTA:FWP:CRC OK
     
     __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.2.0
    
    16 MCO:BGN:INIT NODE,CP=RRONA---,VER=2.2.0
    26 MCO:BGN:BFR
    28 TSM:INIT
    30 TSF:WUR:MS=0
    32 TSM:INIT:TSP OK
    34 TSM:INIT:STATID=2
    36 TSF:SID:OK,ID=2
    38 TSM:FPAR
    1257 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1345 TSF:MSG:READ,0-0-2,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    1351 TSF:MSG:FPAR OK,ID=0,D=1
    3264 TSM:FPAR:OK
    3264 TSM:ID
    3266 TSM:ID:OK
    3268 TSM:UPL
    3276 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    3317 TSF:MSG:READ,0-0-2,s=255,c=3,t=25,pt=1,l=1,sg=0:1
    3323 TSF:MSG:PONG RECV,HP=1
    3328 TSM:UPL:OK
    3330 TSM:READY:ID=2,PAR=0,DIS=1
    3340 TSF:MSG:SEND,2-2-0-0,s=255,c=4,t=0,pt=6,l=10,sg=0,ft=0,st=OK:14000100F00627A20300
    4569 !TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=NACK:0100
    6582 TSF:MSG:SEND,2-2-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=1,st=OK:2.2.0
    6801 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
    7229 TSF:MSG:READ,0-0-2,s=255,c=3,t=6,pt=0,l=1,sg=0:M
    7450 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=11,pt=0,l=19,sg=0,ft=0,st=OK:MyMultiSensor Board
    7469 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1
    7686 TSF:MSG:SEND,2-2-0-0,s=1,c=0,t=13,pt=0,l=0,sg=0,ft=0,st=OK:
    7692 MCO:REG:REQ
    7905 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
    7936 TSF:MSG:READ,0-0-2,s=255,c=3,t=27,pt=1,l=1,sg=0:1
    7942 MCO:PIM:NODE REG=1
    7944 MCO:BGN:STP
    -------------------------
    Flash DeviceID: 1F65
    -------------------------
    7948 MCO:BGN:INIT OK,TSP=1
    voltage = 3.24
    7966 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.242
    8185 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    voltage = 3.23
    20205 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.233
    20424 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    voltage = 3.23
    32442 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.233
    32661 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    voltage = 3.23
    44681 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.233
    44900 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    voltage = 3.23
    56924 TSF:MSG:SEND,2-2-0-0,s=1,c=1,t=38,pt=7,l=5,sg=0,ft=0,st=OK:3.233
    56946 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=OK:95
    

    Does this mean that the OTA FW update done?



  • @tekka Now it says "403195 OTA:FWP:UPDATE SKIPPED" when try to update it.

    EDIT: Despite getting

    48732 OTA:FWP:RECV B=0000
    48736 OTA:FWP:FW END
    48865 OTA:CRC:B=0050,C=46D4,F=46D4
    48867 OTA:FWP:CRC OK
    

    Firmware is not updated


Log in to reply
 

Suggested Topics

15
Online

11.4k
Users

11.1k
Topics

112.7k
Posts