MYSBootloader 1.3pre2 testing
-
@NiklasO you can use the internal RC oscillator (that is 8Mhz), no need to use external XTAL. For AVR fuse calculator, refer to http://www.engbedded.com/fusecalc/ or http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p and the documentation therein.
@tekka said:
@NiklasO you can use the internal RC oscillator (that is 8Mhz), no need to use external XTAL. For AVR fuse calculator, refer to http://www.engbedded.com/fusecalc/ or http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p and the documentation therein.
I don't understand the fusecalc yet. I don't know all the terms used on that calc page or how it really works but I'm learning I guess. ;) The Pro Mini clones i got from eBay has this extremely small external 8 MHz (for 3.3V) and 16MHz (for 5V) crystal/oscillator/resonator or what they are called. Why is it there if not needed? Genuine interested here.
-
So, I gather there is no RFM69 version?
-
Not getting an answer here. Should I be asking the question somewhere else?
-
@mannkind thank you for your reply. I don't want to get you in trouble regarding the rules. i don't feel it is against the rules to promote open source or contribution around mysensors if it makes the journey more enjoyable. maybe a mod or admin can pitch in and clarify in any case.
I understand that the gateway role is to open up integration with other controllers (and we have quite many thanks to that)
The problem i am trying to wrap my head around is to have mysensors network attached to my current controller, and ideally be able to update over the air the sketches. how can i begin doing that? i am ready to use 2 or more controller (mycontroller or myscontroller or...), 2 ore more gateways and even maybe have the nodes on two different rf channels.Basically, what is the recommended way to achieve that, while having for the time being at least, another controller attached.?
-
@mannkind : thank you for your message. I'll give that a go later on.
@tekka , @anyone :)
I am trying to make this work using MYSController (from MYSBootloader_V13pre2/). I've followed the instructions above from @tekka, but it feels like the OTA process kicks around quite quick, then it seems to block in a loop[2016-10-17 23:09:29.821 Info] RX 1;255;4;0;0;0A0001005000D4460102 [2016-10-17 23:09:29.821 Info] INFO BL version=258 [2016-10-17 23:09:29.821 Info] INFO Send FW info to node 1: type=A, version=1, blocks=0x0050, CRC=0x46D4 [2016-10-17 23:09:29.822 Info] TX 1;0;4;0;1;0A0001005000D446I'll try to keep it going all night, but here are my full log till now.
Any idea what is going wrong?
0_1476738954886_MySensors_20161017-230018.log -
@mannkind : thank you for your message. I'll give that a go later on.
@tekka , @anyone :)
I am trying to make this work using MYSController (from MYSBootloader_V13pre2/). I've followed the instructions above from @tekka, but it feels like the OTA process kicks around quite quick, then it seems to block in a loop[2016-10-17 23:09:29.821 Info] RX 1;255;4;0;0;0A0001005000D4460102 [2016-10-17 23:09:29.821 Info] INFO BL version=258 [2016-10-17 23:09:29.821 Info] INFO Send FW info to node 1: type=A, version=1, blocks=0x0050, CRC=0x46D4 [2016-10-17 23:09:29.822 Info] TX 1;0;4;0;1;0A0001005000D446I'll try to keep it going all night, but here are my full log till now.
Any idea what is going wrong?
0_1476738954886_MySensors_20161017-230018.log -
@mannkind : thank you for your message. I'll give that a go later on.
@tekka , @anyone :)
I am trying to make this work using MYSController (from MYSBootloader_V13pre2/). I've followed the instructions above from @tekka, but it feels like the OTA process kicks around quite quick, then it seems to block in a loop[2016-10-17 23:09:29.821 Info] RX 1;255;4;0;0;0A0001005000D4460102 [2016-10-17 23:09:29.821 Info] INFO BL version=258 [2016-10-17 23:09:29.821 Info] INFO Send FW info to node 1: type=A, version=1, blocks=0x0050, CRC=0x46D4 [2016-10-17 23:09:29.822 Info] TX 1;0;4;0;1;0A0001005000D446I'll try to keep it going all night, but here are my full log till now.
Any idea what is going wrong?
0_1476738954886_MySensors_20161017-230018.log -
@jmkhael Looks like a bad radio connection (GW too close / far, interference, power) What happens if you upload the FW via serial link?
-
@tekka: it was probably a mix of power/distance. when change these two parameters, OTA went fine. thank you
What is the best way to handle OTA for sleeping nodes? is there something else todo besides setting the property under settings in MYSController? Do I need to powercycle the node or will MYSController kicks in when the node sleeps/smartSleeps?
thank you for your time -
@tekka: it was probably a mix of power/distance. when change these two parameters, OTA went fine. thank you
What is the best way to handle OTA for sleeping nodes? is there something else todo besides setting the property under settings in MYSController? Do I need to powercycle the node or will MYSController kicks in when the node sleeps/smartSleeps?
thank you for your time -
@jmkhael MYSController will reboot the node as soon as it wakes up, sends and processes incoming messages.
@tekka my node wakes up every two minutes (or on pir movement) sends some messages (temperature, light level...) and sleeps right away. will MYSController be able to do that in this small time window? is there something i can code to help it? (heartBeat, wait, smartSomething?)
(as i saw during my few tests, i had to powercycle my node, maybe i wasn't patient enough :)) -
@tekka my node wakes up every two minutes (or on pir movement) sends some messages (temperature, light level...) and sleeps right away. will MYSController be able to do that in this small time window? is there something i can code to help it? (heartBeat, wait, smartSomething?)
(as i saw during my few tests, i had to powercycle my node, maybe i wasn't patient enough :)) -
Just tried with this release, works great (had no problem with previous release)
The only drawback is the packet bitrate, around 40 per minute with 45 bytes each.
It takes 1h to flash a node.few minutes, just make sure of your wiring as this is a very intensive process compared to node's standard radio use.Here is a flash running on a test network:

Can we update many nodes at the same time ? haven't tried
-
Just tried with this release, works great (had no problem with previous release)
The only drawback is the packet bitrate, around 40 per minute with 45 bytes each.
It takes 1h to flash a node.few minutes, just make sure of your wiring as this is a very intensive process compared to node's standard radio use.Here is a flash running on a test network:

Can we update many nodes at the same time ? haven't tried
-
I can now gets dozen of packets at once, then hold, continues...depending of how I press the wires on radio side :sweat:
It's a wiring problem, will try this weekend with a soldered node.Thank you
