Cant get OTA to start



  • Hi i just started over but i cant seem to get OTA started. Flashed a node with default bootloader, programmed it with empty sketch, burned the mysbootloader, then discovered node. Shows up as id0. selected node => edit => change only firmware option to firmware with id109 then selected node id1 and started OTA update. This is what i get in the raw message log:

    2019-02-06 17:37:51,888 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:37:51,928 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:37:54,938 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:37:54,945 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:37:57,979 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:37:57,986 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:09,725 Tx: mygateway1-in/255/255/3/0/20 []
    2019-02-06 17:38:11,602 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:38:11,608 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:14,693 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:38:14,699 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:17,678 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:38:17,683 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:20,723 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:38:20,729 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:31,337 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:38:31,341 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:34,381 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:38:34,385 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:34,479 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:37,441 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:38:37,446 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:40,470 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:38:40,474 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:54,115 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:38:54,119 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:38:57,149 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:38:57,154 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:39:00,188 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:39:00,191 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:39:03,234 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:39:03,237 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:39:30,167 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:39:30,174 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:39:33,196 Rx: mygateway1-out/1/255/4/0/0 [FFFFFFFFFFFFFE400103]
    2019-02-06 17:39:33,200 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:39:33,305 Rx: mygateway1-out/1/255/4/0/2 [030001006705]
    2019-02-06 17:39:33,345 Tx: mygateway1-in/1/255/4/0/3 [0300010067054E6F6465330056312E300000FFFFFFFF]
    2019-02-06 17:39:38,516 Rx: mygateway1-out/1/255/4/0/2 [030001006705]
    2019-02-06 17:39:38,520 Tx: mygateway1-in/1/255/4/0/3 [0300010067054E6F6465330056312E300000FFFFFFFF]
    2019-02-06 17:39:39,396 Rx: mygateway1-out/1/255/4/0/2 [030001006705]
    2019-02-06 17:39:39,399 Tx: mygateway1-in/1/255/4/0/3 [0300010067054E6F6465330056312E300000FFFFFFFF]
    2019-02-06 17:39:42,461 Rx: mygateway1-out/1/255/4/0/2 [030001006705]
    2019-02-06 17:39:42,465 Tx: mygateway1-in/1/255/4/0/3 [0300010067054E6F6465330056312E300000FFFFFFFF]
    2019-02-06 17:39:45,920 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:39:45,923 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:39:48,981 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:39:48,985 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:39:52,017 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:39:52,021 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:39:55,049 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:39:55,052 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:40:08,335 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:40:08,338 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:40:11,406 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:40:11,409 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:40:14,440 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:40:14,444 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:40:17,468 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:40:17,471 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:40:30,777 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:40:30,780 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:40:33,812 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:40:33,816 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:40:36,844 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:40:36,848 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:40:39,898 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:40:39,902 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:40:59,712 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:40:59,716 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:41:02,772 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:41:02,775 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:41:05,822 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:41:05,825 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:41:08,834 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:41:08,837 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:41:28,601 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:41:28,604 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:41:31,627 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:41:31,630 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:41:34,674 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:41:34,677 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:41:37,714 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:41:37,717 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:41:51,034 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:41:51,038 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:41:54,080 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:41:54,084 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:41:57,108 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:41:57,111 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:42:00,151 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:42:00,155 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:42:10,416 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:42:10,419 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:42:13,457 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:42:13,460 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:42:16,496 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:42:16,499 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:42:19,531 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:42:19,534 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:42:29,827 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:42:29,830 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:42:32,854 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:42:32,859 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:42:35,897 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:42:35,901 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:42:38,946 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:42:38,949 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:42:58,718 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:42:58,724 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:01,852 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:01,856 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:04,794 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:04,797 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:07,837 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:07,840 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:21,126 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:21,129 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:24,155 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:24,160 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:27,189 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:27,192 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:30,237 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:30,240 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:40,481 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:40,484 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:43,524 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:43,528 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:46,595 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:46,598 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:43:49,631 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:43:49,634 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:44:02,911 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:44:02,914 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:44:05,966 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:44:05,970 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:44:09,012 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:44:09,015 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    2019-02-06 17:44:12,051 Rx: mygateway1-out/1/255/4/0/0 [0300010068057A890103]
    2019-02-06 17:44:12,055 Tx: mygateway1-in/1/255/4/0/1 [03000100680582CA]
    

    a lot of FW requests and responses and a few FW block requests ans block responses but everytime the same block. Then it suddenly stops and goes back to requesting and responding FW.

    Any idea whats going on?



  • @aliasjim can you uncheck(disable) Stream ack enabled in your gateway and try again?



  • Hi it was allready off. This was the problem before. After i unchecked it it started the OTA once but didn't finish successfully



  • @aliasjim Which bootloader are you using?
    is your MQTT broker sits on the same network?



  • i'm using MYSbotloader and i can ping the mqtt gateway. It allso shows as online in mycontroller. The broker is allso online because i can see the messages in my mqtt client on the desktop



  • @jkandasa Am i right to think that if i have an empty sketch on the node and a FW is appointed to this node in mycontroller, mycontroller will update the nodes FW automaticly or at least after rebooting the node?



  • @aliasjim After rebooting the MYSBootloader node, it will ask firmware details. MyController will respond for that. Each block should be requested by the node.



  • @jkandasa In other words the problem lies with the node, since it doesn't request a FW block?

    I'm using FW compiled for CH5, do you think this could be a problem? GW is allso programmed to use channel 5



  • @aliasjim Yes, maybe coverage issue. I had a similar type of issue with cheap chines clone board. Then I moved to Dualoptiboot, and no issues.

    https://www.mysensors.org/about/fota

    I'm using FW compiled for CH5, do you think this could be a problem? GW is allso programmed to use channel 5

    If it is a problem, Gateway won't receive a single pocket from network, seems all works ok, other than OTA



  • @jkandasa Indeed, i just pluged a premium shielded radio into my node and now the FW blocks are flying through my mqtt client. Its just strange that normal operation works just fine with the junk radios. Wich i knew this before i bought 50 of them ☹ 😖



  • @aliasjim I noticed the MYSbootloader defaults to PA level MAX. When i use this PA level with my nodes in normal operation they don't function eigther. I might try with a bootloader compiled with lower PA level, maybe, just maybe i will get lucky. Now i only need to find someone who is willing to compile it for me😀


Log in to reply
 

Suggested Topics

2
Online

493
Users

413
Topics

2.6k
Posts