User manual
GHI Electronics,LLC Embedded Master User Manual
Selecting the Debug Interface
10. Selecting The Debug Interface
Embedded Master Module connects to Visual Studio through Ethernet, USB or one of the
four available serial ports. By default, USB is selected, however, the user is able to select
any desired interface through a simple method call to GHI driver (refer to Miscellaneous
Hardware Access, GHIElectronics.Hardware.Misc.SetDebugInterface). The setting is automatically
saved in non-volatile memory. Calling the method multiple times is safe. Changing the
interface will take effect after a hard reboot.
The debug interface can be forced to be COM1 (COM2 on CANxtra) regardless of the
previously saved setting by holding the “Select” and “Down” buttons on start up.
GHI loader always uses COM1 (COM2 on CANxtra) and Tinybooter uses USB for
communications and loading new Firmwares.
Also, the used debug interface is printed on the LCD at power up. For example DBG:USB
means used interface is USB.
Rev. 2.06 TFT Page 57 of 102 www.ghielectronics.com