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.
  • n1ck1355N Offline
    n1ck1355N Offline
    n1ck1355
    wrote on last edited by
    #40

    @tekka : do you have any clue whats wrong with my setup?

    tekkaT 1 Reply Last reply
    0
    • DrJeffD Offline
      DrJeffD Offline
      DrJeff
      wrote on last edited by
      #41

      Does the gateway need the OTA firmware (flashed) written to it as well as the Nodes?

      tekkaT 1 Reply Last reply
      0
      • n1ck1355N n1ck1355

        @tekka : do you have any clue whats wrong with my setup?

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

        @n1ck1355 yes, probably there is a timing issue with serial uploads. Need to review the STK500 code. Can you confirm that OTA FW updates work fine?

        1 Reply Last reply
        0
        • DrJeffD DrJeff

          Does the gateway need the OTA firmware (flashed) written to it as well as the Nodes?

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

          @DrJeff No, only the nodes

          DrJeffD 1 Reply Last reply
          0
          • tekkaT tekka

            @DrJeff No, only the nodes

            DrJeffD Offline
            DrJeffD Offline
            DrJeff
            wrote on last edited by
            #44

            @tekka Cool thanks, can I use Arduino as ISP to program bootloader?

            tekkaT 1 Reply Last reply
            0
            • DrJeffD DrJeff

              @tekka Cool thanks, can I use Arduino as ISP to program bootloader?

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

              @DrJeff Yep :)

              DrJeffD 1 Reply Last reply
              0
              • tekkaT tekka

                @DrJeff Yep :)

                DrJeffD Offline
                DrJeffD Offline
                DrJeff
                wrote on last edited by
                #46

                @tekka , Time to try Thanks! :)

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

                  @tekka yes ota fw updates works. Tried it with the Time fw

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

                    @tekka i musst revert my previous post...
                    I've OTA uploaded the sketch from my first post:

                    void setup() {
                      Serial.begin(57600);
                      Serial.println("Setup Start");
                    }
                    
                    void loop() {
                    }
                    

                    and i connected the board over Serial with my computer. After uploading the sketch i did not noticed any output on the serial monitor in the Arduino IDE. Also checked the transfer rate.

                    However the time reporter firmware works fine.

                    1 Reply Last reply
                    0
                    • siklosiS Offline
                      siklosiS Offline
                      siklosi
                      wrote on last edited by
                      #49

                      Is there a way to send ota firmware to node using some cli (python or...) script? I'm using MySensors with domoticz on RPi and when flashing new firmware I usually disconnect gw from rpi plug it into notebook and send fw using MYSController. If I could just disable gw in domoticz and send fw using some script it would be great until (if) domoticz gets support for ota fw.

                      1 Reply Last reply
                      1
                      • rollercontainerR Offline
                        rollercontainerR Offline
                        rollercontainer
                        wrote on last edited by rollercontainer
                        #50

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


                                          15

                                          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