How to burn Yocto v2.0 firmware with an Arduino
Posted: Jul 2nd, '19, 13:00
The Yocto 2 does not seem to want to be reprogrammed by sysex, so here's a way to do it with an Arduino. You can do this without pulling the Yocto from the case or removing the chip thanks to the on-board ICSP interface.
First, follow these instructions to load in a bootloader.
You do have to use the Arduino 1.0.6 IDE, but that's still available for download from the Arduino site. I used an Arduino Uno, which is available on Amazon for about $20 in the US.
Once you've got the bootloader loaded, grab the latest firmware. You need the .hex version.
Now you need to use the command line. The easiest way to do this is to set your IDE to "verbose mode" (it's under settings or preferences). Load one of the example sketches in the IDE and try to load it into the Yocto. "Bare Minimum" works well because, well, that's all you need.
In the log window, it'll spit out something like this. I'm using a Mac, but the Windows version shouldn't be dramatically different other than file locations.
Copy that into a terminal window on your Mac and change the final filename to point to your Yocto firmware hex. On a PC, I expect you open up cmd and pop it in there. It'll take a minute or so to load and then verify, and then you have new firmware!
First, follow these instructions to load in a bootloader.
You do have to use the Arduino 1.0.6 IDE, but that's still available for download from the Arduino site. I used an Arduino Uno, which is available on Amazon for about $20 in the US.
Once you've got the bootloader loaded, grab the latest firmware. You need the .hex version.
Now you need to use the command line. The easiest way to do this is to set your IDE to "verbose mode" (it's under settings or preferences). Load one of the example sketches in the IDE and try to load it into the Yocto. "Bare Minimum" works well because, well, that's all you need.
In the log window, it'll spit out something like this. I'm using a Mac, but the Windows version shouldn't be dramatically different other than file locations.
Code: Select all
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega1284p -cstk500v1 -P/dev/tty.usbmodem14101 -b19200 -D -Uflash:w:/Volumes/2TBHDD/home/Documents/Yocto/Yocto_v2_003.hex:i