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.
  • M Offline
    M Offline
    mannkind
    wrote on last edited by mannkind
    #104
    This post is deleted!
    1 Reply Last reply
    0
    • abmantisA abmantis

      I have a node with the NRF already soldered. Since Arduino as ISP uses some of the pins used by the NRF, is there anything I can do to flash the bootloader without unsoldering the NRF? Thanks!

      Thar0lT Offline
      Thar0lT Offline
      Thar0l
      wrote on last edited by
      #105

      @abmantis You can just solder ISP wires to arduino without disconneting NRF. It's programming well (I've already tested this solution with my network)

      abmantisA 1 Reply Last reply
      1
      • Thar0lT Thar0l

        @abmantis You can just solder ISP wires to arduino without disconneting NRF. It's programming well (I've already tested this solution with my network)

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

        @Алексей-Гусаров Thank you! Will try that soon :)
        Any updates regarding the bootloader?

        dpressleD 1 Reply Last reply
        0
        • abmantisA abmantis

          @Алексей-Гусаров Thank you! Will try that soon :)
          Any updates regarding the bootloader?

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

          I managed to use the bootloader with version 2.0, thanks.

          1 Reply Last reply
          0
          • abmantisA Offline
            abmantisA Offline
            abmantis
            wrote on last edited by
            #108

            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 1 Reply Last reply
            0
            • n1ck1355N Offline
              n1ck1355N Offline
              n1ck1355
              wrote on last edited by
              #109

              any news about 1.3 final release?

              1 Reply Last reply
              2
              • M Offline
                M Offline
                Mickey
                wrote on last edited by
                #110

                @tekka
                I used the MYSBootloader 1.3pre with version 2.0.0
                I managed to upload FW to nodes with MYSController.

                As mention:
                "supports OTA FW AND serial FW updates"

                But I cannot get anything to serial port with the nodes.
                Is the serial option really works on this bootloader?
                the specs:
                1.board - my own developed board with atmega328p au without external clock.
                2.board.txt:

                ######## settings for 8Mhz internal clock, EESAVE, BOD1V8, no lock
                proMYSBL8.name=ATmega328 internal 8Mhz with MYSBootloader
                proMYSBL8.upload.tool=avrdude
                proMYSBL8.upload.protocol=arduino
                proMYSBL8.upload.maximum_size=30720
                proMYSBL8.upload.maximum_data_size=2048
                proMYSBL8.upload.speed=57600
                proMYSBL8.bootloader.tool=avrdude
                proMYSBL8.bootloader.low_fuses=0xE2
                proMYSBL8.bootloader.high_fuses=0xD2
                proMYSBL8.bootloader.extended_fuses=0x06
                proMYSBL8.bootloader.unlock_bits=0x3F
                proMYSBL8.bootloader.lock_bits=0x3F
                proMYSBL8.bootloader.file=MySensors/MYSBootloaderV13pre.hex
                proMYSBL8.build.mcu=atmega328p
                proMYSBL8.build.f_cpu=8000000L
                proMYSBL8.build.board=AVR_UNO
                proMYSBL8.build.core=arduino
                proMYSBL8.build.variant=standard 
                
                1. the bootloader hex file is : MYSBootloaderV13pre.hex from MYSController 1.0.0beta

                So is serial possible or/and should I change something?

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

                  @Mickey :
                  It's the same problem i've posted about 4 months ago here.. i also cant run sketches i've uploaded via serial..
                  i hope it is solved with a new release...maybe the final already @tekka?

                  1 Reply Last reply
                  0
                  • M Mickey

                    @tekka
                    I used the MYSBootloader 1.3pre with version 2.0.0
                    I managed to upload FW to nodes with MYSController.

                    As mention:
                    "supports OTA FW AND serial FW updates"

                    But I cannot get anything to serial port with the nodes.
                    Is the serial option really works on this bootloader?
                    the specs:
                    1.board - my own developed board with atmega328p au without external clock.
                    2.board.txt:

                    ######## settings for 8Mhz internal clock, EESAVE, BOD1V8, no lock
                    proMYSBL8.name=ATmega328 internal 8Mhz with MYSBootloader
                    proMYSBL8.upload.tool=avrdude
                    proMYSBL8.upload.protocol=arduino
                    proMYSBL8.upload.maximum_size=30720
                    proMYSBL8.upload.maximum_data_size=2048
                    proMYSBL8.upload.speed=57600
                    proMYSBL8.bootloader.tool=avrdude
                    proMYSBL8.bootloader.low_fuses=0xE2
                    proMYSBL8.bootloader.high_fuses=0xD2
                    proMYSBL8.bootloader.extended_fuses=0x06
                    proMYSBL8.bootloader.unlock_bits=0x3F
                    proMYSBL8.bootloader.lock_bits=0x3F
                    proMYSBL8.bootloader.file=MySensors/MYSBootloaderV13pre.hex
                    proMYSBL8.build.mcu=atmega328p
                    proMYSBL8.build.f_cpu=8000000L
                    proMYSBL8.build.board=AVR_UNO
                    proMYSBL8.build.core=arduino
                    proMYSBL8.build.variant=standard 
                    
                    1. the bootloader hex file is : MYSBootloaderV13pre.hex from MYSController 1.0.0beta

                    So is serial possible or/and should I change something?

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

                    @Mickey There are some issues with Arduino IDE 1.6.10 and avrdude 6.3 - do you happen to have 1.6.10 installed?

                    M 1 Reply Last reply
                    0
                    • tekkaT tekka

                      @Mickey There are some issues with Arduino IDE 1.6.10 and avrdude 6.3 - do you happen to have 1.6.10 installed?

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

                      @tekka
                      My arduino IDE: 1.6.11
                      The avrdude inside that arduino IDE is: 6.0.1

                      tekkaT 1 Reply Last reply
                      0
                      • M Mickey

                        @tekka
                        My arduino IDE: 1.6.11
                        The avrdude inside that arduino IDE is: 6.0.1

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

                        @Mickey And what is the output when it fails? Can you try the bootloader with on a 16Mhz board and 115200bps?

                        M 1 Reply Last reply
                        0
                        • tekkaT tekka

                          @Mickey And what is the output when it fails? Can you try the bootloader with on a 16Mhz board and 115200bps?

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

                          @tekka
                          It's not failing the node is functional and I can upload a sketch to it via MYSController but It cannot get sketch from the arduino IDE (the IDE gives the normal output that upload complete and all OK without any Error notice but after it the node doesn't have a FW on it and even if I upload some basic sketch that spit Serial to monitor nothing happen.)
                          I will try to upload the bootloader to an Arduino nano node to see if on 16Mhz board and 115200bps the problem exist.
                          Also you mention that the hex file compiled to 16Mhz board and 115200bps , maybe it should also compile on a internal 8Mhz to fix this.

                          tekkaT 1 Reply Last reply
                          0
                          • M Mickey

                            @tekka
                            It's not failing the node is functional and I can upload a sketch to it via MYSController but It cannot get sketch from the arduino IDE (the IDE gives the normal output that upload complete and all OK without any Error notice but after it the node doesn't have a FW on it and even if I upload some basic sketch that spit Serial to monitor nothing happen.)
                            I will try to upload the bootloader to an Arduino nano node to see if on 16Mhz board and 115200bps the problem exist.
                            Also you mention that the hex file compiled to 16Mhz board and 115200bps , maybe it should also compile on a internal 8Mhz to fix this.

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

                            @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 M J 3 Replies 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

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


                                          16

                                          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