rdww60 wrote:
mirmit wrote:Hi,
I've published my port of DualOptiboot onto OptiBoot v6.
The code is accessible at
https://github.com/abouillot/DualOptiboot6.
Other changes in the support libraries are the Flash Erasing, to be made by 4K pages, as Spanion chip doesn't support 32K block erase.
Be sure to adjust the low fuse to DE, instead of default FF for most arduino boards, to correctly flash after reboot.
The code still needs optimisation, especially on size side
Hi mirmit,
I am trying to do the same in that I would like to be able to re-program the bootloader in Anarduino MiniWireless like lowpowerlab Moteino/MoteinoMega.
I'm doing this in Windows.
I see this post is quite a bit older than the latest update you have to GitHub.
I pulled a copy of your library and added the #define ANARDUINO 1 for Anarduino MiniWireless.
I downloaded IDE 1.5.6r2 as it is the last with the \hardware\tools\avr\utils folder with make in it.
I can build omake.bat miniwireless no problem.
When I use omake.bat miniwireless_isp using same com port I have issues. Prior to running,
* I have updated boards.txt,
* Loaded up an UNO with ArduinoISP sketch,
* Placed pull-ups on target for Reset, D5 & D10 (RGM69HW radio on miniwireless)
* Programmer Arduino as ISP
* Selected Anarduino MiniWireless from Boards menu
What I get, is a verification error at 0x7800.
I get this on multiple parts.
It looks like I've bricked one already trying this.
I thought I'd check with you before going further, and verify that you in fact were able to make this work on an Andarduino MiniWireless, and able to re-program over the air. Is this true?
Maybe you see a step I'm missing?
Thanks for your time and help..