Last modified March 4, 2016
The GHI Bootloader is used to easily update the firmware on our devices. It is the first program to run and unless the device specific LDR pins are set (see device documentation for details), it will execute the firmware on the device if present.
To use the GHI Bootloader to update your NETMF device, open FEZ Config and select your device under Advanced > Loader Update. Follow the instructions that appear on the screen. Non-NETMF devices must use the below commands manually through a terminal program.
When present, the MODE pin controls which interface is used: USB or serial. For devices with multiple serial ports, COM1 is used. For devices with no USB support, serial is always used. Serial always defaults to 115,200 baud.
There are two versions of the bootloader that are similar, but differ in a few key ways. They are detailed below.
Currently the G30, G80, G400, F20, and ALCAM use this version of the bootloader. All commands and results are terminated with CR and LF (\r\n). "OK." will be sent after each successful command.
On startup, a banner is sent that is terminated by "OK.". Once the banner is received, you are free to enter any of the case-insensitive single-character commands described below.
Most commands require confirmation. Send Y or y followed by a new-line to proceed or anything else to cancel.
Currently the EMX, G120, and G120E use this version of the bootloader. All results are terminated with LF (\n). Commands are executed as soon as they entered without waiting for a new-line. "BL" or "Done." will be sent after each command.
On startup, a banner is sent that is terminated by "BL". Once the banner is received, you are free to enter any of the case-sensitive single-character commands described below.