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

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

MYSBootloader 1.3.0-beta.3

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

    @Mark-Swift said in MYSBootloader 1.3.0-beta.3:

    @tekka said in MYSBootloader 1.3.0-beta.3:

    @Mark-Swift Hmm, that's odd - just tested it here with the latest dev and all is ok. Can you post the logs + node sketch?

    @tekka, just tried again, perhaps I'm missing something obvious?

    I have the gateway and node using the latest dev branch, I click the node in MYS and then request a signal report - I see a tx in the log but nothing further? Do I need anything in the node sketch or the gateway? Does this work with the NRF's?

    Did you try with 1.3.0-beta.4? https://github.com/mysensors/MySensorsBootloaderRF24/tree/development

    Mark SwiftM Offline
    Mark SwiftM Offline
    Mark Swift
    wrote on last edited by
    #143

    @tekka said in MYSBootloader 1.3.0-beta.3:

    @Mark-Swift said in MYSBootloader 1.3.0-beta.3:

    @tekka said in MYSBootloader 1.3.0-beta.3:

    @Mark-Swift Hmm, that's odd - just tested it here with the latest dev and all is ok. Can you post the logs + node sketch?

    @tekka, just tried again, perhaps I'm missing something obvious?

    I have the gateway and node using the latest dev branch, I click the node in MYS and then request a signal report - I see a tx in the log but nothing further? Do I need anything in the node sketch or the gateway? Does this work with the NRF's?

    Did you try with 1.3.0-beta.4? https://github.com/mysensors/MySensorsBootloaderRF24/tree/development

    @tekka that did it, it's now working... now to figure out what the returned signal report numbers mean :)

    1 Reply Last reply
    0
    • tekkaT tekka

      @Mark-Swift said in MYSBootloader 1.3.0-beta.3:

      @tekka said in MYSBootloader 1.3.0-beta.3:

      @Mark-Swift Hmm, that's odd - just tested it here with the latest dev and all is ok. Can you post the logs + node sketch?

      @tekka, just tried again, perhaps I'm missing something obvious?

      I have the gateway and node using the latest dev branch, I click the node in MYS and then request a signal report - I see a tx in the log but nothing further? Do I need anything in the node sketch or the gateway? Does this work with the NRF's?

      Did you try with 1.3.0-beta.4? https://github.com/mysensors/MySensorsBootloaderRF24/tree/development

      J Offline
      J Offline
      jacikaas
      wrote on last edited by
      #144

      @tekka thank You for the answer. I'm not sure is answer was dedicated for me or for Mark, but I tested 1.3.0-beta.4 in the same way I described before:

      • Tested with 2 different Atmega328p
      • First try was with 1MHz - working on both Atmega328p
      • Second try with 8MHz - same situation as with beta 3, skecth won't upload and I get answer from Arduino Avrdude (this time I post full log after uploading):
      avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
               Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
               Copyright (c) 2007-2014 Joerg Wunsch
      
               System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
      
               Using Port                    : COM4
               Using Programmer              : arduino
               Overriding Baud Rate          : 38400
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf1
      avrdude: stk500_recv(): programmer is not responding
      < ... >
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf1
      
      avrdude done.  Thank you.
      

      It would be best if someone also could try to burn same bootloader on standalone Atmega328p and post results to be sure all wiring and steps I did is without mistakes.
      Strange if I I burn 1.3pre2 8MHz bootloader - it works.

      What troubleshooting I could make?

      J 1 Reply Last reply
      0
      • tekkaT tekka

        @Mark-Swift said in MYSBootloader 1.3.0-beta.3:

        @tekka said in MYSBootloader 1.3.0-beta.3:

        @Mark-Swift Hmm, that's odd - just tested it here with the latest dev and all is ok. Can you post the logs + node sketch?

        @tekka, just tried again, perhaps I'm missing something obvious?

        I have the gateway and node using the latest dev branch, I click the node in MYS and then request a signal report - I see a tx in the log but nothing further? Do I need anything in the node sketch or the gateway? Does this work with the NRF's?

        Did you try with 1.3.0-beta.4? https://github.com/mysensors/MySensorsBootloaderRF24/tree/development

        V Offline
        V Offline
        vikasjee
        wrote on last edited by vikasjee
        #145

        @tekka, Thanks for the link to the beta.4. bootloader. I have tried burning nodes using these and tested them by uploading the FW using MySController 1.0beta_b3316 (latest update meant for MySensors2.2.0) with SerialGatewaySketches using both MySensors2.2.0_rc1 and MySensrs2.2.0_pre1 libraries.

        MysController doesn't seem to even recognize the Beta.4 bootloaded Nodes (Promini 5V16Mhz with default provided fuse settings from Makefile). The extra nRF chip wiring checks and precautions (0.01uF and 100uF Caps) have been taken. What might be the problem? How to debug when SerialMontitor cant be used? Any Network Sniffer link if that helps...

        I guess the MySensors library version of the SerialGateway sketch may be posing a problem. Can you please help me with a link of the correct MySensors library version to use with beta.4 bootloaded nodes?

        Any help will be appreciated...

        V 1 Reply Last reply
        0
        • W Offline
          W Offline
          wanvo
          wrote on last edited by
          #146

          Hi @tekka!
          Do you plan to add support for the RFM69 module in MYSBootloader?

          tekkaT 1 Reply Last reply
          0
          • V vikasjee

            @tekka, Thanks for the link to the beta.4. bootloader. I have tried burning nodes using these and tested them by uploading the FW using MySController 1.0beta_b3316 (latest update meant for MySensors2.2.0) with SerialGatewaySketches using both MySensors2.2.0_rc1 and MySensrs2.2.0_pre1 libraries.

            MysController doesn't seem to even recognize the Beta.4 bootloaded Nodes (Promini 5V16Mhz with default provided fuse settings from Makefile). The extra nRF chip wiring checks and precautions (0.01uF and 100uF Caps) have been taken. What might be the problem? How to debug when SerialMontitor cant be used? Any Network Sniffer link if that helps...

            I guess the MySensors library version of the SerialGateway sketch may be posing a problem. Can you please help me with a link of the correct MySensors library version to use with beta.4 bootloaded nodes?

            Any help will be appreciated...

            V Offline
            V Offline
            vikasjee
            wrote on last edited by
            #147

            No help from the community! Sad!!!

            tekkaT 1 Reply Last reply
            0
            • W wanvo

              Hi @tekka!
              Do you plan to add support for the RFM69 module in MYSBootloader?

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

              @wanvo This would certainly be a great addition to MYSBootloader - but very limited dev time atm. Community contributions on that topic are welcome ;)

              1 Reply Last reply
              1
              • V vikasjee

                No help from the community! Sad!!!

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

                @vikasjee Apologies for the late reply - I have no idea what's the issue with your setup - my guess is that something is wrong with the fuses and/or wrong .hex used: Can you post the MYSController log, used fuse settings and any other important information?

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  wanvo
                  wrote on last edited by
                  #150

                  @tekka thanks for the answer. I'm still a newbie.
                  Now I can not make a contribution to the development due to my incompetence.
                  I can help as a tester :)

                  1 Reply Last reply
                  1
                  • J jacikaas

                    @tekka thank You for the answer. I'm not sure is answer was dedicated for me or for Mark, but I tested 1.3.0-beta.4 in the same way I described before:

                    • Tested with 2 different Atmega328p
                    • First try was with 1MHz - working on both Atmega328p
                    • Second try with 8MHz - same situation as with beta 3, skecth won't upload and I get answer from Arduino Avrdude (this time I post full log after uploading):
                    avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
                             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
                             Copyright (c) 2007-2014 Joerg Wunsch
                    
                             System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
                    
                             Using Port                    : COM4
                             Using Programmer              : arduino
                             Overriding Baud Rate          : 38400
                    avrdude: stk500_recv(): programmer is not responding
                    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf1
                    avrdude: stk500_recv(): programmer is not responding
                    < ... >
                    avrdude: stk500_recv(): programmer is not responding
                    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf1
                    
                    avrdude done.  Thank you.
                    

                    It would be best if someone also could try to burn same bootloader on standalone Atmega328p and post results to be sure all wiring and steps I did is without mistakes.
                    Strange if I I burn 1.3pre2 8MHz bootloader - it works.

                    What troubleshooting I could make?

                    J Offline
                    J Offline
                    jacikaas
                    wrote on last edited by
                    #151

                    @jacikaas

                    Hello, maybe someone was trying 8MHz bootloader for standlaone Atmega328p?

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

                      Hi,

                      Anyone seen this error on latest 1.3 release? It seems a define is not done for F_CPU, what am I missing here?

                      Generating function prototypes...
                      In file included from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/MySensors.h:371:0,
                      
                      from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors\examples\GatewayW5100MQTTClient\GatewayW5100MQTTClient.ino:138:
                      
                      C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/core/MyTransport.cpp:777:42: error: operator '>' has no left operand
                      
                       #if defined(MY_GATEWAY_FEATURE) && (F_CPU>16000000)
                      
                                                                ^
                      
                      In file included from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/MySensors.h:396:0,
                      
                                       from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors\examples\GatewayW5100MQTTClient\GatewayW5100MQTTClient.ino:138:
                      
                      C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/core/MySensorsCore.cpp:479:11: error: operator '>' has no left operand
                      
                       #if (F_CPU>16000000)
                      
                                 ^
                      exit status 1
                      Error compiling for board ATmega328 with MYSBootloader 1.3.0.
                      

                      Regards

                      H T 2 Replies Last reply
                      0
                      • C cdr

                        Hi,

                        Anyone seen this error on latest 1.3 release? It seems a define is not done for F_CPU, what am I missing here?

                        Generating function prototypes...
                        In file included from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/MySensors.h:371:0,
                        
                        from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors\examples\GatewayW5100MQTTClient\GatewayW5100MQTTClient.ino:138:
                        
                        C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/core/MyTransport.cpp:777:42: error: operator '>' has no left operand
                        
                         #if defined(MY_GATEWAY_FEATURE) && (F_CPU>16000000)
                        
                                                                  ^
                        
                        In file included from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/MySensors.h:396:0,
                        
                                         from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors\examples\GatewayW5100MQTTClient\GatewayW5100MQTTClient.ino:138:
                        
                        C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/core/MySensorsCore.cpp:479:11: error: operator '>' has no left operand
                        
                         #if (F_CPU>16000000)
                        
                                   ^
                        exit status 1
                        Error compiling for board ATmega328 with MYSBootloader 1.3.0.
                        

                        Regards

                        H Offline
                        H Offline
                        Henry
                        wrote on last edited by
                        #153

                        @cdr Same Problem here!

                        Greetz Henry

                        1 Reply Last reply
                        0
                        • C cdr

                          Hi,

                          Anyone seen this error on latest 1.3 release? It seems a define is not done for F_CPU, what am I missing here?

                          Generating function prototypes...
                          In file included from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/MySensors.h:371:0,
                          
                          from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors\examples\GatewayW5100MQTTClient\GatewayW5100MQTTClient.ino:138:
                          
                          C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/core/MyTransport.cpp:777:42: error: operator '>' has no left operand
                          
                           #if defined(MY_GATEWAY_FEATURE) && (F_CPU>16000000)
                          
                                                                    ^
                          
                          In file included from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/MySensors.h:396:0,
                          
                                           from C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors\examples\GatewayW5100MQTTClient\GatewayW5100MQTTClient.ino:138:
                          
                          C:\Program Files (x86)\Arduino\portable\sketchbook\libraries\MySensors/core/MySensorsCore.cpp:479:11: error: operator '>' has no left operand
                          
                           #if (F_CPU>16000000)
                          
                                     ^
                          exit status 1
                          Error compiling for board ATmega328 with MYSBootloader 1.3.0.
                          

                          Regards

                          T Offline
                          T Offline
                          tsjoender
                          wrote on last edited by
                          #154

                          @cdr @Henry I ran into the same issue. Turned out to be a syntax issue in the boards.txt file. If you change:

                          MYSBL.menu.frequency.MYSBL16.f_cpu=16000000L
                          

                          into

                          MYSBL.menu.frequency.MYSBL16.build.f_cpu=16000000L
                          

                          Then it works again. Adding build. needs to be done for the other menu entries as well.

                          H C 2 Replies Last reply
                          1
                          • T tsjoender

                            @cdr @Henry I ran into the same issue. Turned out to be a syntax issue in the boards.txt file. If you change:

                            MYSBL.menu.frequency.MYSBL16.f_cpu=16000000L
                            

                            into

                            MYSBL.menu.frequency.MYSBL16.build.f_cpu=16000000L
                            

                            Then it works again. Adding build. needs to be done for the other menu entries as well.

                            H Offline
                            H Offline
                            Henry
                            wrote on last edited by
                            #155

                            @tsjoender

                            PERFEKT!!! thx!!!

                            1 Reply Last reply
                            0
                            • T tsjoender

                              @cdr @Henry I ran into the same issue. Turned out to be a syntax issue in the boards.txt file. If you change:

                              MYSBL.menu.frequency.MYSBL16.f_cpu=16000000L
                              

                              into

                              MYSBL.menu.frequency.MYSBL16.build.f_cpu=16000000L
                              

                              Then it works again. Adding build. needs to be done for the other menu entries as well.

                              C Offline
                              C Offline
                              cdr
                              wrote on last edited by
                              #156

                              @tsjoender said in MYSBootloader 1.3.0-beta.3:

                              @cdr @Henry I ran into the same issue. Turned out to be a syntax issue in the boards.txt file. If you change:

                              MYSBL.menu.frequency.MYSBL16.f_cpu=16000000L
                              

                              into

                              MYSBL.menu.frequency.MYSBL16.build.f_cpu=16000000L
                              

                              Then it works again. Adding build. needs to be done for the other menu entries as well.

                              thanks a lot!

                              1 Reply Last reply
                              0
                              • tekkaT Offline
                                tekkaT Offline
                                tekka
                                Admin
                                wrote on last edited by
                                #157

                                Fix: https://github.com/mysensors/MySensorsBootloaderRF24/pull/24
                                Thanks for reporting.

                                1 Reply Last reply
                                3
                                • thmT Offline
                                  thmT Offline
                                  thm
                                  wrote on last edited by
                                  #158

                                  Hello,
                                  I am currently testing the OTA features with a "My Slim 2AA Battery Node", MYSBootloader 1.3.0-rc.1, MYSController Build 3316 and the original example sketch "PassiveNode" (MySensors 2.2.0). Unfortunately, no reboot will be performed if I want to execute it via the MYSController. Even with a firmware update, no reboot is performed. If I disconnect the sensor from the battery and reconnect, the firmware update will be executed. Am I doing something wrong or is this a software bug?

                                  Regards
                                  Thomas

                                  1 Reply Last reply
                                  0
                                  • gohanG Offline
                                    gohanG Offline
                                    gohan
                                    Mod
                                    wrote on last edited by
                                    #159

                                    Try using smartsleep instead of usual sleep

                                    1 Reply Last reply
                                    0
                                    • thmT Offline
                                      thmT Offline
                                      thm
                                      wrote on last edited by
                                      #160

                                      Hello, thank you. It basically works with smartSleep. I only have to press the FW update or reboot button several times. After several attempts, the desired action is then executed.
                                      Regards Thomas

                                      1 Reply Last reply
                                      0
                                      • P Offline
                                        P Offline
                                        patrikr76
                                        wrote on last edited by patrikr76
                                        #161

                                        Hello.
                                        First, thanks to everybody developing all the stuff that is here, these are awesome projects and sorry to resurrect an old thread.

                                        Second, i am trying to use the firmware update feature from MYSController, build 3316, with MYSBootloader, 1.3.0-rc1 8MHz, on a barebone atmega 328pu 28dip .
                                        The device is running a simple thermistor sketch and reports happily to my RPi running MySensors ethernet gateway version 2.3.1-alpha(I have tried with version 2.2.0 as well).
                                        I get the "reboot" screen if i choose the firmware after setting the device as a "Board with MYSBootloader" and the device clearly reboots but does not start any firmware download.

                                        And of course, i am running nrf24l01+. Device is batterypowered from an 18650 li-ion, through a mcp1700 LDO 3.3v 250mA. 10uF on the nrf between vcc and gnd.
                                        Device is set to sleep for 60 secs, but is also set to smartsleep for 500ms, as i read somewhere had solved other peoples issues.

                                        Edit: I believe i was being stupid as i first burned the bootloader using arduino as isp and then burned the sketch, alas, erasing bootloader.

                                        tekkaT 1 Reply Last reply
                                        0
                                        • P patrikr76

                                          Hello.
                                          First, thanks to everybody developing all the stuff that is here, these are awesome projects and sorry to resurrect an old thread.

                                          Second, i am trying to use the firmware update feature from MYSController, build 3316, with MYSBootloader, 1.3.0-rc1 8MHz, on a barebone atmega 328pu 28dip .
                                          The device is running a simple thermistor sketch and reports happily to my RPi running MySensors ethernet gateway version 2.3.1-alpha(I have tried with version 2.2.0 as well).
                                          I get the "reboot" screen if i choose the firmware after setting the device as a "Board with MYSBootloader" and the device clearly reboots but does not start any firmware download.

                                          And of course, i am running nrf24l01+. Device is batterypowered from an 18650 li-ion, through a mcp1700 LDO 3.3v 250mA. 10uF on the nrf between vcc and gnd.
                                          Device is set to sleep for 60 secs, but is also set to smartsleep for 500ms, as i read somewhere had solved other peoples issues.

                                          Edit: I believe i was being stupid as i first burned the bootloader using arduino as isp and then burned the sketch, alas, erasing bootloader.

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

                                          @patrikr76 Yes, sounds like you erased MYSBootloader when uploading the sketch via ISP. Please post the MYSController log (starting before you reboot the node until the node is up an running) to verify this assumption.

                                          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