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 pre-release & MYSController 1.0.0beta

MYSBootloader 1.3 pre-release & MYSController 1.0.0beta

Scheduled Pinned Locked Moved Development
otamyscontrollermysbootloader
198 Posts 53 Posters 85.1k Views 58 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.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by
    #19

    yes that's it. a bug in your code, like infinite loop, ram troubles... that should be rare depending of your code. plus generally you/I test on breadboard before sending it in prod, but that can happen and is good to know ;)

    ahmedadelhosniA 1 Reply Last reply
    0
    • scalzS scalz

      yes that's it. a bug in your code, like infinite loop, ram troubles... that should be rare depending of your code. plus generally you/I test on breadboard before sending it in prod, but that can happen and is good to know ;)

      ahmedadelhosniA Offline
      ahmedadelhosniA Offline
      ahmedadelhosni
      wrote on last edited by
      #20

      @scalz great.
      This means that MYSBootloader can handle this problem and enter the bootloader mode even if the MCU freezes.

      @tekka you state that the current version can handle a freeze SW. Also if the new code is corrupted during programming by unverified CRC or whatever, it will also handle that problem and resets and wait for a new flashing order.
      Is this new in this version ? I am some how sure that MYSBootloader previously had a problem handling thoses types of failures, and that's why I was going to use DualOptiboot as I read before that it can handle those failures

      Sorry for lots of questions but I am trying to reorganise my info.

      1 Reply Last reply
      1
      • M mannkind

        This post is deleted!

        rollercontainerR Offline
        rollercontainerR Offline
        rollercontainer
        wrote on last edited by
        #21

        @mannkind @tekka

        So its working with a GatewayW5100MQTTClient aswell? That would be fantastic, I thought its only for serial and ethernet gateways. Do I also have to use port 5003?

        M 1 Reply Last reply
        0
        • F Offline
          F Offline
          Fabien
          wrote on last edited by
          #22

          @tekka If this can help for an RFM69 version :
          https://github.com/vvvlc/Funky-FOTA

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cdr
            wrote on last edited by
            #23

            @rollercontainer confirmed working with W5100mqtt here!

            1 Reply Last reply
            0
            • rollercontainerR Offline
              rollercontainerR Offline
              rollercontainer
              wrote on last edited by
              #24

              I have to ask again: GatewayW5100MQTTClient or the old Broker Gateway?
              I am not able to connect to my GatewayW5100MQTTClient on port 1883 or 5003 with MYSController 1.0.0beta.
              The gateway is in working condition with openHAB.

              1 Reply Last reply
              0
              • rollercontainerR rollercontainer

                @mannkind @tekka

                So its working with a GatewayW5100MQTTClient aswell? That would be fantastic, I thought its only for serial and ethernet gateways. Do I also have to use port 5003?

                M Offline
                M Offline
                mannkind
                wrote on last edited by
                #25
                This post is deleted!
                rollercontainerR 1 Reply Last reply
                0
                • M mannkind

                  This post is deleted!

                  rollercontainerR Offline
                  rollercontainerR Offline
                  rollercontainer
                  wrote on last edited by
                  #26

                  @mannkind

                  THX! What difference a single letter makes... ^^

                  @cdr What do you use exactly?

                  1 Reply Last reply
                  0
                  • n1ck1355N Offline
                    n1ck1355N Offline
                    n1ck1355
                    wrote on last edited by n1ck1355
                    #27

                    Hello @ all :)
                    first thx to tekka for the great job :)
                    as the release notes say with the mysbootloader 1.3pre one can use the serial upload.
                    is its usable via the arduino ide? Because i can upload a sketch but it seems not to start.

                    also as rollercontainer asked is the myscontroller application usable via the old broker or with the new clientmqtt gateway?
                    Would be nice if there are some instructions how to use ;)

                    tekkaT 1 Reply Last reply
                    0
                    • n1ck1355N n1ck1355

                      Hello @ all :)
                      first thx to tekka for the great job :)
                      as the release notes say with the mysbootloader 1.3pre one can use the serial upload.
                      is its usable via the arduino ide? Because i can upload a sketch but it seems not to start.

                      also as rollercontainer asked is the myscontroller application usable via the old broker or with the new clientmqtt gateway?
                      Would be nice if there are some instructions how to use ;)

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

                      @n1ck1355 @rollercontainer MYSController does not support MQTT (at the moment), but have a look at MyController.org. Please provide more details regarding your issue with MYSBootloader 1.3pre.

                      1 Reply Last reply
                      0
                      • n1ck1355N Offline
                        n1ck1355N Offline
                        n1ck1355
                        wrote on last edited by
                        #29

                        thx tekka for clearing this :)
                        for my bootloader problem:
                        i burned the 1.3mysbootloader with the 8mhz config successfully from the arduino dev ide.
                        then i uploaded a little test sketch like this without errors:

                        void setup() {
                          Serial.begin(57600);
                          Serial.println("Setup Start");
                        }
                        
                        void loop() {
                        }
                        
                        

                        but there is no output on the serial monitor. it lookes like the bootloader didn't start the sketch.

                        tekkaT 1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          Fabien
                          wrote on last edited by
                          #30

                          I try to add new hex file in MYSController 1.0 but after clicking "reload repo", it tells me 2107-15-31 is not a valid date specification. I don't have the ability to select firmware after this. And after a reboot the "reload repo" is garyed.
                          Arduino ide 1.6.7
                          csv :

                          Type,Name,Version,File,Comments
                          10,Blink,1,Blink.ino.hex,blinking example
                          20,TimeReporter,1,TimeReporter.ino.hex,TimeReporter demo
                          30,SenseBender,1,SensebenderMicro.ino.hex,Sensebender micro
                          

                          Another 'bug". It always ask me to download a "new" version ... I install it but ask me again (1.0 beta)
                          I think this issue is related to the last arduino IDE version.

                          tekkaT rubyanR 2 Replies Last reply
                          0
                          • F Fabien

                            I try to add new hex file in MYSController 1.0 but after clicking "reload repo", it tells me 2107-15-31 is not a valid date specification. I don't have the ability to select firmware after this. And after a reboot the "reload repo" is garyed.
                            Arduino ide 1.6.7
                            csv :

                            Type,Name,Version,File,Comments
                            10,Blink,1,Blink.ino.hex,blinking example
                            20,TimeReporter,1,TimeReporter.ino.hex,TimeReporter demo
                            30,SenseBender,1,SensebenderMicro.ino.hex,Sensebender micro
                            

                            Another 'bug". It always ask me to download a "new" version ... I install it but ask me again (1.0 beta)
                            I think this issue is related to the last arduino IDE version.

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

                            @Fabien Are you running MYSController on WINE? I updated a few things, please update to the most recent version of MYSController (build 3312, here or via update button) and post the log. Thanks.

                            F 1 Reply Last reply
                            1
                            • n1ck1355N n1ck1355

                              thx tekka for clearing this :)
                              for my bootloader problem:
                              i burned the 1.3mysbootloader with the 8mhz config successfully from the arduino dev ide.
                              then i uploaded a little test sketch like this without errors:

                              void setup() {
                                Serial.begin(57600);
                                Serial.println("Setup Start");
                              }
                              
                              void loop() {
                              }
                              
                              

                              but there is no output on the serial monitor. it lookes like the bootloader didn't start the sketch.

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

                              @n1ck1355 Please enable logging in MYSController, reboot the node and post the log here after a few mins of recording.

                              1 Reply Last reply
                              0
                              • TakeroT Offline
                                TakeroT Offline
                                Takero
                                Hardware Contributor
                                wrote on last edited by
                                #33

                                Hi, i like OTA Update :-)

                                How it is possible to change the Cannel from 76 to 105?

                                rollercontainerR 1 Reply Last reply
                                0
                                • TakeroT Takero

                                  Hi, i like OTA Update :-)

                                  How it is possible to change the Cannel from 76 to 105?

                                  rollercontainerR Offline
                                  rollercontainerR Offline
                                  rollercontainer
                                  wrote on last edited by
                                  #34

                                  @Takero https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/MyConfig.h#L387

                                  TakeroT 1 Reply Last reply
                                  0
                                  • rollercontainerR rollercontainer

                                    @Takero https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/MyConfig.h#L387

                                    TakeroT Offline
                                    TakeroT Offline
                                    Takero
                                    Hardware Contributor
                                    wrote on last edited by
                                    #35

                                    @rollercontainer said:

                                    @Takero https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/MyConfig.h#L387

                                    Yes, i know what, but this is not there I am looking for.

                                    The Autor wrote:
                                    Attached bootloader file, compiled with these settings:

                                    nRF24 (Channel 76, base address 0xA8A8E1FC00, data rate 250kbs)
                                    115200 baud (16Mhz) or 57600 (8Mhz)

                                    I want a Bootloader file with Channel 105.

                                    rollercontainerR 1 Reply Last reply
                                    0
                                    • TakeroT Takero

                                      @rollercontainer said:

                                      @Takero https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/MyConfig.h#L387

                                      Yes, i know what, but this is not there I am looking for.

                                      The Autor wrote:
                                      Attached bootloader file, compiled with these settings:

                                      nRF24 (Channel 76, base address 0xA8A8E1FC00, data rate 250kbs)
                                      115200 baud (16Mhz) or 57600 (8Mhz)

                                      I want a Bootloader file with Channel 105.

                                      rollercontainerR Offline
                                      rollercontainerR Offline
                                      rollercontainer
                                      wrote on last edited by
                                      #36

                                      sorry, you are right. Since the source isnt yet available, you cant compile your custom bootloader. So, thats a no.

                                      1 Reply Last reply
                                      0
                                      • n1ck1355N Offline
                                        n1ck1355N Offline
                                        n1ck1355
                                        wrote on last edited by
                                        #37

                                        @tekka here is the log output:

                                        05.04.16 21:51:34	STARTUP	Initialize message logging
                                        05.04.16 21:51:34	STARTUP	1.0.0 (build 3312)
                                        05.04.16 21:51:34	STARTUP	FPC 3.0.0 / Lazarus 1.6
                                        05.04.16 21:51:34	STARTUP	still under development :) tekka 2016
                                        05.04.16 21:51:34	STARTUP	Load INI file...
                                        05.04.16 21:51:34	STARTUP	INI version NA
                                        05.04.16 21:52:08	INFO	Connected to 192.168.0.101:5003
                                        05.04.16 21:52:23	RX	2;255;3;0;15;0100
                                        05.04.16 21:52:23	NODE	New node discovered, node id=2
                                        05.04.16 21:52:23	CHILD	New child discovered, node id=2, child id=internal
                                        05.04.16 21:52:30	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:52:30	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:52:30	INFO	BL version=258
                                        05.04.16 21:52:30	INFO	No FW assigned
                                        05.04.16 21:52:36	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:52:36	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:52:36	INFO	BL version=258
                                        05.04.16 21:52:36	INFO	No FW assigned
                                        05.04.16 21:52:43	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:52:43	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:52:43	INFO	BL version=258
                                        05.04.16 21:52:43	INFO	No FW assigned
                                        05.04.16 21:53:00	RX	2;255;3;0;15;0100
                                        05.04.16 21:53:07	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:53:07	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:53:07	INFO	BL version=258
                                        05.04.16 21:53:07	INFO	No FW assigned
                                        05.04.16 21:53:14	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:53:14	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:53:14	INFO	BL version=258
                                        05.04.16 21:53:14	INFO	No FW assigned
                                        05.04.16 21:53:21	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:53:21	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:53:21	INFO	BL version=258
                                        05.04.16 21:53:21	INFO	No FW assigned
                                        05.04.16 21:53:38	RX	2;255;3;0;15;0100
                                        05.04.16 21:53:45	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:53:45	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:53:45	INFO	BL version=258
                                        05.04.16 21:53:45	INFO	No FW assigned
                                        05.04.16 21:53:52	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:53:52	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:53:52	INFO	BL version=258
                                        05.04.16 21:53:52	INFO	No FW assigned
                                        05.04.16 21:53:58	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:53:58	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:53:58	INFO	BL version=258
                                        05.04.16 21:53:58	INFO	No FW assigned
                                        05.04.16 21:54:16	RX	2;255;3;0;15;0100
                                        05.04.16 21:54:23	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:54:23	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:54:23	INFO	BL version=258
                                        05.04.16 21:54:23	INFO	No FW assigned
                                        05.04.16 21:54:29	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:54:29	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:54:29	INFO	BL version=258
                                        05.04.16 21:54:29	INFO	No FW assigned
                                        05.04.16 21:54:36	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:54:36	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:54:36	INFO	BL version=258
                                        05.04.16 21:54:36	INFO	No FW assigned
                                        05.04.16 21:54:54	RX	2;255;3;0;15;0100
                                        05.04.16 21:55:01	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:55:01	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:55:01	INFO	BL version=258
                                        05.04.16 21:55:01	INFO	No FW assigned
                                        05.04.16 21:55:07	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:55:07	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:55:07	INFO	BL version=258
                                        05.04.16 21:55:07	INFO	No FW assigned
                                        05.04.16 21:55:14	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:55:14	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:55:14	INFO	BL version=258
                                        05.04.16 21:55:14	INFO	No FW assigned
                                        05.04.16 21:55:32	RX	2;255;3;0;15;0100
                                        05.04.16 21:55:38	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:55:38	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:55:38	INFO	BL version=258
                                        05.04.16 21:55:38	INFO	No FW assigned
                                        05.04.16 21:55:45	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:55:45	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:55:45	INFO	BL version=258
                                        05.04.16 21:55:45	INFO	No FW assigned
                                        05.04.16 21:55:52	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:55:52	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:55:52	INFO	BL version=258
                                        05.04.16 21:55:52	INFO	No FW assigned
                                        05.04.16 21:56:10	RX	2;255;3;0;15;0100
                                        05.04.16 21:56:16	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:56:16	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:56:16	INFO	BL version=258
                                        05.04.16 21:56:16	INFO	No FW assigned
                                        05.04.16 21:56:23	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:56:23	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:56:23	INFO	BL version=258
                                        05.04.16 21:56:23	INFO	No FW assigned
                                        05.04.16 21:56:30	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:56:30	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:56:30	INFO	BL version=258
                                        05.04.16 21:56:30	INFO	No FW assigned
                                        05.04.16 21:56:47	RX	2;255;3;0;15;0100
                                        05.04.16 21:56:54	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:56:54	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:56:54	INFO	BL version=258
                                        05.04.16 21:56:54	INFO	No FW assigned
                                        05.04.16 21:57:01	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:57:01	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:57:01	INFO	BL version=258
                                        05.04.16 21:57:01	INFO	No FW assigned
                                        05.04.16 21:57:07	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:57:07	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:57:07	INFO	BL version=258
                                        05.04.16 21:57:07	INFO	No FW assigned
                                        05.04.16 21:57:25	RX	2;255;3;0;15;0100
                                        05.04.16 21:57:32	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:57:32	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:57:32	INFO	BL version=258
                                        05.04.16 21:57:32	INFO	No FW assigned
                                        05.04.16 21:57:39	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:57:39	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:57:39	INFO	BL version=258
                                        05.04.16 21:57:39	INFO	No FW assigned
                                        05.04.16 21:57:45	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:57:45	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:57:45	INFO	BL version=258
                                        05.04.16 21:57:45	INFO	No FW assigned
                                        05.04.16 21:58:03	RX	2;255;3;0;15;0100
                                        05.04.16 21:58:10	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:58:10	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:58:10	INFO	BL version=258
                                        05.04.16 21:58:10	INFO	No FW assigned
                                        05.04.16 21:58:16	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:58:16	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:58:16	INFO	BL version=258
                                        05.04.16 21:58:16	INFO	No FW assigned
                                        05.04.16 21:58:23	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:58:23	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:58:23	INFO	BL version=258
                                        05.04.16 21:58:23	INFO	No FW assigned
                                        05.04.16 21:58:41	RX	2;255;3;0;15;0100
                                        05.04.16 21:58:45	USER	Debug=FALSE
                                        05.04.16 21:58:45	INFO	*** Logging STOP ***
                                        05.04.16 21:58:47	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:58:47	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:58:47	INFO	BL version=258
                                        05.04.16 21:58:47	INFO	No FW assigned
                                        05.04.16 21:58:54	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:58:54	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:58:54	INFO	BL version=258
                                        05.04.16 21:58:54	INFO	No FW assigned
                                        05.04.16 21:59:01	RX	2;255;4;0;0;FFFFFFFF0800077E0102
                                        05.04.16 21:59:01	DEBUG	Undefined firmware/type for node=2
                                        05.04.16 21:59:01	INFO	BL version=258
                                        05.04.16 21:59:01	INFO	No FW assigned
                                        

                                        hope it helps finding out whats wrong ;)

                                        1 Reply Last reply
                                        0
                                        • tekkaT tekka

                                          @Fabien Are you running MYSController on WINE? I updated a few things, please update to the most recent version of MYSController (build 3312, here or via update button) and post the log. Thanks.

                                          F Offline
                                          F Offline
                                          Fabien
                                          wrote on last edited by Fabien
                                          #38

                                          @tekka I try with build 3312 and working fine with wine
                                          Now I'm looking for I_PRESENTATION. With 2.0 beta it doesn't seem to work. May I use smartSleep ?

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


                                          7

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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