Flasher - Flasher.ini file

From SEGGER Knowledge Base
Jump to navigation Jump to search

The Flasher.ini file is an initialization file stored in the file system of a Flasher.
It contains global settings that persists across reboots.

Overview

The Flasher.ini file is stored on the root folder of the Flasher file system.
Flasher creates it, automatically, when necessary.
Although the file can be edited manually, that is not necessary for most intents and purposes.
Flasher utilities (like U-Flash) and remote control commands (like #SELECT) update the file contents, as needed.

Settings

CONFIG section

The [CONFIG] section of the Flasher.ini file contains configuration settings.

AutoPowerOffOnIdle

Note:
This setting is only supported by Flashers Portable models.

Specifies the time interval in seconds, after which Flasher Portable will turn off without any user action.

Value range 0[1] - 3600
Default value 60
  1. ↑ A value of 0 disables this feature altogether.

Example

This example will automatically power off Flasher Portable after five minutes (300 seconds) without any user interaction.

[CONFIG]
AutoPowerOffOnIdle = "300"

ShowDatCRCAfterProgramming

Note:
This setting is legacy. The respective project setting in J-Flash, J-Flash SPI or U-Flash should be used, instead.

Activates printing the data file CRC to the terminal, after a standalone programming operation.
For Flashers Portable models, the CRC will also be shown on the display.

Value range 0 - 1
Default value 0

Example

[CONFIG]
ShowDatCRCAfterProgramming = "1"