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.
  • tekkaT tekka

    @Mickey Ok, I see, this is something related to the internal checksum, need to adjust that. In short: the bootloader doesn't hand over to the sketch

    LorenzoL Offline
    LorenzoL Offline
    Lorenzo
    wrote on last edited by
    #117

    @tekka
    Hi tekka, are the source already available. I'm moving all my setup to mysensor 2.0.1 so your new bootloader is very interesting.
    But on my setup I need a small customization.
    I have 3 areas with 3 GW and each area with a different RF channel.
    So I add a configuration switch to my nodes to select the channel.
    I already modified the mysensor Library for this feature.
    That why I'm asking for source code, in order to add this on bootloader too.

    Thank and nice job

    tekkaT 1 Reply Last reply
    0
    • LorenzoL Lorenzo

      @tekka
      Hi tekka, are the source already available. I'm moving all my setup to mysensor 2.0.1 so your new bootloader is very interesting.
      But on my setup I need a small customization.
      I have 3 areas with 3 GW and each area with a different RF channel.
      So I add a configuration switch to my nodes to select the channel.
      I already modified the mysensor Library for this feature.
      That why I'm asking for source code, in order to add this on bootloader too.

      Thank and nice job

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

      @Lorenzo not finalized, need to revise the stk500 code

      LorenzoL kalinaK 2 Replies Last reply
      0
      • tekkaT tekka

        @Lorenzo not finalized, need to revise the stk500 code

        LorenzoL Offline
        LorenzoL Offline
        Lorenzo
        wrote on last edited by
        #119

        @tekka
        Hi, thank for your quick answer. Yes software are never finalized :D
        Even a beta release can be ok to me in order to start testing the new setup.
        I will start with some micro pro 3.3V 8MHz external quartz.
        Also if I can help in coding or debugging, happy to help. I spend lot of time programming AVR. Please don't hesitate, ask (PM).
        In any case up to you to decide when starting publishing the first release.

        Thank for your job and looking forward to test the bootloader

        1 Reply Last reply
        2
        • RedferneR Offline
          RedferneR Offline
          Redferne
          wrote on last edited by
          #120

          Ohh. I'm also very eager to have my hands on the source of the beta. Please share so that we can help finalize it. I have a bunch of sensors ready for deployment, but I need a bootloader that can upgrade them. Since software is never ready 😄

          ///Redferne

          1 Reply Last reply
          0
          • S Offline
            S Offline
            shabba
            wrote on last edited by
            #121

            Hi all.
            Hands up I have not read the whole thread so apologies! I was just wondering on status of RFM69? I am about to embark on an upgrade of all my node from rf24 -> rfm69 and 1.5 -> 2.0 and would like to also add OTA while I am at it.

            Thanks!

            1 Reply 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.

              rubyanR Offline
              rubyanR Offline
              rubyan
              wrote on last edited by
              #122

              @Fabien said:

              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.

              @Fabien You have two or more blank lines in your firmware_config.csv. This causes the error message. If you remove them and click on Reload Repo the error will be gone.

              1 Reply Last reply
              2
              • abmantisA abmantis

                Yeah, the bootloader works well with the v2.0 release.
                The major issue it has currently is that sometimes it takes quite a long time to flash a sketch. It seems that when the wireless connection is not perfect, it stops for 2 or 3 seconds multiple times. Like, send 10 packages, stop 3 seconds, send 5 packages, stop again.

                yd kimY Offline
                yd kimY Offline
                yd kim
                wrote on last edited by
                #123

                @abmantis

                I have same problem. Did you solve the problem?

                abmantisA 1 Reply Last reply
                0
                • yd kimY yd kim

                  @abmantis

                  I have same problem. Did you solve the problem?

                  abmantisA Offline
                  abmantisA Offline
                  abmantis
                  wrote on last edited by
                  #124

                  @yd-kim What problem?

                  yd kimY 1 Reply Last reply
                  0
                  • abmantisA abmantis

                    @yd-kim What problem?

                    yd kimY Offline
                    yd kimY Offline
                    yd kim
                    wrote on last edited by
                    #125

                    @abmantis
                    You did post following 2months ago and I have same problem too.
                    If you solve the problem, please share it.

                    Yeah, the bootloader works well with the v2.0 release.
                    The major issue it has currently is that sometimes it takes quite a long time to flash a sketch. It seems that when the wireless connection is not perfect, it stops for 2 or 3 seconds multiple times. Like, send 10 packages, stop 3 seconds, send 5 packages, stop again.

                    Thanks.

                    abmantisA 1 Reply Last reply
                    0
                    • yd kimY yd kim

                      @abmantis
                      You did post following 2months ago and I have same problem too.
                      If you solve the problem, please share it.

                      Yeah, the bootloader works well with the v2.0 release.
                      The major issue it has currently is that sometimes it takes quite a long time to flash a sketch. It seems that when the wireless connection is not perfect, it stops for 2 or 3 seconds multiple times. Like, send 10 packages, stop 3 seconds, send 5 packages, stop again.

                      Thanks.

                      abmantisA Offline
                      abmantisA Offline
                      abmantis
                      wrote on last edited by
                      #126

                      @yd-kim Ah that! Nope, unfortunately it stills takes a long time to flash. We probably need an updated bootloader.

                      1 Reply Last reply
                      0
                      • AndurilA Offline
                        AndurilA Offline
                        Anduril
                        wrote on last edited by
                        #127

                        @abmantis DO you have the serial upload working? I never got it working and gave up some day. I am using the old bootloader which is uploading ota much faster than the new. Maybe you can also test and confirm this?

                        yd kimY abmantisA 2 Replies Last reply
                        0
                        • AndurilA Anduril

                          @abmantis DO you have the serial upload working? I never got it working and gave up some day. I am using the old bootloader which is uploading ota much faster than the new. Maybe you can also test and confirm this?

                          yd kimY Offline
                          yd kimY Offline
                          yd kim
                          wrote on last edited by
                          #128

                          @Anduril
                          I did some thest.
                          1.3Pre.hex in 1.0.0Beta : it works with serial upload but take too long time(about an hour) to use OTA or fail.
                          1.1 (?) which is in 0.1.2 folder : it takes about 10 minutes and works well but doesn't work with Serial upload which is normal way to upload firmware in Arduino.
                          Thank you for all help.

                          dpressleD 1 Reply Last reply
                          0
                          • yd kimY yd kim

                            @Anduril
                            I did some thest.
                            1.3Pre.hex in 1.0.0Beta : it works with serial upload but take too long time(about an hour) to use OTA or fail.
                            1.1 (?) which is in 0.1.2 folder : it takes about 10 minutes and works well but doesn't work with Serial upload which is normal way to upload firmware in Arduino.
                            Thank you for all help.

                            dpressleD Offline
                            dpressleD Offline
                            dpressle
                            wrote on last edited by
                            #129

                            @yd-kim said:

                            1.3Pre.hex in 1.0.0Beta : it works with serial upload

                            i couldn't get the 1.3pre work with serial upload, its interesting to see you could.

                            1 Reply Last reply
                            0
                            • tekkaT tekka

                              @Mickey Ok, I see, this is something related to the internal checksum, need to adjust that. In short: the bootloader doesn't hand over to the sketch

                              M Offline
                              M Offline
                              Mickey
                              wrote on last edited by
                              #130

                              @tekka said:

                              @Mickey Ok, I see, this is something related to the internal checksum, need to adjust that. In short: the bootloader doesn't hand over to the sketch

                              Has this adjusted already?

                              1 Reply Last reply
                              0
                              • tekkaT tekka

                                @Lorenzo not finalized, need to revise the stk500 code

                                kalinaK Offline
                                kalinaK Offline
                                kalina
                                Hardware Contributor
                                wrote on last edited by kalina
                                #131

                                Hi @tekka, can you help me?
                                I want to start exchanging between my MDMSGate device and MYSController via Ethernet. But I don't use Ethernet Shield W5100 in my MDMSGate, I use microcontroller PIC18F67J60 instead. I have uploaded to the PIC18F67J60 firmware which converts TCP/IP packets to serial and conversely.
                                0_1474892376023_Ethernet_gateway.jpg
                                In atmega328P I use the serial gateway sketch. So, I can't connect MYSController to my MDMSGate. Can you explain me, how MYSController exchanges with gateway generally? In an exchange through CP2102 (as a serial gateway mode) everything works well.

                                1 Reply Last reply
                                0
                                • kk02067K Offline
                                  kk02067K Offline
                                  kk02067
                                  wrote on last edited by
                                  #132

                                  In the "firmware_config.csv" file, on the first line it says:

                                  Type,Name,Version,File,Comments
                                  

                                  I know that it is there to explain how to add new lines to the file.
                                  But I don't know what "Type" is used for.
                                  The two examples have the numbers 10 and 20. I added a 30 and it seems to work but I would like to know what it's for.

                                  Thanks

                                  1 Reply Last reply
                                  0
                                  • AndurilA Anduril

                                    @abmantis DO you have the serial upload working? I never got it working and gave up some day. I am using the old bootloader which is uploading ota much faster than the new. Maybe you can also test and confirm this?

                                    abmantisA Offline
                                    abmantisA Offline
                                    abmantis
                                    wrote on last edited by
                                    #133

                                    @Anduril Haven't tried serial yet. The old bootloader seemed indeed a bit faster. I also noticed that if I touch pin 10 with my finger, it gets really fast! It just sends the packages continuously without stoping. As soon as I stop touching pin 10, it pauses.

                                    The gw and the node were like 1 meter, so it is not a distance problem. Also tried moving them closer and apart.

                                    LorenzoL yd kimY 2 Replies Last reply
                                    0
                                    • abmantisA abmantis

                                      @Anduril Haven't tried serial yet. The old bootloader seemed indeed a bit faster. I also noticed that if I touch pin 10 with my finger, it gets really fast! It just sends the packages continuously without stoping. As soon as I stop touching pin 10, it pauses.

                                      The gw and the node were like 1 meter, so it is not a distance problem. Also tried moving them closer and apart.

                                      LorenzoL Offline
                                      LorenzoL Offline
                                      Lorenzo
                                      wrote on last edited by
                                      #134
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • abmantisA abmantis

                                        @Anduril Haven't tried serial yet. The old bootloader seemed indeed a bit faster. I also noticed that if I touch pin 10 with my finger, it gets really fast! It just sends the packages continuously without stoping. As soon as I stop touching pin 10, it pauses.

                                        The gw and the node were like 1 meter, so it is not a distance problem. Also tried moving them closer and apart.

                                        yd kimY Offline
                                        yd kimY Offline
                                        yd kim
                                        wrote on last edited by
                                        #135

                                        @abmantis Interesting. Can you let me know a little bit further detail?
                                        You mean Arduino pro mini pin 10? That pin is connected to CSN on NRF24L01.
                                        I'm keen to find the issue why it get slow.. It took 20-30minutes to upload new firmware....

                                        abmantisA 1 Reply Last reply
                                        0
                                        • yd kimY yd kim

                                          @abmantis Interesting. Can you let me know a little bit further detail?
                                          You mean Arduino pro mini pin 10? That pin is connected to CSN on NRF24L01.
                                          I'm keen to find the issue why it get slow.. It took 20-30minutes to upload new firmware....

                                          abmantisA Offline
                                          abmantisA Offline
                                          abmantis
                                          wrote on last edited by abmantis
                                          #136

                                          @yd-kim Yes, just touch Arduino's pin 10. Dunno if it is a particularity with this Arduino or radio. It updates the node in about 20 seconds!

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


                                          17

                                          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