Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. MYSBootloader 1.3.0-beta.3

MYSBootloader 1.3.0-beta.3

Scheduled Pinned Locked Moved Development
182 Posts 44 Posters 59.4k Views 42 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MiKaM MiKa

    To tekka:
    +1 to "Can you explain how to compile ?"
    OTA with MYSBootloader is possible also with gateway based on ESP8266 ? I cant do it, node is just rebooting after firmware update request and thats all.

    tekkaT Offline
    tekkaT Offline
    tekka
    Admin
    wrote on last edited by
    #5

    @MiKa @Tetnobic:
    Issue created, please feel free to add any comments: https://github.com/mysensors/MySensorsBootloaderRF24/issues/3

    1 Reply Last reply
    0
    • FejiF Offline
      FejiF Offline
      Feji
      wrote on last edited by
      #6

      Hi Tekka,

      First, thx for all your hard work.

      +1 for the How-to cause I'm on a try to compile since two hours, :(. There is an include missing : RF24_registers.h.

      While I'm here, is there a timout if the node can't reach the gateway in order to boot anyway in this version ?

      Thx again.

      tekkaT 1 Reply Last reply
      0
      • FejiF Feji

        Hi Tekka,

        First, thx for all your hard work.

        +1 for the How-to cause I'm on a try to compile since two hours, :(. There is an include missing : RF24_registers.h.

        While I'm here, is there a timout if the node can't reach the gateway in order to boot anyway in this version ?

        Thx again.

        tekkaT Offline
        tekkaT Offline
        tekka
        Admin
        wrote on last edited by tekka
        #7

        @Tetnobic, @Feji
        Dev branch updated: https://github.com/mysensors/MySensorsBootloaderRF24/tree/development

        • updated Makefile, added include files to same dir
        • To compile (under win): install make (I'm using mingw32-make from MinGW)
        • clone dev repo
        • update paths to avr tools and includes in Makefile (BINPATH, INLCUDES)
        • run Makefile to obtain .hex file
        • Flash .hex file using ISP
        1 Reply Last reply
        2
        • MiKaM Offline
          MiKaM Offline
          MiKa
          wrote on last edited by
          #8

          Hi Tekka,
          can You compile for ATMega328P 8MHz pls?
          THX,
          MiKa

          1 Reply Last reply
          0
          • FejiF Offline
            FejiF Offline
            Feji
            wrote on last edited by
            #9

            Hi,

            There is a 8 MHz version.
            I can't get the serial uploading working, don't know why.

            MYSBootloader_8MHZ.hex

            MiKaM 1 Reply Last reply
            0
            • FejiF Feji

              Hi,

              There is a 8 MHz version.
              I can't get the serial uploading working, don't know why.

              MYSBootloader_8MHZ.hex

              MiKaM Offline
              MiKaM Offline
              MiKa
              wrote on last edited by
              #10

              I already have it ;) finnaly I compile it after one hour :)

              MiKaM 1 Reply Last reply
              0
              • MiKaM MiKa

                I already have it ;) finnaly I compile it after one hour :)

                MiKaM Offline
                MiKaM Offline
                MiKa
                wrote on last edited by MiKa
                #11

                To Feji: You have speed 38400 Bd?

                FejiF 1 Reply Last reply
                0
                • MiKaM MiKa

                  To Feji: You have speed 38400 Bd?

                  FejiF Offline
                  FejiF Offline
                  Feji
                  wrote on last edited by
                  #12

                  @MiKa

                  It's a 56K version, I haven't try 38k yet.

                  MiKaM 1 Reply Last reply
                  0
                  • FejiF Feji

                    @MiKa

                    It's a 56K version, I haven't try 38k yet.

                    MiKaM Offline
                    MiKaM Offline
                    MiKa
                    wrote on last edited by MiKa
                    #13

                    @Feji
                    try 38400Bd it should work


                    HW.h


                    #ifndef BAUD_RATE
                    #if F_CPU >= 16000000L
                    #define BAUD_RATE 115200
                    #elif F_CPU >= 8000000L
                    #define BAUD_RATE 38400L

                    #elif F_CPU >= 1000000L
                    #define BAUD_RATE 9600L
                    #elif F_CPU >= 128000L
                    #define BAUD_RATE 4800L
                    #else
                    #define BAUD_RATE 1200L
                    #endif

                    FejiF 1 Reply Last reply
                    0
                    • MiKaM MiKa

                      @Feji
                      try 38400Bd it should work


                      HW.h


                      #ifndef BAUD_RATE
                      #if F_CPU >= 16000000L
                      #define BAUD_RATE 115200
                      #elif F_CPU >= 8000000L
                      #define BAUD_RATE 38400L

                      #elif F_CPU >= 1000000L
                      #define BAUD_RATE 9600L
                      #elif F_CPU >= 128000L
                      #define BAUD_RATE 4800L
                      #else
                      #define BAUD_RATE 1200L
                      #endif

                      FejiF Offline
                      FejiF Offline
                      Feji
                      wrote on last edited by
                      #14

                      @MiKa

                      My bad, it's a 38k version but I was trying to upload the sketch at 56k...

                      FejiF 1 Reply Last reply
                      0
                      • FejiF Feji

                        @MiKa

                        My bad, it's a 38k version but I was trying to upload the sketch at 56k...

                        FejiF Offline
                        FejiF Offline
                        Feji
                        wrote on last edited by
                        #15

                        @Feji

                        After modifying the HW.h, it's work much better :). Obviously...
                        Serial upload confirmed work at 57600.

                        1 Reply Last reply
                        1
                        • W Offline
                          W Offline
                          Werwolfx
                          wrote on last edited by Werwolfx
                          #16

                          Hello everybody.

                          I have a problem with the update over the air.
                          Version 2.1.0 mysensors
                          Gateway on ESP8266 default sketh
                          I downloaded the loader in atmega328p Arduino pro mini

                          in MYSController choose firmware
                          in logs

                          
                          [12.01.2017 20: 32: 50.118 Info] INFO BL version = 768
                           [12.01.2017 20: 32: 50.118 Info] INFO Send FW info to node 4: type = A, version = 1, blocks = 0x0050, CRC = 0x46D4
                           [12/01/2017 20: 32: 50.120 Info] TX 4, 0, 4, 0, 1; 0A0001005000D446
                           [12/01/2017 20: 32: 52.205 Info] RX 0, 255, 3, 0, 2, 2.1.0
                           [12.01.2017 20: 32: 53.724 Info] RX 10, 3, 1, 0, 0, 21.2
                           [12/01/2017 20: 32: 53.736 Info] RX 4; 255; 3, 0, 6, 0
                           [12/01/2017 20: 32: 53.737 Info] TX 4; 255; 3, 0; 6; M
                          

                          in arduino serial

                          0 MCO: BGN: INIT NODE, CP = RNONA -, VER = 2.1.0
                          3 TSM: INIT
                          4 TSF: WUR: MS = 0
                          11 TSM: INIT: TSP OK
                          13 TSM: INIT: STATID = 4
                          15 TSF: SID: OK, ID = 4
                          16 TSM: FPAR
                          53 TSF: MSG: SEND, 4-4-255-255, s = 255, c = 3, t = 7, pt = 0, l = 0, sg = 0, ft = 0, st = OK:
                          592 TSF: MSG: READ, 0-0-4, s = 255, c = 3, t = 8, pt = 1, l = 1, sg = 0: 0
                          598 TSF: MSG: FPAR OK, ID = 0, D = 1
                          2060 TSM: FPAR: OK
                          2061 TSM: ID
                          2062 TSM: ID: OK
                          2064 TSM: UPL
                          2069 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 3, t = 24, pt = 1, l = 1, sg = 0, ft = 0, st = OK: 1
                          2083 TSF: MSG: READ, 0-0-4, s = 255, c = 3, t = 25, pt = 1, l = 1, sg = 0: 1
                          2088 TSF: MSG: PONG RECV, HP = 1
                          2092 TSM: UPL: OK
                          2093 TSM: READY: ID = 4, PAR = 0, DIS = 1
                          2113 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 4, t = 0, pt = 6, l = 10, sg = 0, ft = 0, st = OK: FFFFFFFFD0033C3E0300
                          2131 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 3, t = 15, pt = 6, l = 2, sg = 0, ft = 0, st = OK: 0100
                          2138 TSF: MSG: READ, 0-0-4, s = 0, c = 4, t = 1, pt = 6, l = 8, sg = 0: 0A0001005000D446
                          2144 OTA: FWP: UPDATE
                          ! 2146 OTA: FWP: FLASH INIT FAIL
                          2151 TSF: MSG: READ, 0-0-4, s = 255, c = 3, t = 15, pt = 6, l = 2, sg = 0: 0100
                          4074 TSF:! MSG: SEND, 4-4-0-0, s = 255, c = 0, t = 17, pt = 0, l = 5, sg = 0, ft = 0, st = NACK: 2.1. 0
                          5727 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 3, t = 6, pt = 1, l = 1, sg = 0, ft = 1, st = OK: 0
                          5734 TSF: MSG: READ, 10-10-0, s = 3, c = 1, t = 0, pt = 7, l = 5, sg = 0: 21.2
                          ! 5739 TSF: MSG: REL MSG, NREP
                          5817 TSF: MSG: READ, 0-0-4, s = 255, c = 3, t = 6, pt = 0, l = 1, sg = 0: M
                          ! 7739 TSF: MSG: SEND, 4-4-0-0, s = 1, c = 0, t = 23, pt = 0, l = 0, sg = 0, ft = 0, st = NACK:
                          8436 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 3, t = 11, pt = 0, l = 9, sg = 0, ft = 1, st = OK: Yang Node
                          8462 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 3, t = 12, pt = 0, l = 4, sg = 0, ft = 0, st = OK: v1.0
                          

                          confuse line
                          2144 OTA: FWP: UPDATE
                          ! 2146 OTA: FWP: FLASH INIT FAIL

                          what could be the problem?

                          tekkaT 1 Reply Last reply
                          0
                          • W Werwolfx

                            Hello everybody.

                            I have a problem with the update over the air.
                            Version 2.1.0 mysensors
                            Gateway on ESP8266 default sketh
                            I downloaded the loader in atmega328p Arduino pro mini

                            in MYSController choose firmware
                            in logs

                            
                            [12.01.2017 20: 32: 50.118 Info] INFO BL version = 768
                             [12.01.2017 20: 32: 50.118 Info] INFO Send FW info to node 4: type = A, version = 1, blocks = 0x0050, CRC = 0x46D4
                             [12/01/2017 20: 32: 50.120 Info] TX 4, 0, 4, 0, 1; 0A0001005000D446
                             [12/01/2017 20: 32: 52.205 Info] RX 0, 255, 3, 0, 2, 2.1.0
                             [12.01.2017 20: 32: 53.724 Info] RX 10, 3, 1, 0, 0, 21.2
                             [12/01/2017 20: 32: 53.736 Info] RX 4; 255; 3, 0, 6, 0
                             [12/01/2017 20: 32: 53.737 Info] TX 4; 255; 3, 0; 6; M
                            

                            in arduino serial

                            0 MCO: BGN: INIT NODE, CP = RNONA -, VER = 2.1.0
                            3 TSM: INIT
                            4 TSF: WUR: MS = 0
                            11 TSM: INIT: TSP OK
                            13 TSM: INIT: STATID = 4
                            15 TSF: SID: OK, ID = 4
                            16 TSM: FPAR
                            53 TSF: MSG: SEND, 4-4-255-255, s = 255, c = 3, t = 7, pt = 0, l = 0, sg = 0, ft = 0, st = OK:
                            592 TSF: MSG: READ, 0-0-4, s = 255, c = 3, t = 8, pt = 1, l = 1, sg = 0: 0
                            598 TSF: MSG: FPAR OK, ID = 0, D = 1
                            2060 TSM: FPAR: OK
                            2061 TSM: ID
                            2062 TSM: ID: OK
                            2064 TSM: UPL
                            2069 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 3, t = 24, pt = 1, l = 1, sg = 0, ft = 0, st = OK: 1
                            2083 TSF: MSG: READ, 0-0-4, s = 255, c = 3, t = 25, pt = 1, l = 1, sg = 0: 1
                            2088 TSF: MSG: PONG RECV, HP = 1
                            2092 TSM: UPL: OK
                            2093 TSM: READY: ID = 4, PAR = 0, DIS = 1
                            2113 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 4, t = 0, pt = 6, l = 10, sg = 0, ft = 0, st = OK: FFFFFFFFD0033C3E0300
                            2131 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 3, t = 15, pt = 6, l = 2, sg = 0, ft = 0, st = OK: 0100
                            2138 TSF: MSG: READ, 0-0-4, s = 0, c = 4, t = 1, pt = 6, l = 8, sg = 0: 0A0001005000D446
                            2144 OTA: FWP: UPDATE
                            ! 2146 OTA: FWP: FLASH INIT FAIL
                            2151 TSF: MSG: READ, 0-0-4, s = 255, c = 3, t = 15, pt = 6, l = 2, sg = 0: 0100
                            4074 TSF:! MSG: SEND, 4-4-0-0, s = 255, c = 0, t = 17, pt = 0, l = 5, sg = 0, ft = 0, st = NACK: 2.1. 0
                            5727 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 3, t = 6, pt = 1, l = 1, sg = 0, ft = 1, st = OK: 0
                            5734 TSF: MSG: READ, 10-10-0, s = 3, c = 1, t = 0, pt = 7, l = 5, sg = 0: 21.2
                            ! 5739 TSF: MSG: REL MSG, NREP
                            5817 TSF: MSG: READ, 0-0-4, s = 255, c = 3, t = 6, pt = 0, l = 1, sg = 0: M
                            ! 7739 TSF: MSG: SEND, 4-4-0-0, s = 1, c = 0, t = 23, pt = 0, l = 0, sg = 0, ft = 0, st = NACK:
                            8436 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 3, t = 11, pt = 0, l = 9, sg = 0, ft = 1, st = OK: Yang Node
                            8462 TSF: MSG: SEND, 4-4-0-0, s = 255, c = 3, t = 12, pt = 0, l = 4, sg = 0, ft = 0, st = OK: v1.0
                            

                            confuse line
                            2144 OTA: FWP: UPDATE
                            ! 2146 OTA: FWP: FLASH INIT FAIL

                            what could be the problem?

                            tekkaT Offline
                            tekkaT Offline
                            tekka
                            Admin
                            wrote on last edited by
                            #17

                            @Werwolfx
                            Disable MY_OTA_FIRMWARE_FEATURE, this is only required for the external flash/dualoptiboot OTA method, MYSBootloader handles OTA updates offline.

                            W 1 Reply Last reply
                            2
                            • tekkaT tekka

                              @Werwolfx
                              Disable MY_OTA_FIRMWARE_FEATURE, this is only required for the external flash/dualoptiboot OTA method, MYSBootloader handles OTA updates offline.

                              W Offline
                              W Offline
                              Werwolfx
                              wrote on last edited by
                              #18

                              @tekka oh, my mistake, thank you very much for your work.

                              1 Reply Last reply
                              1
                              • W Offline
                                W Offline
                                Werwolfx
                                wrote on last edited by Werwolfx
                                #19

                                I try to disable MY_OTA_FIRMWARE_FEATURE in arduino/
                                but no effect =(
                                In arduino load example code PingpongSensor and add in sketch
                                #define MY_NODE_ID 4

                                MYSController log

                                14.01.2017 8:43:45	CLICK	Board with MYSBootloader=TRUE
                                14.01.2017 8:43:46	RX	10;5;1;0;17;841
                                14.01.2017 8:43:46	RX	10;6;1;0;39;3.66
                                14.01.2017 8:43:52	RX	0;255;3;0;2;2.1.0
                                14.01.2017 8:43:54	TX	4;0;3;0;13;0
                                14.01.2017 8:43:54	INFO	FW "TimeReporter" assigned to node 4
                                14.01.2017 8:43:57	RX	6;3;1;0;16;0
                                14.01.2017 8:43:57	RX	6;6;1;0;3;0
                                14.01.2017 8:43:57	RX	5;3;1;0;16;0
                                14.01.2017 8:43:57	RX	5;6;1;0;3;0
                                14.01.2017 8:43:57	RX	6;5;1;0;0;20.25
                                14.01.2017 8:44:00	RX	4;255;0;0;17;2.1.0
                                14.01.2017 8:44:00	CHILD	New child discovered, node id=4, child id=internal
                                14.01.2017 8:44:00	DEBUG	Update child id=255, type=S_ARDUINO_NODE
                                14.01.2017 8:44:00	RX	4;255;3;0;6;0
                                14.01.2017 8:44:00	TX	4;255;3;0;6;M
                                14.01.2017 8:44:00	RX	4;1;0;0;23;
                                14.01.2017 8:44:00	CHILD	New child discovered, node id=4, child id=1
                                14.01.2017 8:44:00	DEBUG	Update child id=1, type=S_CUSTOM
                                14.01.2017 8:44:00	RX	4;255;3;0;12;v1.0
                                
                                

                                Arduino serial

                                38602 TSF:MSG:READ,0-0-4,s=0,c=3,t=13,pt=0,l=1,sg=0:0 
                                0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0
                                3 TSM:INIT
                                4 TSF:WUR:MS=0
                                11 TSM:INIT:TSP OK
                                12 TSM:INIT:STATID=4
                                14 TSF:SID:OK,ID=4
                                16 TSM:FPAR
                                52 TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                153 TSF:MSG:READ,0-0-4,s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                157 TSF:MSG:FPAR OK,ID=0,D=1
                                2060 TSM:FPAR:OK
                                2061 TSM:ID
                                2062 TSM:ID:OK
                                2064 TSM:UPL
                                2067 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
                                2081 TSF:MSG:READ,0-0-4,s=255,c=3,t=25,pt=1,l=1,sg=0:1
                                2086 TSF:MSG:PONG RECV,HP=1
                                2088 TSM:UPL:OK
                                2091 TSM:READY:ID=4,PAR=0,DIS=1
                                2122 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
                                2128 TSF:MSG:READ,0-0-4,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
                                2139 TSF:MSG:SEND,4-4-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.0
                                2151 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
                                2170 TSF:MSG:READ,0-0-4,s=255,c=3,t=6,pt=0,l=1,sg=0:M
                                2184 TSF:MSG:SEND,4-4-0-0,s=1,c=0,t=23,pt=0,l=0,sg=0,ft=0,st=OK:
                                2192 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=11,pt=0,l=9,sg=0,ft=0,st=OK:Yang Node
                                2236 !TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=12,pt=0,l=4,sg=0,ft=0,st=NACK:v1.0
                                
                                Yang NodeReady.
                                2243 MCO:REG:REQ
                                2249 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=1,st=OK:2
                                2265 TSF:MSG:READ,0-0-4,s=255,c=3,t=27,pt=1,l=1,sg=0:1
                                2269 MCO:PIM:NODE REG=1
                                2272 MCO:BGN:STP
                                2273 MCO:BGN:INIT OK,TSP=1
                                2315 TSF:MSG:READ,0-0-4,s=255,c=3,t=6,pt=0,l=6,sg=0:Metric
                                

                                0_1484381990012_upload-678581ea-b243-4cea-8b4b-12fd2faf9c9b

                                tekkaT 1 Reply Last reply
                                0
                                • W Werwolfx

                                  I try to disable MY_OTA_FIRMWARE_FEATURE in arduino/
                                  but no effect =(
                                  In arduino load example code PingpongSensor and add in sketch
                                  #define MY_NODE_ID 4

                                  MYSController log

                                  14.01.2017 8:43:45	CLICK	Board with MYSBootloader=TRUE
                                  14.01.2017 8:43:46	RX	10;5;1;0;17;841
                                  14.01.2017 8:43:46	RX	10;6;1;0;39;3.66
                                  14.01.2017 8:43:52	RX	0;255;3;0;2;2.1.0
                                  14.01.2017 8:43:54	TX	4;0;3;0;13;0
                                  14.01.2017 8:43:54	INFO	FW "TimeReporter" assigned to node 4
                                  14.01.2017 8:43:57	RX	6;3;1;0;16;0
                                  14.01.2017 8:43:57	RX	6;6;1;0;3;0
                                  14.01.2017 8:43:57	RX	5;3;1;0;16;0
                                  14.01.2017 8:43:57	RX	5;6;1;0;3;0
                                  14.01.2017 8:43:57	RX	6;5;1;0;0;20.25
                                  14.01.2017 8:44:00	RX	4;255;0;0;17;2.1.0
                                  14.01.2017 8:44:00	CHILD	New child discovered, node id=4, child id=internal
                                  14.01.2017 8:44:00	DEBUG	Update child id=255, type=S_ARDUINO_NODE
                                  14.01.2017 8:44:00	RX	4;255;3;0;6;0
                                  14.01.2017 8:44:00	TX	4;255;3;0;6;M
                                  14.01.2017 8:44:00	RX	4;1;0;0;23;
                                  14.01.2017 8:44:00	CHILD	New child discovered, node id=4, child id=1
                                  14.01.2017 8:44:00	DEBUG	Update child id=1, type=S_CUSTOM
                                  14.01.2017 8:44:00	RX	4;255;3;0;12;v1.0
                                  
                                  

                                  Arduino serial

                                  38602 TSF:MSG:READ,0-0-4,s=0,c=3,t=13,pt=0,l=1,sg=0:0 
                                  0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0
                                  3 TSM:INIT
                                  4 TSF:WUR:MS=0
                                  11 TSM:INIT:TSP OK
                                  12 TSM:INIT:STATID=4
                                  14 TSF:SID:OK,ID=4
                                  16 TSM:FPAR
                                  52 TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                  153 TSF:MSG:READ,0-0-4,s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                  157 TSF:MSG:FPAR OK,ID=0,D=1
                                  2060 TSM:FPAR:OK
                                  2061 TSM:ID
                                  2062 TSM:ID:OK
                                  2064 TSM:UPL
                                  2067 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
                                  2081 TSF:MSG:READ,0-0-4,s=255,c=3,t=25,pt=1,l=1,sg=0:1
                                  2086 TSF:MSG:PONG RECV,HP=1
                                  2088 TSM:UPL:OK
                                  2091 TSM:READY:ID=4,PAR=0,DIS=1
                                  2122 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
                                  2128 TSF:MSG:READ,0-0-4,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
                                  2139 TSF:MSG:SEND,4-4-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.0
                                  2151 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
                                  2170 TSF:MSG:READ,0-0-4,s=255,c=3,t=6,pt=0,l=1,sg=0:M
                                  2184 TSF:MSG:SEND,4-4-0-0,s=1,c=0,t=23,pt=0,l=0,sg=0,ft=0,st=OK:
                                  2192 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=11,pt=0,l=9,sg=0,ft=0,st=OK:Yang Node
                                  2236 !TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=12,pt=0,l=4,sg=0,ft=0,st=NACK:v1.0
                                  
                                  Yang NodeReady.
                                  2243 MCO:REG:REQ
                                  2249 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=1,st=OK:2
                                  2265 TSF:MSG:READ,0-0-4,s=255,c=3,t=27,pt=1,l=1,sg=0:1
                                  2269 MCO:PIM:NODE REG=1
                                  2272 MCO:BGN:STP
                                  2273 MCO:BGN:INIT OK,TSP=1
                                  2315 TSF:MSG:READ,0-0-4,s=255,c=3,t=6,pt=0,l=6,sg=0:Metric
                                  

                                  0_1484381990012_upload-678581ea-b243-4cea-8b4b-12fd2faf9c9b

                                  tekkaT Offline
                                  tekkaT Offline
                                  tekka
                                  Admin
                                  wrote on last edited by
                                  #20

                                  @Werwolfx I don't see any MYSBootloader startup message in your log. Please re-download the .hex from the github repo to ensure you are on the most recent version and flash it following these instructions: https://www.mysensors.org/about/ota

                                  W 1 Reply Last reply
                                  0
                                  • tekkaT tekka

                                    @Werwolfx I don't see any MYSBootloader startup message in your log. Please re-download the .hex from the github repo to ensure you are on the most recent version and flash it following these instructions: https://www.mysensors.org/about/ota

                                    W Offline
                                    W Offline
                                    Werwolfx
                                    wrote on last edited by
                                    #21

                                    @tekka
                                    i tryed it
                                    My little instructions for Arduino Atmega328p 5v ext
                                    1)download from https://github.com/mysensors/MySensorsBootloaderRF24
                                    2)copy to arduino folder arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors and paste boards.txt

                                    proMYSBL.name=ATmega328 16Mhz MYSBootloader
                                    
                                    proMYSBL.upload.tool=avrdude
                                    proMYSBL.upload.protocol=arduino
                                    proMYSBL.upload.maximum_size=30720
                                    proMYSBL.upload.maximum_data_size=2048
                                    proMYSBL.upload.speed=115200
                                    
                                    proMYSBL.bootloader.tool=avrdude
                                    proMYSBL.bootloader.low_fuses=0xF7
                                    proMYSBL.bootloader.high_fuses=0xDA
                                    proMYSBL.bootloader.extended_fuses=0x06
                                    proMYSBL.bootloader.unlock_bits=0x3F
                                    proMYSBL.bootloader.lock_bits=0x0F
                                    proMYSBL.bootloader.file=MySensors/MYSBootloader.hex
                                    
                                    proMYSBL.build.mcu=atmega328p
                                    proMYSBL.build.f_cpu=16000000L
                                    proMYSBL.build.board=AVR_UNO
                                    proMYSBL.build.core=arduino
                                    proMYSBL.build.variant=standard
                                    

                                    3)In Arduino IDE select downloadex bootloader and burn it to Atmega
                                    avrdude log

                                    /home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude -C/home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf -v -patmega328p -cusbasp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0x06:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xF7:m 
                                    
                                    avrdude: Version 6.3, compiled on Dec 16 2016 at 12:32:01
                                             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                                             Copyright (c) 2007-2014 Joerg Wunsch
                                    
                                             System wide configuration file is "/home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf"
                                             User configuration file is "/home/werwolfx/.avrduderc"
                                             User configuration file does not exist or is not a regular file, skipping
                                    
                                             Using Port                    : usb
                                             Using Programmer              : usbasp
                                             AVR Part                      : ATmega328P
                                             Chip Erase delay              : 9000 us
                                             PAGEL                         : PD7
                                             BS2                           : PC2
                                             RESET disposition             : dedicated
                                             RETRY pulse                   : SCK
                                             serial program mode           : yes
                                             parallel program mode         : yes
                                             Timeout                       : 200
                                             StabDelay                     : 100
                                             CmdexeDelay                   : 25
                                             SyncLoops                     : 32
                                             ByteDelay                     : 0
                                             PollIndex                     : 3
                                             PollValue                     : 0x53
                                             Memory Detail                 :
                                    
                                                                      Block Poll               Page                       Polled
                                               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
                                               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
                                               eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
                                               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
                                               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                               lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                               calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                               signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
                                    
                                             Programmer Type : usbasp
                                             Description     : USBasp, http://www.fischl.de/usbasp/
                                    
                                    avrdude: auto set sck period (because given equals null)
                                    avrdude: warning: cannot set sck period. please check for usbasp firmware update.
                                    avrdude: AVR device initialized and ready to accept instructions
                                    
                                    Reading | ################################################## | 100% 0.00s
                                    
                                    avrdude: Device signature = 0x1e950f (probably m328p)
                                    avrdude: erasing chip
                                    avrdude: auto set sck period (because given equals null)
                                    avrdude: warning: cannot set sck period. please check for usbasp firmware update.
                                    avrdude: reading input file "0x3F"
                                    avrdude: writing lock (1 bytes):
                                    
                                    /home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude -C/home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf -v -patmega328p -cusbasp -Pusb -Uflash:w:/media/werwolfx/SSDData/arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors/MYSBootloader.hex:i -Ulock:w:0x0F:m 
                                    Writing | ################################################## | 100% 0.00s
                                    
                                    avrdude: 1 bytes of lock written
                                    avrdude: verifying lock memory against 0x3F:
                                    avrdude: load data lock data from input file 0x3F:
                                    avrdude: input file 0x3F contains 1 bytes
                                    avrdude: reading on-chip lock data:
                                    
                                    Reading | ################################################## | 100% 0.00s
                                    
                                    avrdude: verifying ...
                                    avrdude: 1 bytes of lock verified
                                    avrdude: reading input file "0x06"
                                    avrdude: writing efuse (1 bytes):
                                    
                                    Writing |  ***failed;  
                                    ################################################## | 100% 0.03s
                                    
                                    avrdude: 1 bytes of efuse written
                                    avrdude: verifying efuse memory against 0x06:
                                    avrdude: load data efuse data from input file 0x06:
                                    avrdude: input file 0x06 contains 1 bytes
                                    avrdude: reading on-chip efuse data:
                                    
                                    Reading | ################################################## | 100% 0.00s
                                    
                                    avrdude: verifying ...
                                    avrdude: WARNING: invalid value for unused bits in fuse "efuse", should be set to 1 according to datasheet
                                    This behaviour is deprecated and will result in an error in future version
                                    You probably want to use 0xfe instead of 0x06 (double check with your datasheet first).
                                    avrdude: 1 bytes of efuse verified
                                    avrdude: reading input file "0xDA"
                                    avrdude: writing hfuse (1 bytes):
                                    
                                    Writing | ################################################## | 100% 0.00s
                                    
                                    avrdude: 1 bytes of hfuse written
                                    avrdude: verifying hfuse memory against 0xDA:
                                    avrdude: load data hfuse data from input file 0xDA:
                                    avrdude: input file 0xDA contains 1 bytes
                                    avrdude: reading on-chip hfuse data:
                                    
                                    Reading | ################################################## | 100% 0.00s
                                    
                                    avrdude: verifying ...
                                    avrdude: 1 bytes of hfuse verified
                                    avrdude: reading input file "0xF7"
                                    avrdude: writing lfuse (1 bytes):
                                    
                                    Writing | ################################################## | 100% 0.01s
                                    
                                    avrdude: 1 bytes of lfuse written
                                    avrdude: verifying lfuse memory against 0xF7:
                                    avrdude: load data lfuse data from input file 0xF7:
                                    avrdude: input file 0xF7 contains 1 bytes
                                    avrdude: reading on-chip lfuse data:
                                    
                                    Reading | ################################################## | 100% 0.00s
                                    
                                    avrdude: verifying ...
                                    
                                    avrdude: 1 bytes of lfuse verified
                                    avrdude: Version 6.3, compiled on Dec 16 2016 at 12:32:01
                                    
                                             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                                             Copyright (c) 2007-2014 Joerg Wunsch
                                    
                                             System wide configuration file is "/home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf"
                                             User configuration file is "/home/werwolfx/.avrduderc"
                                             User configuration file does not exist or is not a regular file, skipping
                                    
                                             Using Port                    : usb
                                             Using Programmer              : usbasp
                                             AVR Part                      : ATmega328P
                                             Chip Erase delay              : 9000 us
                                    avrdude done.  Thank you.
                                             PAGEL                         : PD7
                                    
                                             BS2                           : PC2
                                             RESET disposition             : dedicated
                                             RETRY pulse                   : SCK
                                             serial program mode           : yes
                                             parallel program mode         : yes
                                             Timeout                       : 200
                                             StabDelay                     : 100
                                             CmdexeDelay                   : 25
                                             SyncLoops                     : 32
                                             ByteDelay                     : 0
                                             PollIndex                     : 3
                                             PollValue                     : 0x53
                                             Memory Detail                 :
                                    
                                                                      Block Poll               Page                       Polled
                                               Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
                                               ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
                                               eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
                                               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
                                               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                               lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                               calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                               signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
                                    
                                             Programmer Type : usbasp
                                             Description     : USBasp, http://www.fischl.de/usbasp/
                                    
                                    avrdude: auto set sck period (because given equals null)
                                    avrdude: warning: cannot set sck period. please check for usbasp firmware update.
                                    avrdude: AVR device initialized and ready to accept instructions
                                    
                                    Reading | ################################################## | 100% 0.00s
                                    
                                    avrdude: Device signature = 0x1e950f (probably m328p)
                                    avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
                                             To disable this feature, specify the -D option.
                                    avrdude: erasing chip
                                    avrdude: auto set sck period (because given equals null)
                                    avrdude: warning: cannot set sck period. please check for usbasp firmware update.
                                    avrdude: reading input file "/media/werwolfx/SSDData/arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors/MYSBootloader.hex"
                                    avrdude: writing flash (32762 bytes):
                                    
                                    Writing | ################################################## | 100% 0.00s
                                    
                                    avrdude: 32762 bytes of flash written
                                    avrdude: verifying flash memory against /media/werwolfx/SSDData/arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors/MYSBootloader.hex:
                                    avrdude: load data flash data from input file /media/werwolfx/SSDData/arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors/MYSBootloader.hex:
                                    avrdude: input file /media/werwolfx/SSDData/arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors/MYSBootloader.hex contains 32762 bytes
                                    avrdude: reading on-chip flash data:
                                    
                                    Reading | ################################################## | 100% 0.00s
                                    
                                    avrdude: verifying ...
                                    avrdude: 32762 bytes of flash verified
                                    avrdude: reading input file "0x0F"
                                    avrdude: writing lock (1 bytes):
                                    
                                    Writing | ################################################## | 100% 0.01s
                                    
                                    avrdude: 1 bytes of lock written
                                    avrdude: verifying lock memory against 0x0F:
                                    avrdude: load data lock data from input file 0x0F:
                                    avrdude: input file 0x0F contains 1 bytes
                                    avrdude: reading on-chip lock data:
                                    
                                    Reading | ################################################## | 100% 0.00s
                                    
                                    avrdude: verifying ...
                                    avrdude: 1 bytes of lock verified
                                    
                                    avrdude done.  Thank you.
                                    
                                    1. I loaded test sketh WaterMeterPulssensor (from Mysensors example) to arduino
                                      wait if the module is start and see to MYSController
                                      in MYSController
                                    14.01.2017 11:34:49	RX	5;6;1;0;3;0
                                    14.01.2017 11:34:52	RX	10;5;1;0;17;5519
                                    14.01.2017 11:34:52	RX	10;6;1;0;39;23.99
                                    14.01.2017 11:34:57	RX	6;3;1;0;16;0
                                    14.01.2017 11:34:58	RX	6;4;1;0;37;170
                                    14.01.2017 11:34:58	RX	6;6;1;0;3;0
                                    14.01.2017 11:34:58	RX	6;5;1;0;0;20.50
                                    14.01.2017 11:35:01	RX	4;255;0;0;17;2.1.0
                                    14.01.2017 11:35:01	DEBUG	Update child id=255, type=S_ARDUINO_NODE
                                    14.01.2017 11:35:01	RX	4;255;3;0;6;0
                                    14.01.2017 11:35:01	TX	4;255;3;0;6;M
                                    14.01.2017 11:35:02	RX	4;255;3;0;11;Water Meter
                                    14.01.2017 11:35:02	RX	4;255;3;0;12;1.1
                                    14.01.2017 11:35:02	RX	4;1;0;0;21;
                                    14.01.2017 11:35:02	DEBUG	Update child id=1, type=S_WATER
                                    14.01.2017 11:35:02	RX	4;1;2;0;24;
                                    14.01.2017 11:35:08	RX	10;5;1;0;17;5462
                                    14.01.2017 11:35:08	RX	10;6;1;0;39;23.75
                                    14.01.2017 11:35:18	RX	7;3;1;0;16;0
                                    14.01.2017 11:35:18	RX	7;4;1;0;37;192
                                    14.01.2017 11:35:18	RX	7;6;1;0;3;0
                                    14.01.2017 11:35:19	RX	5;3;1;0;16;0
                                    14.01.2017 11:35:19	RX	5;4;1;0;37;34
                                    14.01.2017 11:35:19	RX	5;6;1;0;3;0
                                    
                                    

                                    5)in MYSController Assign FW Blink and Reboot
                                    MYSController

                                    14.01.2017 11:38:03	TX	4;0;3;0;13;0
                                    14.01.2017 11:38:09	RX	4;255;0;0;17;2.1.0
                                    14.01.2017 11:38:09	CHILD	New child discovered, node id=4, child id=internal
                                    14.01.2017 11:38:09	DEBUG	Update child id=255, type=S_ARDUINO_NODE
                                    14.01.2017 11:38:09	RX	4;255;3;0;6;0
                                    14.01.2017 11:38:09	TX	4;255;3;0;6;M
                                    14.01.2017 11:38:09	RX	4;255;3;0;11;Water Meter
                                    14.01.2017 11:38:09	RX	4;255;3;0;12;1.1
                                    14.01.2017 11:38:09	RX	4;1;0;0;21;
                                    14.01.2017 11:38:09	CHILD	New child discovered, node id=4, child id=1
                                    14.01.2017 11:38:09	DEBUG	Update child id=1, type=S_WATER
                                    14.01.2017 11:38:10	RX	4;1;2;0;24;
                                    14.01.2017 11:38:14	RX	4;255;3;0;21;0
                                    

                                    Serial

                                    101794 TSF:MSG:READ,0-0-4,s=0,c=3,t=13,pt=0,l=1,sg=0:0
                                    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0
                                    3 TSM:INIT
                                    4 TSF:WUR:MS=0
                                    11 TSM:INIT:TSP OK
                                    13 TSM:INIT:STATID=4
                                    14 TSF:SID:OK,ID=4
                                    16 TSM:FPAR
                                    52 TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                    345 TSF:MSG:READ,0-0-4,s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                    350 TSF:MSG:FPAR OK,ID=0,D=1
                                    2060 TSM:FPAR:OK
                                    2061 TSM:ID
                                    2062 TSM:ID:OK
                                    2064 TSM:UPL
                                    2067 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
                                    2081 TSF:MSG:READ,0-0-4,s=255,c=3,t=25,pt=1,l=1,sg=0:1
                                    2086 TSF:MSG:PONG RECV,HP=1
                                    2089 TSM:UPL:OK
                                    2091 TSM:READY:ID=4,PAR=0,DIS=1
                                    2098 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
                                    2104 TSF:MSG:READ,0-0-4,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
                                    2114 TSF:MSG:SEND,4-4-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.0
                                    2126 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
                                    2157 TSF:MSG:READ,0-0-4,s=255,c=3,t=6,pt=0,l=1,sg=0:M
                                    2164 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=11,pt=0,l=11,sg=0,ft=0,st=OK:Water Meter
                                    2176 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1
                                    2183 TSF:MSG:SEND,4-4-0-0,s=1,c=0,t=21,pt=0,l=0,sg=0,ft=0,st=OK:
                                    2189 MCO:REG:REQ
                                    2193 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
                                    2245 TSF:MSG:READ,0-0-4,s=255,c=3,t=27,pt=1,l=1,sg=0:1
                                    2250 MCO:PIM:NODE REG=1
                                    2252 MCO:BGN:STP
                                    2255 TSF:MSG:SEND,4-4-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
                                    2262 MCO:BGN:INIT OK,TSP=1
                                    2335 TSF:MSG:READ,0-0-4,s=255,c=3,t=6,pt=0,l=6,sg=0:Metric
                                    2866 TSF:MSG:READ,0-0-4,s=1,c=1,t=24,pt=0,l=6,sg=0:400100
                                    Received last pulse count from gw:400100
                                    6381 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
                                    6386 TSF:MSG:BC
                                    6637 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=0,st=OK:0```
                                    tekkaT 1 Reply Last reply
                                    0
                                    • W Werwolfx

                                      @tekka
                                      i tryed it
                                      My little instructions for Arduino Atmega328p 5v ext
                                      1)download from https://github.com/mysensors/MySensorsBootloaderRF24
                                      2)copy to arduino folder arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors and paste boards.txt

                                      proMYSBL.name=ATmega328 16Mhz MYSBootloader
                                      
                                      proMYSBL.upload.tool=avrdude
                                      proMYSBL.upload.protocol=arduino
                                      proMYSBL.upload.maximum_size=30720
                                      proMYSBL.upload.maximum_data_size=2048
                                      proMYSBL.upload.speed=115200
                                      
                                      proMYSBL.bootloader.tool=avrdude
                                      proMYSBL.bootloader.low_fuses=0xF7
                                      proMYSBL.bootloader.high_fuses=0xDA
                                      proMYSBL.bootloader.extended_fuses=0x06
                                      proMYSBL.bootloader.unlock_bits=0x3F
                                      proMYSBL.bootloader.lock_bits=0x0F
                                      proMYSBL.bootloader.file=MySensors/MYSBootloader.hex
                                      
                                      proMYSBL.build.mcu=atmega328p
                                      proMYSBL.build.f_cpu=16000000L
                                      proMYSBL.build.board=AVR_UNO
                                      proMYSBL.build.core=arduino
                                      proMYSBL.build.variant=standard
                                      

                                      3)In Arduino IDE select downloadex bootloader and burn it to Atmega
                                      avrdude log

                                      /home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude -C/home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf -v -patmega328p -cusbasp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0x06:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xF7:m 
                                      
                                      avrdude: Version 6.3, compiled on Dec 16 2016 at 12:32:01
                                               Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                                               Copyright (c) 2007-2014 Joerg Wunsch
                                      
                                               System wide configuration file is "/home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf"
                                               User configuration file is "/home/werwolfx/.avrduderc"
                                               User configuration file does not exist or is not a regular file, skipping
                                      
                                               Using Port                    : usb
                                               Using Programmer              : usbasp
                                               AVR Part                      : ATmega328P
                                               Chip Erase delay              : 9000 us
                                               PAGEL                         : PD7
                                               BS2                           : PC2
                                               RESET disposition             : dedicated
                                               RETRY pulse                   : SCK
                                               serial program mode           : yes
                                               parallel program mode         : yes
                                               Timeout                       : 200
                                               StabDelay                     : 100
                                               CmdexeDelay                   : 25
                                               SyncLoops                     : 32
                                               ByteDelay                     : 0
                                               PollIndex                     : 3
                                               PollValue                     : 0x53
                                               Memory Detail                 :
                                      
                                                                        Block Poll               Page                       Polled
                                                 Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
                                                 ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
                                                 eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
                                                 flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
                                                 lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                                 signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
                                      
                                               Programmer Type : usbasp
                                               Description     : USBasp, http://www.fischl.de/usbasp/
                                      
                                      avrdude: auto set sck period (because given equals null)
                                      avrdude: warning: cannot set sck period. please check for usbasp firmware update.
                                      avrdude: AVR device initialized and ready to accept instructions
                                      
                                      Reading | ################################################## | 100% 0.00s
                                      
                                      avrdude: Device signature = 0x1e950f (probably m328p)
                                      avrdude: erasing chip
                                      avrdude: auto set sck period (because given equals null)
                                      avrdude: warning: cannot set sck period. please check for usbasp firmware update.
                                      avrdude: reading input file "0x3F"
                                      avrdude: writing lock (1 bytes):
                                      
                                      /home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude -C/home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf -v -patmega328p -cusbasp -Pusb -Uflash:w:/media/werwolfx/SSDData/arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors/MYSBootloader.hex:i -Ulock:w:0x0F:m 
                                      Writing | ################################################## | 100% 0.00s
                                      
                                      avrdude: 1 bytes of lock written
                                      avrdude: verifying lock memory against 0x3F:
                                      avrdude: load data lock data from input file 0x3F:
                                      avrdude: input file 0x3F contains 1 bytes
                                      avrdude: reading on-chip lock data:
                                      
                                      Reading | ################################################## | 100% 0.00s
                                      
                                      avrdude: verifying ...
                                      avrdude: 1 bytes of lock verified
                                      avrdude: reading input file "0x06"
                                      avrdude: writing efuse (1 bytes):
                                      
                                      Writing |  ***failed;  
                                      ################################################## | 100% 0.03s
                                      
                                      avrdude: 1 bytes of efuse written
                                      avrdude: verifying efuse memory against 0x06:
                                      avrdude: load data efuse data from input file 0x06:
                                      avrdude: input file 0x06 contains 1 bytes
                                      avrdude: reading on-chip efuse data:
                                      
                                      Reading | ################################################## | 100% 0.00s
                                      
                                      avrdude: verifying ...
                                      avrdude: WARNING: invalid value for unused bits in fuse "efuse", should be set to 1 according to datasheet
                                      This behaviour is deprecated and will result in an error in future version
                                      You probably want to use 0xfe instead of 0x06 (double check with your datasheet first).
                                      avrdude: 1 bytes of efuse verified
                                      avrdude: reading input file "0xDA"
                                      avrdude: writing hfuse (1 bytes):
                                      
                                      Writing | ################################################## | 100% 0.00s
                                      
                                      avrdude: 1 bytes of hfuse written
                                      avrdude: verifying hfuse memory against 0xDA:
                                      avrdude: load data hfuse data from input file 0xDA:
                                      avrdude: input file 0xDA contains 1 bytes
                                      avrdude: reading on-chip hfuse data:
                                      
                                      Reading | ################################################## | 100% 0.00s
                                      
                                      avrdude: verifying ...
                                      avrdude: 1 bytes of hfuse verified
                                      avrdude: reading input file "0xF7"
                                      avrdude: writing lfuse (1 bytes):
                                      
                                      Writing | ################################################## | 100% 0.01s
                                      
                                      avrdude: 1 bytes of lfuse written
                                      avrdude: verifying lfuse memory against 0xF7:
                                      avrdude: load data lfuse data from input file 0xF7:
                                      avrdude: input file 0xF7 contains 1 bytes
                                      avrdude: reading on-chip lfuse data:
                                      
                                      Reading | ################################################## | 100% 0.00s
                                      
                                      avrdude: verifying ...
                                      
                                      avrdude: 1 bytes of lfuse verified
                                      avrdude: Version 6.3, compiled on Dec 16 2016 at 12:32:01
                                      
                                               Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                                               Copyright (c) 2007-2014 Joerg Wunsch
                                      
                                               System wide configuration file is "/home/werwolfx/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf"
                                               User configuration file is "/home/werwolfx/.avrduderc"
                                               User configuration file does not exist or is not a regular file, skipping
                                      
                                               Using Port                    : usb
                                               Using Programmer              : usbasp
                                               AVR Part                      : ATmega328P
                                               Chip Erase delay              : 9000 us
                                      avrdude done.  Thank you.
                                               PAGEL                         : PD7
                                      
                                               BS2                           : PC2
                                               RESET disposition             : dedicated
                                               RETRY pulse                   : SCK
                                               serial program mode           : yes
                                               parallel program mode         : yes
                                               Timeout                       : 200
                                               StabDelay                     : 100
                                               CmdexeDelay                   : 25
                                               SyncLoops                     : 32
                                               ByteDelay                     : 0
                                               PollIndex                     : 3
                                               PollValue                     : 0x53
                                               Memory Detail                 :
                                      
                                                                        Block Poll               Page                       Polled
                                                 Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
                                                 ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
                                                 eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
                                                 flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
                                                 lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
                                                 calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                                 signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
                                      
                                               Programmer Type : usbasp
                                               Description     : USBasp, http://www.fischl.de/usbasp/
                                      
                                      avrdude: auto set sck period (because given equals null)
                                      avrdude: warning: cannot set sck period. please check for usbasp firmware update.
                                      avrdude: AVR device initialized and ready to accept instructions
                                      
                                      Reading | ################################################## | 100% 0.00s
                                      
                                      avrdude: Device signature = 0x1e950f (probably m328p)
                                      avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
                                               To disable this feature, specify the -D option.
                                      avrdude: erasing chip
                                      avrdude: auto set sck period (because given equals null)
                                      avrdude: warning: cannot set sck period. please check for usbasp firmware update.
                                      avrdude: reading input file "/media/werwolfx/SSDData/arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors/MYSBootloader.hex"
                                      avrdude: writing flash (32762 bytes):
                                      
                                      Writing | ################################################## | 100% 0.00s
                                      
                                      avrdude: 32762 bytes of flash written
                                      avrdude: verifying flash memory against /media/werwolfx/SSDData/arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors/MYSBootloader.hex:
                                      avrdude: load data flash data from input file /media/werwolfx/SSDData/arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors/MYSBootloader.hex:
                                      avrdude: input file /media/werwolfx/SSDData/arduino-1.8.0/hardware/arduino/avr/bootloaders/MySensors/MYSBootloader.hex contains 32762 bytes
                                      avrdude: reading on-chip flash data:
                                      
                                      Reading | ################################################## | 100% 0.00s
                                      
                                      avrdude: verifying ...
                                      avrdude: 32762 bytes of flash verified
                                      avrdude: reading input file "0x0F"
                                      avrdude: writing lock (1 bytes):
                                      
                                      Writing | ################################################## | 100% 0.01s
                                      
                                      avrdude: 1 bytes of lock written
                                      avrdude: verifying lock memory against 0x0F:
                                      avrdude: load data lock data from input file 0x0F:
                                      avrdude: input file 0x0F contains 1 bytes
                                      avrdude: reading on-chip lock data:
                                      
                                      Reading | ################################################## | 100% 0.00s
                                      
                                      avrdude: verifying ...
                                      avrdude: 1 bytes of lock verified
                                      
                                      avrdude done.  Thank you.
                                      
                                      1. I loaded test sketh WaterMeterPulssensor (from Mysensors example) to arduino
                                        wait if the module is start and see to MYSController
                                        in MYSController
                                      14.01.2017 11:34:49	RX	5;6;1;0;3;0
                                      14.01.2017 11:34:52	RX	10;5;1;0;17;5519
                                      14.01.2017 11:34:52	RX	10;6;1;0;39;23.99
                                      14.01.2017 11:34:57	RX	6;3;1;0;16;0
                                      14.01.2017 11:34:58	RX	6;4;1;0;37;170
                                      14.01.2017 11:34:58	RX	6;6;1;0;3;0
                                      14.01.2017 11:34:58	RX	6;5;1;0;0;20.50
                                      14.01.2017 11:35:01	RX	4;255;0;0;17;2.1.0
                                      14.01.2017 11:35:01	DEBUG	Update child id=255, type=S_ARDUINO_NODE
                                      14.01.2017 11:35:01	RX	4;255;3;0;6;0
                                      14.01.2017 11:35:01	TX	4;255;3;0;6;M
                                      14.01.2017 11:35:02	RX	4;255;3;0;11;Water Meter
                                      14.01.2017 11:35:02	RX	4;255;3;0;12;1.1
                                      14.01.2017 11:35:02	RX	4;1;0;0;21;
                                      14.01.2017 11:35:02	DEBUG	Update child id=1, type=S_WATER
                                      14.01.2017 11:35:02	RX	4;1;2;0;24;
                                      14.01.2017 11:35:08	RX	10;5;1;0;17;5462
                                      14.01.2017 11:35:08	RX	10;6;1;0;39;23.75
                                      14.01.2017 11:35:18	RX	7;3;1;0;16;0
                                      14.01.2017 11:35:18	RX	7;4;1;0;37;192
                                      14.01.2017 11:35:18	RX	7;6;1;0;3;0
                                      14.01.2017 11:35:19	RX	5;3;1;0;16;0
                                      14.01.2017 11:35:19	RX	5;4;1;0;37;34
                                      14.01.2017 11:35:19	RX	5;6;1;0;3;0
                                      
                                      

                                      5)in MYSController Assign FW Blink and Reboot
                                      MYSController

                                      14.01.2017 11:38:03	TX	4;0;3;0;13;0
                                      14.01.2017 11:38:09	RX	4;255;0;0;17;2.1.0
                                      14.01.2017 11:38:09	CHILD	New child discovered, node id=4, child id=internal
                                      14.01.2017 11:38:09	DEBUG	Update child id=255, type=S_ARDUINO_NODE
                                      14.01.2017 11:38:09	RX	4;255;3;0;6;0
                                      14.01.2017 11:38:09	TX	4;255;3;0;6;M
                                      14.01.2017 11:38:09	RX	4;255;3;0;11;Water Meter
                                      14.01.2017 11:38:09	RX	4;255;3;0;12;1.1
                                      14.01.2017 11:38:09	RX	4;1;0;0;21;
                                      14.01.2017 11:38:09	CHILD	New child discovered, node id=4, child id=1
                                      14.01.2017 11:38:09	DEBUG	Update child id=1, type=S_WATER
                                      14.01.2017 11:38:10	RX	4;1;2;0;24;
                                      14.01.2017 11:38:14	RX	4;255;3;0;21;0
                                      

                                      Serial

                                      101794 TSF:MSG:READ,0-0-4,s=0,c=3,t=13,pt=0,l=1,sg=0:0
                                      0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0
                                      3 TSM:INIT
                                      4 TSF:WUR:MS=0
                                      11 TSM:INIT:TSP OK
                                      13 TSM:INIT:STATID=4
                                      14 TSF:SID:OK,ID=4
                                      16 TSM:FPAR
                                      52 TSF:MSG:SEND,4-4-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                                      345 TSF:MSG:READ,0-0-4,s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                      350 TSF:MSG:FPAR OK,ID=0,D=1
                                      2060 TSM:FPAR:OK
                                      2061 TSM:ID
                                      2062 TSM:ID:OK
                                      2064 TSM:UPL
                                      2067 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
                                      2081 TSF:MSG:READ,0-0-4,s=255,c=3,t=25,pt=1,l=1,sg=0:1
                                      2086 TSF:MSG:PONG RECV,HP=1
                                      2089 TSM:UPL:OK
                                      2091 TSM:READY:ID=4,PAR=0,DIS=1
                                      2098 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
                                      2104 TSF:MSG:READ,0-0-4,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
                                      2114 TSF:MSG:SEND,4-4-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.1.0
                                      2126 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
                                      2157 TSF:MSG:READ,0-0-4,s=255,c=3,t=6,pt=0,l=1,sg=0:M
                                      2164 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=11,pt=0,l=11,sg=0,ft=0,st=OK:Water Meter
                                      2176 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1
                                      2183 TSF:MSG:SEND,4-4-0-0,s=1,c=0,t=21,pt=0,l=0,sg=0,ft=0,st=OK:
                                      2189 MCO:REG:REQ
                                      2193 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
                                      2245 TSF:MSG:READ,0-0-4,s=255,c=3,t=27,pt=1,l=1,sg=0:1
                                      2250 MCO:PIM:NODE REG=1
                                      2252 MCO:BGN:STP
                                      2255 TSF:MSG:SEND,4-4-0-0,s=1,c=2,t=24,pt=0,l=0,sg=0,ft=0,st=OK:
                                      2262 MCO:BGN:INIT OK,TSP=1
                                      2335 TSF:MSG:READ,0-0-4,s=255,c=3,t=6,pt=0,l=6,sg=0:Metric
                                      2866 TSF:MSG:READ,0-0-4,s=1,c=1,t=24,pt=0,l=6,sg=0:400100
                                      Received last pulse count from gw:400100
                                      6381 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0:
                                      6386 TSF:MSG:BC
                                      6637 TSF:MSG:SEND,4-4-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=0,st=OK:0```
                                      tekkaT Offline
                                      tekkaT Offline
                                      tekka
                                      Admin
                                      wrote on last edited by tekka
                                      #22

                                      @Werwolfx but still no signs of MYSBootloader - what RF channel are you on?

                                      W 1 Reply Last reply
                                      0
                                      • tekkaT tekka

                                        @Werwolfx but still no signs of MYSBootloader - what RF channel are you on?

                                        W Offline
                                        W Offline
                                        Werwolfx
                                        wrote on last edited by Werwolfx
                                        #23

                                        @tekka
                                        NRF24L01+
                                        #define MY_RADIO_NRF24

                                        What is the "no signs of MYSBootloader"?

                                        tekkaT 1 Reply Last reply
                                        0
                                        • W Werwolfx

                                          @tekka
                                          NRF24L01+
                                          #define MY_RADIO_NRF24

                                          What is the "no signs of MYSBootloader"?

                                          tekkaT Offline
                                          tekkaT Offline
                                          tekka
                                          Admin
                                          wrote on last edited by
                                          #24

                                          @Werwolfx As soon as the bootloader takes over, in your case after the reboot request (1), but before the MYS lib 2.1.0 init message (2):

                                          (1) 14.01.2017 11:38:03 TX  4;0;3;0;13;0
                                          (2) 14.01.2017 11:38:09 RX  4;255;0;0;17;2.1.0
                                          

                                          it will send a I_FIRMWARE_CONFIG_REQUEST message to inform the controller about the currently loaded FW and request a new FW.

                                          looks like this:

                                          4;255;4;0;0;BE0001003003D8490102
                                          

                                          This is missing in your case, therefore I'm wondering if you have incompatible radio settings. Please post your GW sketch and upload your MYSBootloader.hex file for further troubleshooting.

                                          W 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          19

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          Posts


                                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular