|
Post by greginkansas on Jun 5, 2016 22:23:47 GMT
Lots of stuff to update and check but got it. to quote PAPA Wirelessly programming (WP) an Anarduino miniwireless, I've just done it Check and recheck you LIBs Now to start on the node code.
|
|
|
Post by greginkansas on Jun 5, 2016 23:31:38 GMT
Good news adding the demo code to a node WORKS. Had to stop serial prints "out of mem more than likely". I will test for a while before pulling all the nodes but it looks good.
|
|
|
Post by greginkansas on Jun 6, 2016 1:25:00 GMT
PAPA are you using the WIN GUI? its working for me
|
|
|
Post by papa on Jun 6, 2016 13:58:58 GMT
Have not tried the WIN GUI yet. I intend to.
|
|
|
Post by papa on Jun 7, 2016 15:42:31 GMT
Yes, Luis Rodrigues' Win GUI works nicely for wireless programming a miniwireless.
|
|
|
Post by greginkansas on Jun 7, 2016 23:06:36 GMT
I am using the LowPowerlab V1.3 in the LIB download
|
|
|
Post by greginkansas on Jun 8, 2016 1:44:04 GMT
One thing do you think this should be looked at?
#miniwireless.upload.maximum_size=32256 miniwireless.upload.maximum_size=30720
in the boards.txt
also I mashed the demo code into the node like you did.
|
|
|
Post by papa on Jun 8, 2016 2:31:55 GMT
Yes, Greg, in the boards.txt, I put
#bootloader is supposed to be 1024, so upload maximum could maybe be 31744 #miniwireless.upload.maximum_size=31744 miniwireless.upload.maximum_size=30720 because I thought the upload, maximum size should be examined.
|
|
|
Post by papa on Jun 10, 2016 2:14:41 GMT
Greg & all,
I updated the board.txt additions for Jun 2, 2016 at 7:38pm post in this thread & Jun 4, 2016 at 7:47pm post in the <Success> Wireless Programming>Anarduino Miniwireless thread. The regular bootloader is 1K, 1024 bytes & the debugging bootloader is more than 1K so the next available bootloader reserve size is 2K or 2048 bytes. The added boards.txt always allowed 1K for the regular bootloader, but now with the update the available sketch memory matches at 31K, 31744. The update also explains how to burn the debugging version of the bootloader.
|
|
|
Post by greginkansas on Jun 10, 2016 10:24:35 GMT
My test node has been running for 5 days, no crashes. Its got 60sec update time, sends 10 items @ receives 6 items every 5 minutes. Looks like this is going to be really cool.
|
|
|
Post by papa on Jun 10, 2016 19:25:46 GMT
Yes, the way we worked out the bootloader, etc for the miniwireless seems to be working well for wireless (re)programming.
|
|
|
Post by greginkansas on Jul 10, 2016 18:01:48 GMT
Papa, I have a board I just can't get the bootloader on would you be willing to give it a shot?
Greg
|
|
|
Post by papa on Jul 11, 2016 13:52:40 GMT
Greg, Say more on what you mean & I'll see what I can do. Which bootloader? Which board? If putting the Mr. Light bootloader on a miniwireless, please review the documentation I posted earlier in this thread starting Jun 1, 2016 at 8:09pm & how you followed that. When I get a chance, I'll review the documentation & see if I omitted something or could have been clearer.
At the same time, my two sisters & I are currently being 24/7 with our mother in the nursing home & perhaps soon in hospice.
With that plus other commitments, there may be gaps when I can pay attention or have access to my DIY HA stuff.
|
|
|
Post by greginkansas on Jul 11, 2016 23:59:31 GMT
Greg, Say more on what you mean & I'll see what I can do. Which bootloader? Which board? If putting the Mr. Light bootloader on a miniwireless, please review the documentation I posted earlier in this thread starting Jun 1, 2016 at 8:09pm & how you followed that. When I get a chance, I'll review the documentation & see if I omitted something or could have been clearer. At the same time, my two sisters & I are currently being 24/7 with our mother in the nursing home & perhaps soon in hospice. With that plus other commitments, there may be gaps when I can pay attention or have access to my DIY HA stuff. First, sorry about your mom. I am trying to get the Mr. Light bootloader on a miniwireless. Your docs are clear, as you are the king of the docs on this board I have tried many times to get it uploaded on this board. But now it is not recognized anymore by the IDE or AVRDUDESS a prg that uploads bootloaders also. I'm stumped, when and if you want I will mail it to you and see if you have better luck. The OP, Computourist, and you have done good work here.
|
|
|
Post by papa on Jul 12, 2016 0:52:57 GMT
Greg, see my private message to you.
|
|
|
Post by papa on Jul 18, 2016 21:51:00 GMT
Jul 11, 2016 at 7:51pm ... Greg, you wrote:
Thanks, Greg for the empathy & the compliment.
A couple questions & I may have more later: Were you able to upload anything to the miniwireless, even a sketch via the bootloader it shipped with? If you were able to upload a sketch, which board worked in the IDE settings?
I'm willing to give a shot to installing bootloader for your miniwireless, as long as you understand that it could take a while with my life complications.
Working with your miniwireles could be a nice distraction for me.
Jul 11, 2016 at 8:19pm ... Greg replied:
|
|
|
Post by papa on Jul 18, 2016 21:57:37 GMT
Greg, I received your miniwireless in the mail today. I'm off a couple days from caring for my mother in Hospice in another town so I had a chance to try burning the Dual Optiboot bootloader that's been adapted for wireless / Over the Air programming. I followed the documentation I wrote in this thread, starting at the Jun 4, 2016 post titled: Burning DualOptiboot for miniwireless, "The Easy Way": Using the Arduino IDE (Necessary Setup) Good news (I guess): The Arduino IDE burned the bootloader just fine with no errors. In fact, I did it twice to be sure. I'm not sure what caused your difficulties. Burning the bootloader does use a bunch of wires & sometimes one gets tired or seeing what we expect to see rather than seeing how we missed something. Anything else you want me to do other than mail it back? (BTW, thanks for providing return postage.
|
|
|
Post by greginkansas on Jul 18, 2016 22:57:48 GMT
WOW Thanks, that means there must be something with my tool chain. Did you run any node code by chance?
Time to look all bootloader stuff over.
GC
|
|
|
Post by papa on Jul 19, 2016 0:27:16 GMT
Greg,
When I previously posted, I had not yet tried to upload a sketch to the miniwireless. When I did try to upload a node sketch ...
I tried several settings using the 3 volt FTDI power adapter / programmer, but the MW kept getting sync errors.
Then I tried uploading a sketch to the MW via the Arduino as ISP board & that seemed to be successful. However, connected to my computers USB, nothing showed on the IDE's Serial Monitor nor on the OpenHAB UI.
So your previous diagnosis may be correct, that this miniwireless is no longer reliable.
I'll ship the MW back to you. Perhaps you can return it to Anarduino for a replacement.
|
|
|
Post by greginkansas on Jul 19, 2016 1:03:13 GMT
OK, it was worth a look with fresh eyes.
Thanks
|
|