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. Arduino pro mini dead after flashing MYSbootloader.

Arduino pro mini dead after flashing MYSbootloader.

Scheduled Pinned Locked Moved Development
30 Posts 4 Posters 2.1k Views 5 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.
  • J Offline
    J Offline
    jimmy loyens
    wrote on last edited by
    #6

    I found this on the forum:
    "In the process of troubleshooting I found out that MYSBootloader needs to be compiled with the same channel settings as the gateway it connects to. "

    I think this is most likely the problem since i'm currently using a test-network with channel 5. I'll try changing the channel in the bootloader source and recompiling it.

    1 Reply Last reply
    0
    • YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #7

      @jimmy-loyens said in Arduino pro mini dead after flashing MYSbootloader.:

      Dont meen to offend you but could you elaborate a bit

      Yes I could, but you found out by yourself :+1:
      Now you learned something new today ;-)

      http://yveaux.blogspot.nl

      J 1 Reply Last reply
      0
      • YveauxY Yveaux

        @jimmy-loyens said in Arduino pro mini dead after flashing MYSbootloader.:

        Dont meen to offend you but could you elaborate a bit

        Yes I could, but you found out by yourself :+1:
        Now you learned something new today ;-)

        J Offline
        J Offline
        jimmy loyens
        wrote on last edited by jimmy loyens
        #8

        @yveaux do you know what development ide i have to use to compile the bootloader? i cant find anything with google on this. I allready found where to change the RF channel in the source but i have no idea how to compile it into a hex file. Tried vs code but i probably have to install another extention

        mfalkviddM G 2 Replies Last reply
        1
        • J jimmy loyens

          @yveaux do you know what development ide i have to use to compile the bootloader? i cant find anything with google on this. I allready found where to change the RF channel in the source but i have no idea how to compile it into a hex file. Tried vs code but i probably have to install another extention

          mfalkviddM Online
          mfalkviddM Online
          mfalkvidd
          Mod
          wrote on last edited by
          #9

          @jimmy-loyens if you get enough help from people to manage building the bootloader, it would be fantastic if you could take some notes and share so we can publish a first version of a guide. I am curious myself and would like to try, and I've seen some questions in the forum earlier so it seems more people are interested.

          I did a quick test, and it seems running make all is sufficient, provided that all tools are in the "right" place.
          This was the result I got:

          Micke @ Quasi ~/workspace/MySensorsBootloaderRF24 development
          $ make all
          rm *.o
          rm: cannot remove '*.o': No such file or directory
          make: [Makefile:44: clean] Error 1 (ignored)
          rm *.elf
          rm: cannot remove '*.elf': No such file or directory
          make: [Makefile:45: clean] Error 1 (ignored)
          rm *.hex
          rm: cannot remove '*.hex': No such file or directory
          make: [Makefile:46: clean] Error 1 (ignored)
          "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-gcc" -I"/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/avr/include/avr" -funsigned-char -funsigned-bitfields -DF_CPU=16000000L -DBAUD_RATE=115200 -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -Wall -Wextra -Wundef -pedantic -mmcu=atmega328p -c -std=gnu99 -MD -MP -MF "MYSBootloader.d" -MT"MYSBootloader.d" -MT"MYSBootloader.o"  MYSBootloader.c -o MYSBootloader.o
          In file included from Core.h:40:0,
                           from MYSBootloader.c:81:
          HW.h:51:4: warning: #warning is a GCC extension
             #warning BAUD_RATE error greater than 2%
              ^
          HW.h:51:4: warning: #warning BAUD_RATE error greater than 2% [-Wcpp]
          In file included from Core.h:45:0,
                           from MYSBootloader.c:81:
          MySensorsBootloader.h:59:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration]
           static bool inline sendMessage(void) {
           ^
          "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-gcc" -nostartfiles -Wl,-s -Wl,-static -Wl,-Map=".map" -Wl,--start-group -Wl,--end-group -Wl,--gc-sections -mrelax -Wl,-section-start=.text=0x7800 -mmcu=atmega328p   -o MYSBootloader.elf MYSBootloader.o -lm
          "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-objcopy" -O ihex -R .eeprom MYSBootloader.elf MYSBootloader.hex
          "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-size" MYSBootloader.elf
             text    data     bss     dec     hex filename
             2032       6      71    2109     83d MYSBootloader.elf
          Micke @ Quasi ~/workspace/MySensorsBootloaderRF24 development
          $ file MYSBootloader.elf
          MYSBootloader.elf: ELF 32-bit LSB executable, Atmel AVR 8-bit, version 1 (SYSV), statically linked, stripped
          Micke @ Quasi ~/workspace/MySensorsBootloaderRF24 development
          $ ls -l MYSBootloader.elf
          -rwxrwxr-x+ 1 Micke None 2480 Jan 24 21:59 MYSBootloader.elf
          
          J G 2 Replies Last reply
          0
          • mfalkviddM mfalkvidd

            @jimmy-loyens if you get enough help from people to manage building the bootloader, it would be fantastic if you could take some notes and share so we can publish a first version of a guide. I am curious myself and would like to try, and I've seen some questions in the forum earlier so it seems more people are interested.

            I did a quick test, and it seems running make all is sufficient, provided that all tools are in the "right" place.
            This was the result I got:

            Micke @ Quasi ~/workspace/MySensorsBootloaderRF24 development
            $ make all
            rm *.o
            rm: cannot remove '*.o': No such file or directory
            make: [Makefile:44: clean] Error 1 (ignored)
            rm *.elf
            rm: cannot remove '*.elf': No such file or directory
            make: [Makefile:45: clean] Error 1 (ignored)
            rm *.hex
            rm: cannot remove '*.hex': No such file or directory
            make: [Makefile:46: clean] Error 1 (ignored)
            "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-gcc" -I"/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/avr/include/avr" -funsigned-char -funsigned-bitfields -DF_CPU=16000000L -DBAUD_RATE=115200 -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -Wall -Wextra -Wundef -pedantic -mmcu=atmega328p -c -std=gnu99 -MD -MP -MF "MYSBootloader.d" -MT"MYSBootloader.d" -MT"MYSBootloader.o"  MYSBootloader.c -o MYSBootloader.o
            In file included from Core.h:40:0,
                             from MYSBootloader.c:81:
            HW.h:51:4: warning: #warning is a GCC extension
               #warning BAUD_RATE error greater than 2%
                ^
            HW.h:51:4: warning: #warning BAUD_RATE error greater than 2% [-Wcpp]
            In file included from Core.h:45:0,
                             from MYSBootloader.c:81:
            MySensorsBootloader.h:59:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration]
             static bool inline sendMessage(void) {
             ^
            "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-gcc" -nostartfiles -Wl,-s -Wl,-static -Wl,-Map=".map" -Wl,--start-group -Wl,--end-group -Wl,--gc-sections -mrelax -Wl,-section-start=.text=0x7800 -mmcu=atmega328p   -o MYSBootloader.elf MYSBootloader.o -lm
            "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-objcopy" -O ihex -R .eeprom MYSBootloader.elf MYSBootloader.hex
            "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-size" MYSBootloader.elf
               text    data     bss     dec     hex filename
               2032       6      71    2109     83d MYSBootloader.elf
            Micke @ Quasi ~/workspace/MySensorsBootloaderRF24 development
            $ file MYSBootloader.elf
            MYSBootloader.elf: ELF 32-bit LSB executable, Atmel AVR 8-bit, version 1 (SYSV), statically linked, stripped
            Micke @ Quasi ~/workspace/MySensorsBootloaderRF24 development
            $ ls -l MYSBootloader.elf
            -rwxrwxr-x+ 1 Micke None 2480 Jan 24 21:59 MYSBootloader.elf
            
            J Offline
            J Offline
            jimmy loyens
            wrote on last edited by jimmy loyens
            #10

            @mfalkvidd what software did you use for this? (I'm on win10 pc, not linux) I'm downloading avr studio right now, dont know if its possible with this software. I have never done anything like this. But hey there is a first time for everything.😁

            I have read on the forum and github that @Guillermo-Schimmel has successfully compiled the MYSbootloader for 8MHz. I'll try asking him for some clues.

            mfalkviddM 1 Reply Last reply
            0
            • J jimmy loyens

              @yveaux do you know what development ide i have to use to compile the bootloader? i cant find anything with google on this. I allready found where to change the RF channel in the source but i have no idea how to compile it into a hex file. Tried vs code but i probably have to install another extention

              G Offline
              G Offline
              Guillermo Schimmel
              wrote on last edited by
              #11

              @jimmy-loyens https://github.com/guillebot/MYSensors-Bootloaders

              The bootloader for all the channels, in 1, 8 and 16MHz flavor.

              J 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

                @jimmy-loyens if you get enough help from people to manage building the bootloader, it would be fantastic if you could take some notes and share so we can publish a first version of a guide. I am curious myself and would like to try, and I've seen some questions in the forum earlier so it seems more people are interested.

                I did a quick test, and it seems running make all is sufficient, provided that all tools are in the "right" place.
                This was the result I got:

                Micke @ Quasi ~/workspace/MySensorsBootloaderRF24 development
                $ make all
                rm *.o
                rm: cannot remove '*.o': No such file or directory
                make: [Makefile:44: clean] Error 1 (ignored)
                rm *.elf
                rm: cannot remove '*.elf': No such file or directory
                make: [Makefile:45: clean] Error 1 (ignored)
                rm *.hex
                rm: cannot remove '*.hex': No such file or directory
                make: [Makefile:46: clean] Error 1 (ignored)
                "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-gcc" -I"/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/avr/include/avr" -funsigned-char -funsigned-bitfields -DF_CPU=16000000L -DBAUD_RATE=115200 -Os -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -mrelax -Wall -Wextra -Wundef -pedantic -mmcu=atmega328p -c -std=gnu99 -MD -MP -MF "MYSBootloader.d" -MT"MYSBootloader.d" -MT"MYSBootloader.o"  MYSBootloader.c -o MYSBootloader.o
                In file included from Core.h:40:0,
                                 from MYSBootloader.c:81:
                HW.h:51:4: warning: #warning is a GCC extension
                   #warning BAUD_RATE error greater than 2%
                    ^
                HW.h:51:4: warning: #warning BAUD_RATE error greater than 2% [-Wcpp]
                In file included from Core.h:45:0,
                                 from MYSBootloader.c:81:
                MySensorsBootloader.h:59:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration]
                 static bool inline sendMessage(void) {
                 ^
                "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-gcc" -nostartfiles -Wl,-s -Wl,-static -Wl,-Map=".map" -Wl,--start-group -Wl,--end-group -Wl,--gc-sections -mrelax -Wl,-section-start=.text=0x7800 -mmcu=atmega328p   -o MYSBootloader.elf MYSBootloader.o -lm
                "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-objcopy" -O ihex -R .eeprom MYSBootloader.elf MYSBootloader.hex
                "/cygdrive/c/Program Files (x86)/Arduino/hardware/tools/avr/bin/avr-size" MYSBootloader.elf
                   text    data     bss     dec     hex filename
                   2032       6      71    2109     83d MYSBootloader.elf
                Micke @ Quasi ~/workspace/MySensorsBootloaderRF24 development
                $ file MYSBootloader.elf
                MYSBootloader.elf: ELF 32-bit LSB executable, Atmel AVR 8-bit, version 1 (SYSV), statically linked, stripped
                Micke @ Quasi ~/workspace/MySensorsBootloaderRF24 development
                $ ls -l MYSBootloader.elf
                -rwxrwxr-x+ 1 Micke None 2480 Jan 24 21:59 MYSBootloader.elf
                
                G Offline
                G Offline
                Guillermo Schimmel
                wrote on last edited by
                #12

                @mfalkvidd Compiling the bootloader in a linux machine is as easy as running make, given than you have devel tools and avr-gcc installed.

                1 Reply Last reply
                1
                • G Guillermo Schimmel

                  @jimmy-loyens https://github.com/guillebot/MYSensors-Bootloaders

                  The bootloader for all the channels, in 1, 8 and 16MHz flavor.

                  J Offline
                  J Offline
                  jimmy loyens
                  wrote on last edited by
                  #13

                  @guillermo-schimmel wow thanks alot, saves me alot of searching and work. Thanks

                  1 Reply Last reply
                  0
                  • J jimmy loyens

                    @mfalkvidd what software did you use for this? (I'm on win10 pc, not linux) I'm downloading avr studio right now, dont know if its possible with this software. I have never done anything like this. But hey there is a first time for everything.😁

                    I have read on the forum and github that @Guillermo-Schimmel has successfully compiled the MYSbootloader for 8MHz. I'll try asking him for some clues.

                    mfalkviddM Online
                    mfalkviddM Online
                    mfalkvidd
                    Mod
                    wrote on last edited by mfalkvidd
                    #14

                    @jimmy-loyens I am using Windows 7 (with cygwin). I didn't need Atmel Studio, I used avr-gcc provided by the Arduino IDE.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jimmy loyens
                      wrote on last edited by
                      #15

                      Now i used the 8MHz external Xtal bootloader for RFchannel 5 (GW is on channel 5) that i got from @Guillermo-Schimmel (thanks again) to flash onto my arduino pro mini using avrdudess (less hassle with editing boards.txt file of arduinoIDE), but still same result.

                      I think mr bootloader is working though because the onboard led of the node behaves like this:

                      (node power on) 10101-000000000000000000-10101-0-
                      1111111111111111111111-0-1111111111111111111111-0-1111111111111111111111-0-1111111111111111111111-0-...
                      (GW online)-11111111111111111111111111111111111111111111111111111111111111111111...
                      

                      So as long as GW is not online the led stays on for long period then goes off for very short period (i think its looking for the gateway), once GW comes online the onboard led of the node stays on (node has seen gateway online). If i unpower the GW at this point the node onboard led stays on until i reset node.

                      It looks like the bootloader is working and detects the GW comming online, but for some reason it doesnt jump on to the programmemory.

                      I have the node programmed with mysensors sketch on RFchannel 5 and GW with mqtt client on RF-channel 5. Added "#define MY_OTA_FIRMWARE_FEATURE" for both node and GW (even though i think its not nessecairy for the GW). are there any other defines i should add to the sketch(es)?

                      @Guillermo-Schimmel I have some more questions for you:
                      -Where the bootloaders compiled with the standard spi pins, being: "#define SPI_PINS_CE9_CSN10"
                      -It says in the make file on github (MYSbootloader): "ISP_EFUSE = 06" but I cant seem to set the E fuse like this. For me only possible values are: F8/F9/FA/FB/FC/FD/FE/FF (this is probably not the problem because this only sets brown-out bits, just curious)
                      -Did you allso have this problem when starting to use MYSbootloader

                      I'll keep trying and searching :smile: :thinking_face: :nerd_face:

                      Maybe another channel will help.

                      J 2 Replies Last reply
                      0
                      • J jimmy loyens

                        Now i used the 8MHz external Xtal bootloader for RFchannel 5 (GW is on channel 5) that i got from @Guillermo-Schimmel (thanks again) to flash onto my arduino pro mini using avrdudess (less hassle with editing boards.txt file of arduinoIDE), but still same result.

                        I think mr bootloader is working though because the onboard led of the node behaves like this:

                        (node power on) 10101-000000000000000000-10101-0-
                        1111111111111111111111-0-1111111111111111111111-0-1111111111111111111111-0-1111111111111111111111-0-...
                        (GW online)-11111111111111111111111111111111111111111111111111111111111111111111...
                        

                        So as long as GW is not online the led stays on for long period then goes off for very short period (i think its looking for the gateway), once GW comes online the onboard led of the node stays on (node has seen gateway online). If i unpower the GW at this point the node onboard led stays on until i reset node.

                        It looks like the bootloader is working and detects the GW comming online, but for some reason it doesnt jump on to the programmemory.

                        I have the node programmed with mysensors sketch on RFchannel 5 and GW with mqtt client on RF-channel 5. Added "#define MY_OTA_FIRMWARE_FEATURE" for both node and GW (even though i think its not nessecairy for the GW). are there any other defines i should add to the sketch(es)?

                        @Guillermo-Schimmel I have some more questions for you:
                        -Where the bootloaders compiled with the standard spi pins, being: "#define SPI_PINS_CE9_CSN10"
                        -It says in the make file on github (MYSbootloader): "ISP_EFUSE = 06" but I cant seem to set the E fuse like this. For me only possible values are: F8/F9/FA/FB/FC/FD/FE/FF (this is probably not the problem because this only sets brown-out bits, just curious)
                        -Did you allso have this problem when starting to use MYSbootloader

                        I'll keep trying and searching :smile: :thinking_face: :nerd_face:

                        Maybe another channel will help.

                        J Offline
                        J Offline
                        jimmy loyens
                        wrote on last edited by
                        #16

                        @jimmy-loyens Ok, this answers the question about the E fuse:
                        "
                        That's why :

                        0x06 = 00000110
                        0xFE = 11111110
                        are doing the same job for the extended fuse. It depends of the tool you use for burning this fuse. Simply, if you get this warning, use the "equivalent".
                        "

                        1 Reply Last reply
                        0
                        • J jimmy loyens

                          Now i used the 8MHz external Xtal bootloader for RFchannel 5 (GW is on channel 5) that i got from @Guillermo-Schimmel (thanks again) to flash onto my arduino pro mini using avrdudess (less hassle with editing boards.txt file of arduinoIDE), but still same result.

                          I think mr bootloader is working though because the onboard led of the node behaves like this:

                          (node power on) 10101-000000000000000000-10101-0-
                          1111111111111111111111-0-1111111111111111111111-0-1111111111111111111111-0-1111111111111111111111-0-...
                          (GW online)-11111111111111111111111111111111111111111111111111111111111111111111...
                          

                          So as long as GW is not online the led stays on for long period then goes off for very short period (i think its looking for the gateway), once GW comes online the onboard led of the node stays on (node has seen gateway online). If i unpower the GW at this point the node onboard led stays on until i reset node.

                          It looks like the bootloader is working and detects the GW comming online, but for some reason it doesnt jump on to the programmemory.

                          I have the node programmed with mysensors sketch on RFchannel 5 and GW with mqtt client on RF-channel 5. Added "#define MY_OTA_FIRMWARE_FEATURE" for both node and GW (even though i think its not nessecairy for the GW). are there any other defines i should add to the sketch(es)?

                          @Guillermo-Schimmel I have some more questions for you:
                          -Where the bootloaders compiled with the standard spi pins, being: "#define SPI_PINS_CE9_CSN10"
                          -It says in the make file on github (MYSbootloader): "ISP_EFUSE = 06" but I cant seem to set the E fuse like this. For me only possible values are: F8/F9/FA/FB/FC/FD/FE/FF (this is probably not the problem because this only sets brown-out bits, just curious)
                          -Did you allso have this problem when starting to use MYSbootloader

                          I'll keep trying and searching :smile: :thinking_face: :nerd_face:

                          Maybe another channel will help.

                          J Offline
                          J Offline
                          jimmy loyens
                          wrote on last edited by jimmy loyens
                          #17

                          @jimmy-loyens Seems like i didn't need to add the define:

                          "@tlustoch You need to enable MY_OTA_FIRMWARE_FEATURE only if you use DualOptiBoot.
                          With MYSBootloader, you don't need 😉

                          I use MYSBootloader 1.3 pre-release with mysensors 2.0. You can find it here : https://forum.mysensors.org/topic/3453/mysbootloader-1-3-pre-release-myscontroller-1-0-0beta

                          And yes it usable with 8 MHZ internal clock config if you burn the bootloader with 8Mhz internal clock setting."

                          EDIT:
                          Removing "MY_OTA_FIRMWARE_FEATURE" was not the solution

                          1 Reply Last reply
                          0
                          • J Offline
                            J Offline
                            jimmy loyens
                            wrote on last edited by jimmy loyens
                            #18

                            Ok, update:

                            When i look in MYController under "status=>resources logs" i can see the node continuously requesting firmware config, so i'm 100% shure the bootloader is good. I'm just not shure what's supposed to happen now from my side. I tried uploading firmware to the node OTA using "resources=>nodes=>actions=>upload firmware" but this doesn't seem to succeed and doesn't show up in the resources logs.

                            But atleast i have some new queries to google :grin: :wink:

                            0_1548413584026_mycontroller.png

                            In MQTT.fx I can allso see the node constantly sending: "mygateway1-out/1/255/4/0/0 FFFFFFFF68057A890103"
                            But if i see this correctly this would mean for node1 child255 Cmd=stream(OTA) Ack=0 Type=0(Dont know what 0 is in stream)

                            Strange because my node has nodeID 107.:thinking_face:

                            Ok on closer inspection i can see in the resources log that the firmware config request comes from node1, so i tried updating firmware OTA of node 1, now i get a firmware config response inresources log.

                            UPDATE:
                            loaded the program back onto the node (changed batery level child from 0 to 255). Now node shows up with correct node ID in mycontroller. And now i get some output in serial monitor too, wich wasn't the case before.

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              jimmy loyens
                              wrote on last edited by
                              #19

                              And BOOM it works!!!! :grin: :yum:

                              I just did my first FOTA update:+1: :+1: :+1: :+1: :+1: :+1:

                              Thanks to everyone who helped

                              G 1 Reply Last reply
                              0
                              • J jimmy loyens

                                And BOOM it works!!!! :grin: :yum:

                                I just did my first FOTA update:+1: :+1: :+1: :+1: :+1: :+1:

                                Thanks to everyone who helped

                                G Offline
                                G Offline
                                Guillermo Schimmel
                                wrote on last edited by
                                #20

                                @jimmy-loyens Great!

                                I have to say that the work done with the bootloader and mysensors is really good.

                                It is very nice when FOTA starts working.

                                J 1 Reply Last reply
                                0
                                • G Guillermo Schimmel

                                  @jimmy-loyens Great!

                                  I have to say that the work done with the bootloader and mysensors is really good.

                                  It is very nice when FOTA starts working.

                                  J Offline
                                  J Offline
                                  jimmy loyens
                                  wrote on last edited by
                                  #21

                                  @guillermo-schimmel Yes indeed, no more running around with laptop and cables :ok_hand: :+1:

                                  Thanks again for the help and the bootloaders

                                  mfalkviddM 1 Reply Last reply
                                  0
                                  • J jimmy loyens

                                    @guillermo-schimmel Yes indeed, no more running around with laptop and cables :ok_hand: :+1:

                                    Thanks again for the help and the bootloaders

                                    mfalkviddM Online
                                    mfalkviddM Online
                                    mfalkvidd
                                    Mod
                                    wrote on last edited by
                                    #22

                                    Great work @jimmy-loyens

                                    Since you now have a working system, would you mind writing down what was needed? I think you are in a good position to describe things so a newbie (like myself, at least when it comes to ota) can understand? Maybe something that can make https://www.mysensors.org/about/fota easier.

                                    G J 3 Replies Last reply
                                    0
                                    • mfalkviddM mfalkvidd

                                      Great work @jimmy-loyens

                                      Since you now have a working system, would you mind writing down what was needed? I think you are in a good position to describe things so a newbie (like myself, at least when it comes to ota) can understand? Maybe something that can make https://www.mysensors.org/about/fota easier.

                                      G Offline
                                      G Offline
                                      Guillermo Schimmel
                                      wrote on last edited by
                                      #23

                                      @mfalkvidd said in Arduino pro mini dead after flashing MYSbootloader.:

                                      Great work @jimmy-loyens

                                      Since you now have a working system, would you mind writing down what was needed? I think you are in a good position to describe things so a newbie (like myself, at least when it comes to ota) can understand? Maybe something that can make https://www.mysensors.org/about/fota easier.

                                      I will send you some little things to improve it:

                                      1. MYSBootloader uses channel 76 by default. To change the channel, a new bootloader must be compiled.

                                      Feel free to post my github project "https://github.com/guillebot/MYSensors-Bootloaders"

                                      I will keep updated the different channel versions and probably will upload my script and some info about compiling them.

                                      1 Reply Last reply
                                      1
                                      • G Offline
                                        G Offline
                                        Guillermo Schimmel
                                        wrote on last edited by
                                        #24

                                        Arduino IDE 1.6.x installed
                                        Mysensors lib > 1.5.x installed

                                        You should probably update that to 1.8.8 and 2.3.1. It is not allways related to FOTA but it is allways better to stay updated.

                                        1 Reply Last reply
                                        0
                                        • G Offline
                                          G Offline
                                          Guillermo Schimmel
                                          wrote on last edited by
                                          #25
                                          1. I would recommend to burn the bootloader with AVRDUDESS, not only the fuses. I had better luck with avrdudess than with arduino ide.

                                          At least show that you can do that (use Arduino ide OR AVRDUDESS)

                                          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