Which ATmega do i go with?
-
And which way is your/the preferred method of burning the bootloader, would you use a Arduino Uno and burn the bootloader using the "Arduino as ISP" option or would you go with something like a USBtinyISP adapter? Could you provide a link for a specific programmer if you use one as I'm seeing a lot of varying types/sizes/shapes and I'de like a recommendation of a working device from someone that uses one. If you use an Arduino UNO, i will just purchase one of those instead.
-
@tbowmo said:
Now for the external flash, and bootloader support. There are two bootloaders available for OTA FW upgrades.
- MysBootloader - no external flash needed, but only supports NRF24, and no security features (signing etc.)
- DualOptiboot - needs external flash to store fw while uploading it. Supporting both NRF24 and RFM69 radios, and supports signing (dev branch of Mysensors library is probably needed)
Without using external flash could i use the Arduino bootloader? Did you only mention these 2 for their "OTA Firmware upgrade" ability? I'm struggling to workout how to burn this MysBootloader onto my chip. I can't find much information on this.
EDIT: So, I've been reading on the Google Docs for bootloading, and it would appear all that i have to do is put the MysBootloader sub-folder into the bootloaders folder in my Arduino IDE documents. So, i have done that but i still only have "Burn Bootloader" in the tools drop down menu, is this normal not to be able to choose which bootloader i would like to burn or do i need to have my board plugged into my computer to then be recognised to be able to burn MYSBootloader?
@samuel235 Please follow these instructions for burning MYSBootloader and testing OTA updates with MYSController. Both, USBasp and ArudinoISP are easy to use as long as you do not mix up the cables...
-
@samuel235 Please follow these instructions for burning MYSBootloader and testing OTA updates with MYSController. Both, USBasp and ArudinoISP are easy to use as long as you do not mix up the cables...
@tekka - How on earth did i not stumble across this! Thank you very much! I will get ordering myself an UNO in preperation to getting my board manufactured. Now i know which connections are needed in my ISP header, i will carry on sketching out the schematic. Thank you once again!
-
I'm using genuine atmel programmers (currently I'm on jtagice3) been serving me fine for the last couple of years (also have the added benefits of being able to work together with gdb, so I can debug arduino code on my atmel sam D21 mcu)
Anyways, there are lot's of (cheaper) programmers out there, amongst others you could use another arduino as programmer..