Flasher Hub - Limit programming cycles

From SEGGER Wiki
Revision as of 15:44, 6 May 2024 by Leon (talk | contribs) (Created page with "The Flasher Hub provides a mechanism to limit the number of programming cycles that can be performed with the configuration that is stored on the Flasher Compacts. __TOC__ =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Flasher Hub provides a mechanism to limit the number of programming cycles that can be performed with the configuration that is stored on the Flasher Compacts.

Usage

To make use of this feature, a file called Cntdown.txt needs to be placed onto the Flasher Compacts module folder. This file simply contains a decimal number (32-bit unsigned integer) that describes how many programming cycles can be performed with the current setup.

CntdownTxtContent.PNG

This feature especially makes sense when used in combination with authorized flashing. For more information about authorized flashing, please refer to the Flasher User Manual.

Note:
The number in Cntdown.txt is only updated on a successful programming cycle. Programming cycles that failed do not affect Cntdown.txt.

LED indicator behavior

In case a Cntdown.txt is found at boot time, the fail/error LED of the Flasher Compact behaves differently. If the number of programming cycles left is 10 or below, the following will happen:

  • The red error/fail LED will be lit for 1 second
  • After this, it will blink/toggle x times @ 5 Hz, indicating the number of programming cycles left (blinking 5 times for 5 cycles left, etc.)