Page 1 of 1

How to use the Updater & Debugger

Posted: Sat Mar 16, 2024 11:43 pm
by Alex
How to update the firmware:
  • Plug SterlingKey™ to a computer using a USB Cable (Type-C on SterlingKey, USB-A on the computer)
  • Go to updater
  • Click Connect
  • Select "USB Serial" on the popup that opens
  • Click Connect
After a few seconds, you will be able to see your current version, and choose a version you want to upload to SterlingKey™.
  • Choose the latest version from the dropdown
  • Click Program
After 10-15 seconds, the device will be updated and restarted automatically.
  • Click Disconnect
  • Unplug SterlingKey™
NOTES:
  • If the version is marked with an asterisk (*), it means that this update is a breaking change, and you will need to unpair and re-pair SterlingKey™
  • For the Updater to work, you must use either Chrome version 89+, or Opera version 75+


How to customize sleep timer:

To customize after how many minutes of inactivity the device goes to sleep, follow the below steps:
  1. Plug SterlingKey™ to a computer using a USB Cable (Type-C on SterlingKey, USB-A on the computer)
  2. Visit updater
  3. Under 'Console', select 'Start'
  4. Select the device
  5. In the input field, you can type the following commands:
    • get sleep_timer (to see the current sleep timer)
    • set sleep_timer 5 (where '5' represents the desired time in minutes)
  6. Click 'Enter' or 'Send' to apply the changes.
If you want to completely disable the sleep timer, you can set it to 0



How to Enable/Disable slots:
  1. Visit updater
  2. Under 'Console', select 'Start'
  3. Select the device
  4. In the input field, the following commands are available:
    • disable slot 1 (to disable slot 1, likewise for 2 and 3)
    • enable slot 1 (to enable slot 1, likewise for 2 and 3)
    • get slots (shows the current state of all 3 slots)
  5. Click 'Enter' or 'Send' to apply the changes.


How to Enable/Disable debug logs:
  1. Visit updater
  2. Under 'Console', select 'Start'
  3. Select the device
  4. In the input field, the following commands are available:
    • get debug (to get the current debug value)
    • set debug 1 (to enable logs)
    • set debug 0 (to disable logs)
  5. Click 'Enter' or 'Send' to apply the changes.
Disabling logs can boost the performance of the device and allow for higher polling rates