Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 支持
  • 关于我们
  • Search
    • Contact Us
    • Forum
    • Knowledge Base
    • Newsletter
    • RSS
  •   工作机会
  •   视频
  •   永续性
  • emFile
  • NAND Image creator
  • Technology
  • Add-ons
  • Tools

NAND Image Creator

Software utility for creating file system images for NAND flash devices

Contact us
Downloads
Documentation
SEGGER emFile
  1. 1.Overview
  2. 2.Interface of the NAND Image Creator
  3. 3.Sample script file

Overview

The NAND Image Creator is a command line utility which can be used to build a file containing 1-to-1 representation of a NAND flash device (image) with preselected files and directories found on the host computer. The utiliy creates a file on the host computer containing a virtual NOR flash device where files and directories can be stored in the exact same way they are needed on the target device. It is possible to copy files and entire directory trees from the host computer to the created image. The image file created by the NAND Image Creator is a standard binary file which can be flashed directly into the NAND flash of the target via programming tools such as the SEGGER Flasher family.

The utility ships in executable form for the Windows, macOS and Linux operating systems. Separate versions are available for the FAT and EFS file system.

Interface of the NAND Image Creator

The interface of the NAND flash image is used like any other command line based program. For the ease of usage many commands are kept similar to their DOS counterparts. By entering "?" or just pressing the Enter key an overview of the commands is printed on the screen and it should look like the screenshot below.

The NAND Image Creator can work in two modes: interactive and script. The interactive mode is entered when the utility is started with no arguments. In this mode the user is prompted to type in the commands. The script mode is entered when the utility is started with an argument which specifies the name of a file containing the commands to be executed, one command per line.

 emFile-nand-image-creator-cmd

Sample script file

The following sample shows a simple script file which does the following:

  • Creates a 128 MB NAND flash image file C:\flash.bin
  • Sets the type of NAND driver which will be used on the target to access the NAND flash to Universal. This command is optional since the default driver type is the Universal NAND driver.
  • Writes the file system information to the image
  • Low-level formats the image
  • High-level formats the image
  • Copies the Test.txt file from drive C: on host PC to root directory on the image.
  • Copies recursively the contents of Data directory on host PC to Data directory on the image.

Example Script File

createimage C:\flash.bin 1024 64 2048
setdrivertype uni
init
formatlow
format
addfile C:\Test.txt
addfolder C:\Data\
q

全球总部

德国: SEGGER Microcontroller GmbH

地址: Ecolab-Allee 5
40789 Monheim am Rhein, Germany
电邮: info@segger.com
电话: +49-2173-99312-0
传真: +49-2173-99312-28

网点分布

中国:哲戈微系统科技(上海)有限公司

地址: 中国上海市闵行区秀涟路133号
大虹桥国际A 栋218室
邮编201199
电邮: china@segger.com
电话: +86-133-619-907-60

通过ISO 9001认证

ISO 9001

30多年的嵌入式行业经验

First-class embedded software tools since 1992
  • 版本说明
  • 免责声明
  • 隐私策略
  • 沪ICP备2022005181号
  • 沪公网安备 31011202014525号
© 2025 SEGGER - 版权所有.

您即将离开 segger.cn 而访问境外网站,是否继续?