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. Otabootloader upload ?

Otabootloader upload ?

Scheduled Pinned Locked Moved Development
14 Posts 4 Posters 4.2k Views 2 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.
  • ch3b7C Offline
    ch3b7C Offline
    ch3b7
    wrote on last edited by
    #1

    I can upload the bootloader using Arduino as ISP ? who i need add in a board.txt?

    im use this but give an error
    #######################################
    Mysensors.name=[Mysensors OTA] Arduino Uno
    Mysensors.upload.protocol=arduino
    Mysensors.upload.maximum_size=32256
    Mysensors.upload.speed=115200
    Mysensors.bootloader.low_fuses=0xff
    Mysensors.bootloader.high_fuses=0xde
    Mysensors.bootloader.extended_fuses=0x05
    Mysensors.bootloader.path=MySensorsOTA
    Mysensors.bootloader.file=MyOtaBootloader.hex
    Mysensors.bootloader.unlock_bits=0x3F
    Mysensors.bootloader.lock_bits=0x0F
    Mysensors.build.mcu=atmega328p
    Mysensors.build.f_cpu=16000000L
    Mysensors.build.core=arduino
    Mysensors.build.variant=standard
    #####################################

    tekkaT 1 Reply Last reply
    0
    • daulagariD Offline
      daulagariD Offline
      daulagari
      Hero Member
      wrote on last edited by
      #2

      What kind of error do you get?

      ch3b7C 1 Reply Last reply
      0
      • ch3b7C ch3b7

        I can upload the bootloader using Arduino as ISP ? who i need add in a board.txt?

        im use this but give an error
        #######################################
        Mysensors.name=[Mysensors OTA] Arduino Uno
        Mysensors.upload.protocol=arduino
        Mysensors.upload.maximum_size=32256
        Mysensors.upload.speed=115200
        Mysensors.bootloader.low_fuses=0xff
        Mysensors.bootloader.high_fuses=0xde
        Mysensors.bootloader.extended_fuses=0x05
        Mysensors.bootloader.path=MySensorsOTA
        Mysensors.bootloader.file=MyOtaBootloader.hex
        Mysensors.bootloader.unlock_bits=0x3F
        Mysensors.bootloader.lock_bits=0x0F
        Mysensors.build.mcu=atmega328p
        Mysensors.build.f_cpu=16000000L
        Mysensors.build.core=arduino
        Mysensors.build.variant=standard
        #####################################

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

        @ch3b7 this setting is working for me (4k BL)

        proMS.name=Arduino Pro Mini (3V3 & 5V, 16 MHz) w/ ATmega328 MySensors

        proMS.upload.tool=avrdude
        proMS.upload.protocol=arduino
        proMS.upload.maximum_size=28672
        proMS.upload.maximum_data_size=2048
        proMS.upload.speed=115200

        proMS.bootloader.tool=avrdude
        proMS.bootloader.unlock_bits=0x3F
        proMS.bootloader.lock_bits=0x0F
        proMS.bootloader.low_fuses=0xFF
        proMS.bootloader.high_fuses=0xD8
        proMS.bootloader.extended_fuses=0x05
        proMS.bootloader.file=MySensors/MyOtaBootloader.hex

        proMS.build.board=AVR_PRO
        proMS.build.core=arduino
        proMS.build.variant=standard

        proMS.build.mcu=atmega328p
        proMS.build.f_cpu=16000000L

        ch3b7C 1 Reply Last reply
        0
        • tekkaT tekka

          @ch3b7 this setting is working for me (4k BL)

          proMS.name=Arduino Pro Mini (3V3 & 5V, 16 MHz) w/ ATmega328 MySensors

          proMS.upload.tool=avrdude
          proMS.upload.protocol=arduino
          proMS.upload.maximum_size=28672
          proMS.upload.maximum_data_size=2048
          proMS.upload.speed=115200

          proMS.bootloader.tool=avrdude
          proMS.bootloader.unlock_bits=0x3F
          proMS.bootloader.lock_bits=0x0F
          proMS.bootloader.low_fuses=0xFF
          proMS.bootloader.high_fuses=0xD8
          proMS.bootloader.extended_fuses=0x05
          proMS.bootloader.file=MySensors/MyOtaBootloader.hex

          proMS.build.board=AVR_PRO
          proMS.build.core=arduino
          proMS.build.variant=standard

          proMS.build.mcu=atmega328p
          proMS.build.f_cpu=16000000L

          ch3b7C Offline
          ch3b7C Offline
          ch3b7
          wrote on last edited by
          #4

          @tekka dont work for me

          1 Reply Last reply
          0
          • daulagariD daulagari

            What kind of error do you get?

            ch3b7C Offline
            ch3b7C Offline
            ch3b7
            wrote on last edited by
            #5

            @daulagari said:

            What kind of error do you get?

            this error:

            avrdude: WARNING: no end of file record found for Intel Hex file "G:\arduino-1.0.5-r2\hardware\arduino\bootloaders\MySensorsOTA\MyOtaBootloader.hex"
            avrdude: WARNING: no end of file record found for Intel Hex file "G:\arduino-1.0.5-r2\hardware\arduino\bootloaders\MySensorsOTA\MyOtaBootloader.hex"

            tekkaT 1 Reply Last reply
            0
            • ch3b7C ch3b7

              @daulagari said:

              What kind of error do you get?

              this error:

              avrdude: WARNING: no end of file record found for Intel Hex file "G:\arduino-1.0.5-r2\hardware\arduino\bootloaders\MySensorsOTA\MyOtaBootloader.hex"
              avrdude: WARNING: no end of file record found for Intel Hex file "G:\arduino-1.0.5-r2\hardware\arduino\bootloaders\MySensorsOTA\MyOtaBootloader.hex"

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

              @ch3b7 did you download/copy the entire .hex file? seems like you are missing some parts (eof)

              1 Reply Last reply
              0
              • ch3b7C Offline
                ch3b7C Offline
                ch3b7
                wrote on last edited by
                #7

                im downloaded from here link text im try to copy manually

                tekkaT 1 Reply Last reply
                0
                • ch3b7C ch3b7

                  im downloaded from here link text im try to copy manually

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

                  @ch3b7 download and save from here.

                  ch3b7C 1 Reply Last reply
                  0
                  • tekkaT tekka

                    @ch3b7 download and save from here.

                    ch3b7C Offline
                    ch3b7C Offline
                    ch3b7
                    wrote on last edited by
                    #9

                    @tekka said:

                    @ch3b7 download and save from here.

                    thanks. now i not get the error but i cant upload sketch

                    tekkaT 1 Reply Last reply
                    0
                    • ch3b7C ch3b7

                      @tekka said:

                      @ch3b7 download and save from here.

                      thanks. now i not get the error but i cant upload sketch

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

                      @ch3b7 you have to give us more information to troubleshoot. which error msg do you get?

                      1 Reply Last reply
                      0
                      • ch3b7C Offline
                        ch3b7C Offline
                        ch3b7
                        wrote on last edited by
                        #11

                        now it works ^^ thanks!

                        tekkaT 1 Reply Last reply
                        0
                        • ch3b7C ch3b7

                          now it works ^^ thanks!

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

                          @ch3b7 excellent :) have fun

                          D 1 Reply Last reply
                          0
                          • tekkaT tekka

                            @ch3b7 excellent :) have fun

                            D Offline
                            D Offline
                            Dheeraj
                            Plugin Developer
                            wrote on last edited by
                            #13

                            @tekka
                            Is OTA or MYS bootloader end to end working for you. if yes, let me know the steps that needs to be followed. i'm getting error in gateway where I_FIND_PARENT request(from sensor) response is failing and not reaching to sensor node. however, it works after fresh make load command issue..

                            tekkaT 1 Reply Last reply
                            0
                            • D Dheeraj

                              @tekka
                              Is OTA or MYS bootloader end to end working for you. if yes, let me know the steps that needs to be followed. i'm getting error in gateway where I_FIND_PARENT request(from sensor) response is failing and not reaching to sensor node. however, it works after fresh make load command issue..

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

                              @Dheeraj Did you install the most recent version of the library? There were some significant changes in the routing and find_parent parts of the code...

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


                              10

                              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