Flasher - File management

From SEGGER Knowledge Base
Jump to navigation Jump to search

Flasher provides different methods for managing files stored on its file system.

Introduction

Flasher allows uploading and downloading files stored on its file system.

This can be used for uploading project files (e.g. .cfg, .uni, .pex, .dat) as well as downloading log files (e.g. Flasher.log).

Considerations

The current generation of Flasher models support filenames (as well as directory names) up to 31 characters in length.
Only characters from the CP437 character set (latin characters) may be used in file or directory names.

Note:

Support for long filenames (LFN) was added with hardware version 5. Flashers with hardware version 4 and lower support 8.3 filenames, only (8 characters filename, 3 characters file extension).

On Flasher units without LFN support, using long filenames may result in incorrect operation. Integrated functions, like the FTP server or the terminal server, will refuse writing files with long filenames on units that do not support it.

Interfaces

The files stored on Flasher Hub and the modules connected to it can be accessed from different interfaces.

FTP

FH4 Files FTP.png

Flasher's FTP server allows clients to connect and transfer files using the file transfer protocol. For more information on Flasher's FTP server, see Flasher - TCP services.

ASCII terminal

FH4 Files Terminal.png

Flasher's ASCII terminal provides commands for file operations. Using those commands, files can be uploaded to and downloaded from Flasher.
The ASCII terminal itself can be accessed via different host interfaces. For more information on the Flasher ASCII terminal, see Flasher - Remote control.

Flasher software

FH4 Files JFlash.png

Some applications (i.e. J-Link Commander and J-Flash) from the Flasher software package allow accessing files on Flasher.

File access mode

When booted in file access mode, Flasher connects to a host via USB as if it was a flash drive.
Then, files can be moved from and to the Flasher in the same way it can be done with any other storage medium. For more information on Flasher's file access mode and how to enter it, see Flasher - Working with Flasher.