EasyFlash 4.0 official release, lightweight device information storage scheme of things

EasyFlash  is a lightweight platform for embedded Flash memory database so developers more easily achieve the common development of applications based on Flash memory. Very suitable for smart home, wearable, industrial, medical and other needs of power-off function storage products, resource consumption is very low, supports a variety of on-chip MCU memory. The library currently offers 3 big practical function  :

  • Env  small KV database, support for  writing a balance (wear leveling)  and power-down protection mode

Let Flash into a small key NoSQL (non-relational database) model (Key-Value) stored in the database. The product can achieve more simple  setting parameters  or  operation log information stored in power-down function.

  • IAP  -line upgrade is no longer a difficult thing

The library encapsulates IAP (In-Application Programming) common interface function, CRC32 checksum support, support and upgrades Application of Bootloader.

  • Log  do not need to file systems, logs can be stored directly on Flash

Ideal for applications where small without a file system products, to facilitate developers to quickly locate, find the cause of a system crash or crash. In conjunction with EasyLogger (I'm open source super lightweight, high-performance C log library, which provides a seamless interface with EasyFlash) used together, easy Flash memory functions C logs.

New V4.0 NG schema

Since the 2019 Spring Festival, EasyFlash after more than four years of iteration, combined with the needs and suggestions of many developers, has finally released version V4.0 beta, ENV feature in this version is named  NG  (the Next Generation) mode, which is the new version of a fully reconstructed, has the following new features:

  • Smaller footprint, memory footprint  is almost 0  ; (V4.0 previous version will use the extra space RAM cache)

  • The value type ENV support  any type  , any length, corresponds directly to Flash memcpy variables; (V4.0 supports only the string before)

  • ENV operation efficiency than earlier models, take advantage of the remaining free area, and the number of erase operation time was significantly reduced;

  • Native support  wear leveling, power-down protection (requires Flash sector before taking up extra V4.0);

  • ENV supports  incremental upgrade  , the firmware upgrade ENV also support the upgrade;

  • Support large data storage mode, unlimited length , data may be sequentially stored in the plurality of Flash sector. Like scripts, audio and other resource-Flash more than one sector can also be stored in the ENV (support in the upcoming V4.1);

  • Support  data encryption  to enhance the security of storage, the essential function of the times things (coming soon in V4.2);

  • It supports  data compression  , reducing occupancy Flash (coming soon in V4.3);

After half a year, the current official version has been released, we look forward to the trial experience

More online documentation, see:

Guess you like

Origin www.oschina.net/news/109002/easyflash-4-0-released