Page 1 of 1

How to burn Yocto v2.0 firmware with an Arduino

Posted: Jul 2nd, '19, 13:00
by Keith
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.

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
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!

Re: How to burn Yocto v2.0 firmware with an Arduino

Posted: Jul 3rd, '19, 10:28
by Dicky
Hi Keith,

Thanks very much for this although it doesn't seem to work for me.

I'm also using a mac and have followed the instructions to the letter but my Yocto has no gone a bit mad.. all lights are stuck on and the screen is blank?!

Do you have any idea what could have happened?

R

Re: How to burn Yocto v2.0 firmware with an Arduino

Posted: Jul 3rd, '19, 14:40
by Keith
It may still be in bootlooader mode. Don't copy the code I provided, as various file locations will be different. Copy the code from your own Arduino log window and add the correct filename for the Yocto firmware.

When you enter the command in the terminal window, you'll get a bunch of data back again. Right at the end, it'll report success or failure. What does it say?

Re: How to burn Yocto v2.0 firmware with an Arduino

Posted: Jul 5th, '19, 13:48
by Dicky
Yes, I must have mistyped a directory. Works perfectly now. Thanks very much for your help!