Saving the program to the jffs2 file system, Saving the program to the, Jffs2 file system – ThingMagic Mercury API v1.23.0 User Manual

Page 119

Advertising
background image

Building On-Reader Applications

On Reader Applications

119

Saving the Program to the JFFS2 File System

The root MercuryOS filesystem runs out of a ramdisk that is loaded from the flash
memory device on boot. This filesystem is read/write while the reader is running, however
any changes made to the filesystem are gone when you reboot the reader.

The JFFS2 filesystem mounted at /tm is different. Any files you place in the /tm directory
or any of its subdirectories are saved to flash and restored when the system is restarted.

ThingMagic binaries are stored in the /tm/bin directory. You can use this directory or
create another directory to permanently store your programs. You can copy them to any
directory in the /tm filesystem where they are loaded from the flash, the next time the
reader is rebooted.

Advertising