MYSBootloader 1.3.0-beta.3
-
@tekka, I tested this bootloader and facing an issue.
https://github.com/mysensors/MySensorsBootloaderRF24/issues/7 -
How do I do a remote reboot of a node? Node is not responding to MYSController command (I think due to changed things as with reassigning node-ID). DO I have to write a receive event or enable it somehow? Node is sleeping most time, maybe that's a problem.
-
I'm very interested in testing your development for the latest MYSBootloader as the bootloader for OTA updates on my new hardware designs that i'm starting to design, but i would like a stable one first to make sure my system and setup are working fine with the stable. Is the stable bootloader the one in the master branch of https://github.com/mysensors/MySensorsBootloaderRF24/tree/master. The MYSBootloader.hex file or does this still need to be compiled for use?
Or do you happen to have a download link for the stable version, should we be using the one that you bundle together with MYSController?
Also, @tekka - Do you advise a stable one that works for MyController.org please?
-
With this bootloader, i can not upload scetch with serial or USB.
Where does i made a mistake?
Is there a configuration that is specific to the bootloader?
Thanks -
With this bootloader, i can not upload scetch with serial or USB.
Where does i made a mistake?
Is there a configuration that is specific to the bootloader?
Thanks@Nicolas-Charrier Welcome to MySensors. Please do not post the same question in different threads. Maybe you can give additional information that help to understand what you tried so far (logs, screenshots, HW configuration, CPU frequency, etc.). Did you follow the OTA/bootloader instructions here?
-
@Nicolas-Charrier Welcome to MySensors. Please do not post the same question in different threads. Maybe you can give additional information that help to understand what you tried so far (logs, screenshots, HW configuration, CPU frequency, etc.). Did you follow the OTA/bootloader instructions here?
@tekka
I can now program my board with serial line. It's work perfectly.
It's an issue with my serial converteur and an usb hub. The usb hub add a delay that is not compatible with the bootloader.
Sorry for the question.
Nico -
@tekka
I can now program my board with serial line. It's work perfectly.
It's an issue with my serial converteur and an usb hub. The usb hub add a delay that is not compatible with the bootloader.
Sorry for the question.
Nico -
Excuse me for beeing an idiot. But how do you compile the bootloader from source? Do you do it from Atmel studio or from Arduino IDE. And how is it done? When I compile it in Atmel studio it gets an base adress of 0x0000 which is wrong.
I am used to program in assembler in Atmel studio and when I program in C i don't touch anyting else than the .c file. So some form of tutorial kind of thing would be helpful.
Thank you
-
Hey all,
I've compiled the bootloader and was able to install it with Arduino as ISP to a Nano. I couldn't find the lines necessary for the Nano in boards.txt so I created this:
############################################################## nanomysbootloader.name=Arduino Nano MYSBootloader nanomysbootloader.upload.tool=avrdude nanomysbootloader.upload.protocol=arduino nanomysbootloader.bootloader.tool=avrdude nanomysbootloader.bootloader.unlock_bits=0x3F nanomysbootloader.bootloader.lock_bits=0x0F nanomysbootloader.build.f_cpu=16000000L nanomysbootloader.build.board=AVR_NANO nanomysbootloader.build.core=arduino nanomysbootloader.build.variant=eightanaloginputs ## Arduino Nano w/ ATmega328 ## ------------------------- nanomysbootloader.menu.cpu.atmega328=ATmega328 nanomysbootloader.menu.cpu.atmega328.upload.maximum_size=30720 nanomysbootloader.menu.cpu.atmega328.upload.maximum_data_size=2048 nanomysbootloader.menu.cpu.atmega328.upload.speed=115200 nanomysbootloader.menu.cpu.atmega328.bootloader.low_fuses=0xFF nanomysbootloader.menu.cpu.atmega328.bootloader.high_fuses=0xDA nanomysbootloader.menu.cpu.atmega328.bootloader.extended_fuses=0xFD nanomysbootloader.menu.cpu.atmega328.bootloader.file=MySensors/MYSBootloader.hex nanomysbootloader.menu.cpu.atmega328.build.mcu=atmega328pIs this correct? Besides, on some devices I cannot program over serial anymore now, only through another ISP. Could that be caused by incorrect settings? Is it possible to recover from that?
The error I'm getting is this one:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x32Thanks and happy easter!
Rene -
@Nicolas-Charrier Welcome to MySensors. Please do not post the same question in different threads. Maybe you can give additional information that help to understand what you tried so far (logs, screenshots, HW configuration, CPU frequency, etc.). Did you follow the OTA/bootloader instructions here?
Hi All,
I'm currently upgrading to MySensors 2.0.0 and it would make sense to change over to the MYSBootloader as I upgrade each node. (I'd like to be able to use the remote re-boot command from MYSController).
I have been reading about the MYSBootloader and have some questions . . .
Q1 - My nodes are a mixture of Pro-Micro's, Leonardo's, Mega 2560's and the odd UNO. From what I can see, the MYSbootloader.hex file is for the Mega328p, is this correct, or can the same bootloader be adjusted (fuse settings etc) for others like the Leonardo processor?
Q2 - One post I read seemed to imply that to use the remote reboot feature you needed 'either' the MYSBootloader OR OptiBoot. In the OptiBoot readme, it doesn't mention reboot as a feature, so I am wondering if it really does support reboot - can anyone please confirm?
Many thanks,
Paul
-
Can someone please tell me how long it is supposed to take to upload a hex file with MYSBootloader. I am trying out OTA Updates with the latest dev branch of MYSBootloader and it takes almost 2 hours to upload a 64k hex file. Is this normal or should it be a lot quicker?
-
-
I am getting good range here. I have a repeater node (not using MYSBootloader yet) that is 100m away and works fine and another node 200 to 300m away (hence the repeater at 100m). The far node was dropping some messages but that is not too critical as its only a water tank level sensor. I plan to put in a long range PA+SMA type nrf24L01 on that one. The gateway and repeater already have the long range nrf's. I am now testing OTA to a weather station node that is just outside - around 10m from gateway. And I have a test node on my desk around 8m from the gateway. Both the weather station and the test node on my desk give same results for OTA - around 30min or so for every 20k of hex file.