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.
  • rollercontainerR rollercontainer

    I've just tried two 3,3V Pro Minis. Flashed the 8MHz MYSBootloader without problems (Nano as ISP). After that I connected the FTDI Adapter and programmed Blink and ReadAnalogVoltage examples without error. Both didn't worked on both Pro Minis. With original Bootloaders, they work.

    Where is my fault?

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

    @rollercontainer You have to provide additional information such as logs, etc. for troubleshooting

    1 Reply Last reply
    0
    • Thar0lT Offline
      Thar0lT Offline
      Thar0l
      wrote on last edited by
      #52

      @tekka Serial not working after uploading MYSbootloader v1.3pre. ArduinoProMini 5v16Mhz. Is it normal?

      tekkaT 1 Reply Last reply
      0
      • Thar0lT Thar0l

        @tekka Serial not working after uploading MYSbootloader v1.3pre. ArduinoProMini 5v16Mhz. Is it normal?

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

        @Алексей-Гусаров please provide additional information such as config and logs.

        Thar0lT 1 Reply Last reply
        0
        • tekkaT tekka

          @Алексей-Гусаров please provide additional information such as config and logs.

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

          @tekka
          boards.txt:

          ######## settings for ext XTAL 16Mhz, EESAVE, BOD1V8, no lock
          proMYSBL16.name=ATmega328 external 16Mhz with MYSBootloader
          proMYSBL16.upload.tool=avrdude
          proMYSBL16.upload.protocol=arduino
          proMYSBL16.upload.maximum_size=30720
          proMYSBL16.upload.maximum_data_size=2048
          proMYSBL16.upload.speed=115200
          proMYSBL16.bootloader.tool=avrdude
          proMYSBL16.bootloader.low_fuses=0xFF
          proMYSBL16.bootloader.high_fuses=0xD2
          proMYSBL16.bootloader.extended_fuses=0x06
          proMYSBL16.bootloader.unlock_bits=0x3F
          proMYSBL16.bootloader.lock_bits=0x3F
          proMYSBL16.bootloader.file=MySensors/MYSBootloaderV13pre.hex
          proMYSBL16.build.mcu=atmega328p
          proMYSBL16.build.f_cpu=16000000L
          proMYSBL16.build.board=AVR_UNO
          proMYSBL16.build.core=arduino
          proMYSBL16.build.variant=standard
          
          ######## 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
          

          MyConfig.h:

          #ifdef MY_DISABLED_SERIAL
          #undef MY_DEBUG
          #endif
          
          #ifndef MY_BAUD_RATE
          #define MY_BAUD_RATE 115200
          #endif
          
          //#define MY_DISABLE_REMOTE_RESET
          
          //#define MY_RADIO_NRF24
          //#define MY_RADIO_RFM69
          //#define MY_RS485
          
          #ifndef MY_NODE_ID
          #define MY_NODE_ID AUTO
          #endif
          
          #ifndef MY_PARENT_NODE_ID
          #define MY_PARENT_NODE_ID AUTO
          #endif
          
          // #define MY_REPEATER_FEATURE
          
          #ifndef MY_SMART_SLEEP_WAIT_DURATION
          #define MY_SMART_SLEEP_WAIT_DURATION 500
          #endif
          
          //#define MY_OTA_FIRMWARE_FEATURE
          
          #ifndef MY_OTA_FLASH_SS
          #define MY_OTA_FLASH_SS 8
          #endif
          
          #ifndef MY_OTA_FLASH_JDECID
          #define MY_OTA_FLASH_JDECID 0x1F65
          #endif
          
          #ifndef MY_GATEWAY_MAX_RECEIVE_LENGTH
          #define MY_GATEWAY_MAX_RECEIVE_LENGTH 100
          #endif
          
          #ifndef MY_GATEWAY_MAX_SEND_LENGTH
          #define MY_GATEWAY_MAX_SEND_LENGTH 120
          #endif
          
          #ifndef MY_GATEWAY_MAX_CLIENTS
          #define MY_GATEWAY_MAX_CLIENTS 1
          #endif
          
          //#define MY_LEDS_BLINKING_FEATURE
          
          //#define MY_WITH_LEDS_BLINKING_INVERSE
          
          //#define MY_DEFAULT_ERR_LED x
          //#define MY_DEFAULT_TX_LED x
          //#define MY_DEFAULT_RX_LED x
          
          //#define MY_INCLUSION_MODE_FEATURE
          
          //#define MY_INCLUSION_BUTTON_FEATURE
          
          #ifndef MY_INCLUSION_MODE_FEATURE
          #undef MY_INCLUSION_BUTTON_FEATURE
          #endif
          
          #ifndef MY_INCLUSION_MODE_BUTTON_PIN
          	#if defined(ARDUINO_ARCH_ESP8266)
          		#define MY_INCLUSION_MODE_BUTTON_PIN 5
          	#else
          		#define MY_INCLUSION_MODE_BUTTON_PIN 3
          	#endif
          #endif
          
          #ifndef MY_INCLUSION_MODE_DURATION
          #define MY_INCLUSION_MODE_DURATION 60
          #endif
          
          #if defined(MY_INCLUSION_BUTTON_EXTERNAL_PULLUP)
          #define MY_INCLUSION_BUTTON_PRESSED HIGH
          #else
          #define MY_INCLUSION_BUTTON_PRESSED LOW
          #endif
          
          //#define MY_SIGNING_ATSHA204
          
          //#define MY_SIGNING_SOFT
          
          //#define MY_SIGNING_REQUEST_SIGNATURES
          
          #ifndef MY_VERIFICATION_TIMEOUT_MS
          #define MY_VERIFICATION_TIMEOUT_MS 5000
          #endif
          
          //#define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}}
          
          #ifndef MY_SIGNING_ATSHA204_PIN
          #define MY_SIGNING_ATSHA204_PIN 17
          #endif
          
          #ifndef MY_SIGNING_SOFT_RANDOMSEED_PIN
          #define MY_SIGNING_SOFT_RANDOMSEED_PIN 7
          #endif
          
          #ifndef MY_RS485_BAUD_RATE
          #define MY_RS485_BAUD_RATE 9600
          #endif
          
          #ifndef MY_RS485_MAX_MESSAGE_LENGTH
          #define MY_RS485_MAX_MESSAGE_LENGTH 40
          #endif
          
          //#define MY_RF24_ENABLE_ENCRYPTION
          
          #ifndef MY_RF24_CE_PIN
          	#if defined(ARDUINO_ARCH_ESP8266)
          		#define MY_RF24_CE_PIN 4
          	#elif defined(ARDUINO_ARCH_SAMD)
          		#define MY_RF24_CE_PIN 27
          	#else
          		#define MY_RF24_CE_PIN 9
          	#endif
          #endif
          
          #ifndef MY_RF24_CS_PIN
          	#if defined(ARDUINO_ARCH_ESP8266)
          		#define MY_RF24_CS_PIN 15
          	#elif defined(ARDUINO_ARCH_SAMD)
          		#define MY_RF24_CS_PIN 3
          	#else
          		#define MY_RF24_CS_PIN 10
          	#endif
          #endif
          
          #ifndef MY_RF24_PA_LEVEL
          #define MY_RF24_PA_LEVEL RF24_PA_MAX
          #endif
          
          #ifndef MY_RF24_CHANNEL
          #define MY_RF24_CHANNEL	76
          #endif
          
          #ifndef MY_RF24_DATARATE
          #define MY_RF24_DATARATE RF24_250KBPS
          #endif
          
          #ifndef MY_RF24_BASE_RADIO_ID
          #define MY_RF24_BASE_RADIO_ID ((uint64_t)0xA8A8E1FC00LL)
          #endif
          
          //#define MY_SOFTSPI
          
          #ifndef MY_SOFT_SPI_SCK_PIN
          #define MY_SOFT_SPI_SCK_PIN 14
          #endif
          
          #ifndef MY_SOFT_SPI_MISO_PIN
          #define MY_SOFT_SPI_MISO_PIN 16
          #endif
          
          #ifndef MY_SOFT_SPI_MOSI_PIN
          #define MY_SOFT_SPI_MOSI_PIN 15
          #endif
          
          #ifndef MY_RFM69_FREQUENCY
          #define MY_RFM69_FREQUENCY   RF69_868MHZ
          #endif
          
          //#define MY_IS_RFM69HW
          
          #ifdef MY_IS_RFM69HW
          	#define MY_RFM69HW true
          #else
          	#define MY_RFM69HW false
          #endif
          
          #ifndef MY_RFM69_NETWORKID
          #define MY_RFM69_NETWORKID     100
          #endif
          
          #ifndef MY_RF69_IRQ_PIN
          #define MY_RF69_IRQ_PIN RF69_IRQ_PIN
          #endif
          
          #ifndef MY_RF69_SPI_CS
          #define MY_RF69_SPI_CS RF69_SPI_CS
          #endif
          
          #ifndef MY_RF69_IRQ_NUM
          	#if defined(ARDUINO_ARCH_ESP8266)
          		#define MY_RF69_IRQ_NUM MY_RF69_IRQ_PIN
          	#else
          		#define MY_RF69_IRQ_NUM RF69_IRQ_NUM
          	#endif
          #endif
          
          //#define MY_RFM69_ENABLE_ENCRYPTION
          
          //#define MY_GATEWAY_W5100
          //#define MY_GATEWAY_ENC28J60
          //#define MY_GATEWAY_ESP8266
          
          #ifndef MY_PORT
          #define MY_PORT 5003
          #endif
          
          //#define MY_USE_UDP
          
          #ifndef MY_IP_RENEWAL_INTERVAL
          #define MY_IP_RENEWAL_INTERVAL 60000
          #endif
          
          #ifndef MY_MAC_ADDRESS
          #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
          #endif
          
          //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 254
          
          //#define MY_NODE_LOCK_FEATURE
          
          #ifndef MY_NODE_UNLOCK_PIN
          #define MY_NODE_UNLOCK_PIN 14
          #endif
          
          #ifndef MY_NODE_LOCK_COUNTER_MAX
          #define MY_NODE_LOCK_COUNTER_MAX 5
          #endif
          
          

          In node scetch:

          #define MY_DEBUG
          

          I have no logs from node because serial isn't working at all. Which logs should I attach?

          tekkaT 1 Reply Last reply
          0
          • Thar0lT Thar0l

            @tekka
            boards.txt:

            ######## settings for ext XTAL 16Mhz, EESAVE, BOD1V8, no lock
            proMYSBL16.name=ATmega328 external 16Mhz with MYSBootloader
            proMYSBL16.upload.tool=avrdude
            proMYSBL16.upload.protocol=arduino
            proMYSBL16.upload.maximum_size=30720
            proMYSBL16.upload.maximum_data_size=2048
            proMYSBL16.upload.speed=115200
            proMYSBL16.bootloader.tool=avrdude
            proMYSBL16.bootloader.low_fuses=0xFF
            proMYSBL16.bootloader.high_fuses=0xD2
            proMYSBL16.bootloader.extended_fuses=0x06
            proMYSBL16.bootloader.unlock_bits=0x3F
            proMYSBL16.bootloader.lock_bits=0x3F
            proMYSBL16.bootloader.file=MySensors/MYSBootloaderV13pre.hex
            proMYSBL16.build.mcu=atmega328p
            proMYSBL16.build.f_cpu=16000000L
            proMYSBL16.build.board=AVR_UNO
            proMYSBL16.build.core=arduino
            proMYSBL16.build.variant=standard
            
            ######## 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
            

            MyConfig.h:

            #ifdef MY_DISABLED_SERIAL
            #undef MY_DEBUG
            #endif
            
            #ifndef MY_BAUD_RATE
            #define MY_BAUD_RATE 115200
            #endif
            
            //#define MY_DISABLE_REMOTE_RESET
            
            //#define MY_RADIO_NRF24
            //#define MY_RADIO_RFM69
            //#define MY_RS485
            
            #ifndef MY_NODE_ID
            #define MY_NODE_ID AUTO
            #endif
            
            #ifndef MY_PARENT_NODE_ID
            #define MY_PARENT_NODE_ID AUTO
            #endif
            
            // #define MY_REPEATER_FEATURE
            
            #ifndef MY_SMART_SLEEP_WAIT_DURATION
            #define MY_SMART_SLEEP_WAIT_DURATION 500
            #endif
            
            //#define MY_OTA_FIRMWARE_FEATURE
            
            #ifndef MY_OTA_FLASH_SS
            #define MY_OTA_FLASH_SS 8
            #endif
            
            #ifndef MY_OTA_FLASH_JDECID
            #define MY_OTA_FLASH_JDECID 0x1F65
            #endif
            
            #ifndef MY_GATEWAY_MAX_RECEIVE_LENGTH
            #define MY_GATEWAY_MAX_RECEIVE_LENGTH 100
            #endif
            
            #ifndef MY_GATEWAY_MAX_SEND_LENGTH
            #define MY_GATEWAY_MAX_SEND_LENGTH 120
            #endif
            
            #ifndef MY_GATEWAY_MAX_CLIENTS
            #define MY_GATEWAY_MAX_CLIENTS 1
            #endif
            
            //#define MY_LEDS_BLINKING_FEATURE
            
            //#define MY_WITH_LEDS_BLINKING_INVERSE
            
            //#define MY_DEFAULT_ERR_LED x
            //#define MY_DEFAULT_TX_LED x
            //#define MY_DEFAULT_RX_LED x
            
            //#define MY_INCLUSION_MODE_FEATURE
            
            //#define MY_INCLUSION_BUTTON_FEATURE
            
            #ifndef MY_INCLUSION_MODE_FEATURE
            #undef MY_INCLUSION_BUTTON_FEATURE
            #endif
            
            #ifndef MY_INCLUSION_MODE_BUTTON_PIN
            	#if defined(ARDUINO_ARCH_ESP8266)
            		#define MY_INCLUSION_MODE_BUTTON_PIN 5
            	#else
            		#define MY_INCLUSION_MODE_BUTTON_PIN 3
            	#endif
            #endif
            
            #ifndef MY_INCLUSION_MODE_DURATION
            #define MY_INCLUSION_MODE_DURATION 60
            #endif
            
            #if defined(MY_INCLUSION_BUTTON_EXTERNAL_PULLUP)
            #define MY_INCLUSION_BUTTON_PRESSED HIGH
            #else
            #define MY_INCLUSION_BUTTON_PRESSED LOW
            #endif
            
            //#define MY_SIGNING_ATSHA204
            
            //#define MY_SIGNING_SOFT
            
            //#define MY_SIGNING_REQUEST_SIGNATURES
            
            #ifndef MY_VERIFICATION_TIMEOUT_MS
            #define MY_VERIFICATION_TIMEOUT_MS 5000
            #endif
            
            //#define MY_SIGNING_NODE_WHITELISTING {{.nodeId = GATEWAY_ADDRESS,.serial = {0x09,0x08,0x07,0x06,0x05,0x04,0x03,0x02,0x01}}}
            
            #ifndef MY_SIGNING_ATSHA204_PIN
            #define MY_SIGNING_ATSHA204_PIN 17
            #endif
            
            #ifndef MY_SIGNING_SOFT_RANDOMSEED_PIN
            #define MY_SIGNING_SOFT_RANDOMSEED_PIN 7
            #endif
            
            #ifndef MY_RS485_BAUD_RATE
            #define MY_RS485_BAUD_RATE 9600
            #endif
            
            #ifndef MY_RS485_MAX_MESSAGE_LENGTH
            #define MY_RS485_MAX_MESSAGE_LENGTH 40
            #endif
            
            //#define MY_RF24_ENABLE_ENCRYPTION
            
            #ifndef MY_RF24_CE_PIN
            	#if defined(ARDUINO_ARCH_ESP8266)
            		#define MY_RF24_CE_PIN 4
            	#elif defined(ARDUINO_ARCH_SAMD)
            		#define MY_RF24_CE_PIN 27
            	#else
            		#define MY_RF24_CE_PIN 9
            	#endif
            #endif
            
            #ifndef MY_RF24_CS_PIN
            	#if defined(ARDUINO_ARCH_ESP8266)
            		#define MY_RF24_CS_PIN 15
            	#elif defined(ARDUINO_ARCH_SAMD)
            		#define MY_RF24_CS_PIN 3
            	#else
            		#define MY_RF24_CS_PIN 10
            	#endif
            #endif
            
            #ifndef MY_RF24_PA_LEVEL
            #define MY_RF24_PA_LEVEL RF24_PA_MAX
            #endif
            
            #ifndef MY_RF24_CHANNEL
            #define MY_RF24_CHANNEL	76
            #endif
            
            #ifndef MY_RF24_DATARATE
            #define MY_RF24_DATARATE RF24_250KBPS
            #endif
            
            #ifndef MY_RF24_BASE_RADIO_ID
            #define MY_RF24_BASE_RADIO_ID ((uint64_t)0xA8A8E1FC00LL)
            #endif
            
            //#define MY_SOFTSPI
            
            #ifndef MY_SOFT_SPI_SCK_PIN
            #define MY_SOFT_SPI_SCK_PIN 14
            #endif
            
            #ifndef MY_SOFT_SPI_MISO_PIN
            #define MY_SOFT_SPI_MISO_PIN 16
            #endif
            
            #ifndef MY_SOFT_SPI_MOSI_PIN
            #define MY_SOFT_SPI_MOSI_PIN 15
            #endif
            
            #ifndef MY_RFM69_FREQUENCY
            #define MY_RFM69_FREQUENCY   RF69_868MHZ
            #endif
            
            //#define MY_IS_RFM69HW
            
            #ifdef MY_IS_RFM69HW
            	#define MY_RFM69HW true
            #else
            	#define MY_RFM69HW false
            #endif
            
            #ifndef MY_RFM69_NETWORKID
            #define MY_RFM69_NETWORKID     100
            #endif
            
            #ifndef MY_RF69_IRQ_PIN
            #define MY_RF69_IRQ_PIN RF69_IRQ_PIN
            #endif
            
            #ifndef MY_RF69_SPI_CS
            #define MY_RF69_SPI_CS RF69_SPI_CS
            #endif
            
            #ifndef MY_RF69_IRQ_NUM
            	#if defined(ARDUINO_ARCH_ESP8266)
            		#define MY_RF69_IRQ_NUM MY_RF69_IRQ_PIN
            	#else
            		#define MY_RF69_IRQ_NUM RF69_IRQ_NUM
            	#endif
            #endif
            
            //#define MY_RFM69_ENABLE_ENCRYPTION
            
            //#define MY_GATEWAY_W5100
            //#define MY_GATEWAY_ENC28J60
            //#define MY_GATEWAY_ESP8266
            
            #ifndef MY_PORT
            #define MY_PORT 5003
            #endif
            
            //#define MY_USE_UDP
            
            #ifndef MY_IP_RENEWAL_INTERVAL
            #define MY_IP_RENEWAL_INTERVAL 60000
            #endif
            
            #ifndef MY_MAC_ADDRESS
            #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
            #endif
            
            //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 254
            
            //#define MY_NODE_LOCK_FEATURE
            
            #ifndef MY_NODE_UNLOCK_PIN
            #define MY_NODE_UNLOCK_PIN 14
            #endif
            
            #ifndef MY_NODE_LOCK_COUNTER_MAX
            #define MY_NODE_LOCK_COUNTER_MAX 5
            #endif
            
            

            In node scetch:

            #define MY_DEBUG
            

            I have no logs from node because serial isn't working at all. Which logs should I attach?

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

            @Алексей-Гусаров I'll look into that. Seems like bootloader is not handing over to the sketch (corroborates previous reports). Can you post the OTA log (from e.g. MYSController)?

            Thar0lT 1 Reply Last reply
            0
            • tekkaT tekka

              @Алексей-Гусаров I'll look into that. Seems like bootloader is not handing over to the sketch (corroborates previous reports). Can you post the OTA log (from e.g. MYSController)?

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

              @tekka I'm using mycotroller.org instead of myscontroller. It writes that "firmware update initiated" and nothing happens.

              tekkaT J 2 Replies Last reply
              0
              • Thar0lT Thar0l

                @tekka I'm using mycotroller.org instead of myscontroller. It writes that "firmware update initiated" and nothing happens.

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

                @Алексей-Гусаров Then I highly suggest to run MYSController to log OTA traffic for troubleshooting...

                Thar0lT 1 Reply Last reply
                0
                • tekkaT tekka

                  @Алексей-Гусаров Then I highly suggest to run MYSController to log OTA traffic for troubleshooting...

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

                  @tekka OK, I'll try to do it tomorrow.

                  tekkaT J 2 Replies Last reply
                  0
                  • Thar0lT Thar0l

                    @tekka OK, I'll try to do it tomorrow.

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

                    @Алексей-Гусаров :+1:

                    J 1 Reply Last reply
                    0
                    • Thar0lT Thar0l

                      @tekka I'm using mycotroller.org instead of myscontroller. It writes that "firmware update initiated" and nothing happens.

                      J Offline
                      J Offline
                      jkandasa
                      Plugin Developer
                      wrote on last edited by
                      #60

                      @Алексей-Гусаров in mycontroller.org you can get log under Status >> Resources logs. Change items per page to 500 to display more number of logs.

                      1 Reply Last reply
                      0
                      • tekkaT tekka

                        @Алексей-Гусаров :+1:

                        J Offline
                        J Offline
                        jkandasa
                        Plugin Developer
                        wrote on last edited by
                        #61

                        @tekka I work for MyController.org and it supports firmware upload. Do I need to change anything to support MYSbootloader v1.3pre ?
                        Currently MyController.org supports for MYSbootloader1.1

                        1 Reply Last reply
                        0
                        • Thar0lT Thar0l

                          @tekka OK, I'll try to do it tomorrow.

                          J Offline
                          J Offline
                          jkandasa
                          Plugin Developer
                          wrote on last edited by
                          #62

                          @Алексей-Гусаров If you use MYSbootloader you should Reboot your node. AFAIK, MYSbootloader requires Reboot to get active.
                          You should configure firmware in node edit page and reboot the node.
                          Upload firmware works only for DualOptiboot

                          Thar0lT 1 Reply Last reply
                          0
                          • J jkandasa

                            @Алексей-Гусаров If you use MYSbootloader you should Reboot your node. AFAIK, MYSbootloader requires Reboot to get active.
                            You should configure firmware in node edit page and reboot the node.
                            Upload firmware works only for DualOptiboot

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

                            @jkandasa I've tried to reboot and have such rsponce:

                            Apr 28, 2016 02:49:44 PM	serial   0:GatewayNode Received Internal [Log message] send: 0-0-1-1 s=255,c=3,t=13,pt=0,l=0,sg=0,st=fail:
                            Apr 28, 2016 02:49:44 PM	serial   1:SensorNode	Sent Internal	[Reboot]
                            
                            J 1 Reply Last reply
                            1
                            • Thar0lT Thar0l

                              @jkandasa I've tried to reboot and have such rsponce:

                              Apr 28, 2016 02:49:44 PM	serial   0:GatewayNode Received Internal [Log message] send: 0-0-1-1 s=255,c=3,t=13,pt=0,l=0,sg=0,st=fail:
                              Apr 28, 2016 02:49:44 PM	serial   1:SensorNode	Sent Internal	[Reboot]
                              
                              J Offline
                              J Offline
                              jkandasa
                              Plugin Developer
                              wrote on last edited by jkandasa
                              #64

                              @Алексей-Гусаров It looks like your node is not in the range!

                              Thar0lT 1 Reply Last reply
                              0
                              • J jkandasa

                                @Алексей-Гусаров It looks like your node is not in the range!

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

                                @jkandasa said:

                                @Алексей-Гусаров It looks like your node is not in the range!

                                It sends messages it really in is 0.5 meters from gw.

                                J 1 Reply Last reply
                                0
                                • Thar0lT Thar0l

                                  @jkandasa said:

                                  @Алексей-Гусаров It looks like your node is not in the range!

                                  It sends messages it really in is 0.5 meters from gw.

                                  J Offline
                                  J Offline
                                  jkandasa
                                  Plugin Developer
                                  wrote on last edited by
                                  #66

                                  @Алексей-Гусаров can you reboot the node manually?

                                  Thar0lT 1 Reply Last reply
                                  0
                                  • J jkandasa

                                    @Алексей-Гусаров can you reboot the node manually?

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

                                    @jkandasa
                                    I have this:

                                    [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006202
                                    [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:010002006302801481E090E00F90DF91CF910895FC01
                                    [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006302
                                    [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:0100020064021382128248EE53E060E070E044835583
                                    [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006402
                                    [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:0100020065026683778385ED91E09183808308951092
                                    [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006502
                                    

                                    And yes, it has been updated.
                                    Thanks, OTA works now, allthought remote reboot doesn working.

                                    J 1 Reply Last reply
                                    0
                                    • Thar0lT Thar0l

                                      @jkandasa
                                      I have this:

                                      [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006202
                                      [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:010002006302801481E090E00F90DF91CF910895FC01
                                      [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006302
                                      [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:0100020064021382128248EE53E060E070E044835583
                                      [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006402
                                      [Log message] send: 0-0-1-1 s=255,c=4,t=3,pt=6,l=22,sg=0,st=ok:0100020065026683778385ED91E09183808308951092
                                      [Log message] read: 1-1-0 s=255,c=4,t=2,pt=6,l=6,sg=0:010002006502
                                      

                                      And yes, it has been updated.
                                      Thanks, OTA works now, allthought remote reboot doesn working.

                                      J Offline
                                      J Offline
                                      jkandasa
                                      Plugin Developer
                                      wrote on last edited by
                                      #68

                                      @Алексей-Гусаров I could not guess why remote reboot is not working! (Gateway says "Failed to send reboot command to node"). After OTA update completion, try reboot from MyController.org GUI. It may work with new software.

                                      Thar0lT 1 Reply Last reply
                                      0
                                      • J jkandasa

                                        @Алексей-Гусаров I could not guess why remote reboot is not working! (Gateway says "Failed to send reboot command to node"). After OTA update completion, try reboot from MyController.org GUI. It may work with new software.

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

                                        @jkandasa I've tried and it didn't help.

                                        tekkaT 1 Reply Last reply
                                        0
                                        • Thar0lT Thar0l

                                          @jkandasa I've tried and it didn't help.

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

                                          @Алексей-Гусаров rebooting is only working if node is actively processing incoming msgs. Use wait() instead of sleep() within your loop()

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


                                          17

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • MySensors
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular