Flashdrive
1. Overview
This document describes how to update the Firmware and/or Project on a Grayhill Touch Encoder (TE) or Software Development Kit (SDK) via a USB drive.
These instructions apply to all TE units with an "A" or "B" in the serial number or with a part number ending in "U" (USB version) regardless of serial number. Starting in October 2022, Grayhill made significant upgrades to the TE electrical hardware. One of those upgrades was the separation of the USB and CAN communication lines. This means that TEs with a "C" at the end of the part number (CAN version) and a "C" or later in the serial number (made in or after October 2022) can no longer communicate over USB, this includes USB flash drives. To update CAN units with a "C" in the serial number, see the instructions located below.
Order matters for TEs starting from firmwares earlier than v3.5.2.p10, always update the Bootloader before the Firmware and always use the Bootloader file that was supplied with the Firmware you are updating to. The Bootloader and Firmware should always be updated together, you should never update one without the other. For TEs starting from firmwares v3.5.2.p10 and later, updates should be done using the .tepkg file format. This file format includes the firmware and bootloader together. These files can be treated as firmware files and do not require a separate update for the bootloader. In order to update a TE with firmware prior to v3.5.2.p10 to firmware after v3.5.2.p10, Grayhill recommends updating from old to v3.5.2.p10, then onto the latest version.
To ensure proper Project operation, it is recommended that the "Config" and "Storage" be Reset prior to loading or updating Bootloader/Firmware.
Clearing Config will reset the unit to the factory configuration see GUIDE Communication Protocol Document GUIDE or iPad Communication Protocol Document for reference.
When running Projects created on the iPad app (TE-MX):
When running Projects created on the PC app (GH GUIDE):
Clearing Storage will remove any project that is currently on the TE. If a new project is not loaded after clearing the "Storage" the TE will default to the TE test project which consists of 4 arrow screens, each waiting for a swipe in the direction indicated, followed by a screen with an encoder controlled value widget. The value ranges from 0-32 and changes with the encoder knob position.
1.1 Equipment List(s)
Update Cable - T18908 or T18912-2, available from Grayhill or Digikey (GH7915-ND or TBD respectively)
Power Supply - 4.75 to 18Vdc
USB Drive - Drive must contain the files below in the root directory for the firmware version to be updated to, Grayhill released versions available in Downloads.
Starting from firmware earlier that v3.5.2.p10
Starting from firmware v3.5.2.p10 or later
Current SDKs cannot be updated via USB flash drive. All updates must be performed over Live Update.
Update Cable - T11917, available from Grayhill or Digikey (1568-1211-ND).
Power Supply - 5Vdc
Power Cable - T11927, available from Grayhill or StarTech (USB to 5.5mm Power Cable, Type N Barrel, 1m)
USB Drive - Drive must contain the files below in the root directory for the firmware version to be updated to, Grayhill released versions available in Downloads.
Starting from firmware earlier that v3.5.2.p10
Starting from firmware v3.5.2.p10 or later
1.2 Setup
Insert USB drive into the update cable.
Plug the round 5 pin connector of the update cable into the main connector of the TE
Plug the update cable into the power supply
Current SDKs cannot be updated via USB flash drive. All updates must be performed over Live Update.
Insert USB drive into the update cable.
Insert the micro USB of the update cable into the SDK
Insert the barrel connector of the power cable into the SDK
Plug the USB end of the power cable into the power supply
2. Update Procedure
In the images that follow, the existing bootloader and firmware on the TE/SDK prior to being updated is v1.3.0.p8 and v3.0.4.p8 respectively. We will be updating to v1.4.1.p10 and 3.5.2.p10 respectively. If your TE/SDK has firmware prior to 3.0.4.p8 follow the steps outlined in the "Software Update Guide" for TE OS Version < 1.0.0 (no UtilityApp) located here or contact Grayhill (te_support@grayhill.com) before following these instructions.
2.1 Check Current Settings
Tap "Utilities" on the main Utility App screen
Tap "Info"
Check Current Settings
The current Bootloader version shows 1.3.0.p8 as expected
The current Firmware version shows 3.0.4.p8 as expected
The current Communication Protocol shows CAN J1939 with a Baud Rate of 250 kbits/s
Tap the Home button until you are back to the main Utility App screen
2.2 Update Bootloader
Tap "Update"
Tap "System"
Tap "Boot"
Select the desired Bootloader via the encoder, te_mx_v1.4.1.p10.tebl.manifest in the example shown
Tap "Update"
Tap "Reboot" after the update is complete
2.3 Update Firmware
Tap "Update"
Tap "System"
Tap "Firmware"
Select the desired Firmware via the encoder, te_mx_v3.5.2.p10.tefw.manifest in the example shown
Tap "Update"
Tap "Reboot" after the update is complete
2.4 Confirm Bootloader/Firmware Update
Tap "Utilities" on the main Utility App screen
Tap "Info"
Check Updated Settings
The current Bootloader version now shows 1.4.1.p10
The current Firmware version shows 3.5.2.p10 as expected
The current Communication Protocol shows CAN J1939 with a Baud Rate of 250 kbits/s
If Grayhill has created a Custom Module for your application, that information will show here as well
Tap Home button until you are back to the main Utility App Screen
2.5 Reset Config and Storage
Tap "Utilities"
Tap "Reset"
Tap "Config"
Wait for "Success" and tap Home
Tap "Storage"
Wait for "Success" and tap Home until you are back to the main Utility App screen
2.6 Update Current Project
Tap "Update"
Tap "Project"
Select the desired Project via the encoder, Vehicle App.zip in the example shown
Tap "Update"
Wait for "Update Successful." and tap Home until you are back to the main utility app
2.7 Change Communication Protocol
Tap "Utilities"
Tap "Comm"
Select the desired Communication Protocol via the encoder, "USB HID" in the example shown
Tap "Set"
Tap Home until you are back to the main Utility App screen
Tap "Reboot"
Verify the Communication is set to the desired Protocol by following Section 2.1
3. Problems, Issues, Concerns
If the Bootloader, Firmware, Communication Protocol, or Project do not update as expected please try the steps outlined above again to see if that fixes the issue. If problems persist contact Grayhill at te_support@grayhill.com
As part of your inquiry please include the information below. This will help Grayhill Engineering in troubleshooting the issue and providing quick, accurate feedback.
Grayhill Part Number
This will appear on a label on the back of the unit and will start with "TE-M" or "TEYY"
Firmware version
Both current and the desired version to be updated to
Bootloader version
Both current and the desired version to be updated to
Project Import Code if available