helectromagneticus wrote:I have not yet setup a hardware toolchain to load code on the Yocto MCU. Any suggestions here would be appreciated - my C experience comes from PICs, so I don't really know Atmel tools at all.
the atmegas are programmed via an SPI-like interface, and some also have this JTAG thing
this can be done with a range of available programmers, or even with a computer which has a parallel port (that's what i use at home)
avrdude is the program that deals with the software side of programming (it's similar to pk3cmd, except it's fast and actually works)
that doesn't matter too much since the yocto uses a bootloader
now, that's also where i see a problem - the bootloader (afaik) uses MIDI as communication and SYSEX for the firmware transfer - that's common practice including in many commercial products
the good part about this is that all you need from the computer side is a MIDI librarian program (and there are a bunch of them already)
however, MIDI itself is slow.. if you're a user - that's not a problem
if you're a developer - that's another story, specifically in my case, i re-flash the firmware i'm working on frequently, and my patience is not infinite.. having to plug/unplug MIDI cables to the computer also sux big time for me
so i was considering looking into replacing the yocto bootloader with one which offers serial (UART) support besides MIDI, like in our other project
so, if you want to program the atmega - you need a programmer (even just a parallel port plus some DIY), and avrdude
if you want to flash the firmware - you need a MIDI librarian app capable of sending sysex, but i can't help any further with that since i haven't flashed my yocto yet