FezBootloaderUtil is a project mainly written in C#, it's free.
FEZ bootloader utility. Good for updating firmware.
This is a utility that will update a FEZ to the latest firmware. Tested with exactly one FEZ Domino on exactly one machine.
In general, you can just put your FEZ board in bootloader mode and run it, and the magic happens.
Two potential limitations right now:
Happy to hear any guidance about how to address these potential limitations.
One clever bit (well, I think it's clever) that I found was the serial port identification code:
private SerialPort OpenFezBootloaderSerialPort()
{
var searcher = new ManagementObjectSearcher("select DeviceID,MaxBaudRate from Win32_SerialPort where Description = \"GHI Boot Loader Interface\"");
foreach (var obj in searcher.Get())
{
return new SerialPort((string) obj["DeviceID"], (int) (uint) obj["MaxBaudRate"]);
}
throw new Exception("Unable to find FEZ device. Is it in bootloader mode?");
}
This uses Windows Management Instrumentation (WMI) to find the associated COM port with the FEZ, and then creates a SerialPort
object preconfigured for the MaxBaudRate
advertised by the device.