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 scalz

    @tekka : oki ...so lot of chance I will move to your bootloader, so no need to add eeprom footprint each time, that will give more space on pcb, cool! just for curiosity/knowledge I will look at your new code and try this very sexy bootloader :)
    can't wait to see your rfm69 progress! same size? and what your thought about atsam bootloadr in future? (4k can limit a little bit 328p..)
    really interesting, it's an awesome work you have done. great thx for this share :)

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

    @scalz I think it's always a benefit to have additional eeprom or flash on your pcb for data storage. In terms of bootloader choice it totally depends on your case and preferences. MYSBootloader has some advantages over dualoptiboot, however, dualoptiboot offers more flexibility in an evolving system with e.g. changes of transmissions protocols. On top it is radio agnostic. In my current setup and during prototyping I prefer MYSBootloader over Dualoptiboot since many of my deployed nodes do not have additional external storage.

    1 Reply Last reply
    1
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by scalz
      #15

      @tekka yep thx, I know but for some nodes I don't always need a datastorage and had the habits to add eeprom each time mainly for ota. And eeprom footprint is pretty big to place sometimes..but yes for datastorage it's cool. for the pros and cons, I agree with you, it depends of personal needs..
      Have you already tried atsam boards with mysensors? I say this because I will assemble soon few atsam boards (atsamd but L family is picopower) I have designed, I will see if I'm able to port things in bootloadr but for the moment no time, too much things already in progress..in other hand, for nonpico, I'm waiting for esp32....

      tekkaT 1 Reply Last reply
      0
      • scalzS scalz

        @tekka yep thx, I know but for some nodes I don't always need a datastorage and had the habits to add eeprom each time mainly for ota. And eeprom footprint is pretty big to place sometimes..but yes for datastorage it's cool. for the pros and cons, I agree with you, it depends of personal needs..
        Have you already tried atsam boards with mysensors? I say this because I will assemble soon few atsam boards (atsamd but L family is picopower) I have designed, I will see if I'm able to port things in bootloadr but for the moment no time, too much things already in progress..in other hand, for nonpico, I'm waiting for esp32....

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

        @scalz yes, just started working with atsam and bootloader development, although with limited bandwidth at the moment. More to come soon...

        1 Reply Last reply
        0
        • scalzS Offline
          scalzS Offline
          scalz
          Hardware Contributor
          wrote on last edited by
          #17

          wow impressively cool :laughing:
          thx for your kindness, now I have homeworks to do!
          see you soon :)

          1 Reply Last reply
          0
          • ahmedadelhosniA Offline
            ahmedadelhosniA Offline
            ahmedadelhosni
            wrote on last edited by
            #18

            Sorry but I dont really get what you mean by freezy ?
            You mean a code is compiled but it enters an infinite loop for example ?

            1 Reply Last reply
            0
            • 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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          8

                                          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