Coder Social home page Coder Social logo

Comments (3)

songchong11 avatar songchong11 commented on August 31, 2024

我也遇到了这个问题,跑 KVDB Sample 的时候回遇到。还没解决。

[FlashDB][kv][env][fdb_kvdb1] (../vendor/flash_db/src/fdb_kvdb.c:1739) The oldest addr is @0x00007000 /PRIX32/
[FlashDB][kv][env][fdb_kvdb1] (../vendor/flash_db/src/fdb_kvdb.c:1753) KVDB size is 8000/PRIu32/ bytes.
�[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m
�[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m
�[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m
�[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m
�[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m
�[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m
�[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m
[FlashDB][sample][kvdb][basic] ==================== kvdb_basic_sample ====================
[FlashDB][sample][kvdb][basic] get the 'boot_count' value is 344
[FlashDB][sample][kvdb][basic] set the 'boot_count' value to 345
[FlashDB][sample][kvdb][basic] ===========================================================
[FlashDB][sample][kvdb][string] ==================== kvdb_type_string_sample ====================
�[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m
[FlashDB][sample][kvdb][string] create the 'temp' string KV, value is: 36C
[FlashDB][sample][kvdb][string] get the 'temp' value is: 36C
[FlashDB][sample][kvdb][string] set 'temp' value to 38C
[FlashDB][sample][kvdb][string] delete the 'tem?�? finish
[FlashDB][sample][kvdb][string] ===========================================================
[FlashDB][sample][kvdb][blob] ==================== kvdb_type_blob_sample ====================
�[31;22m[E/FAL] (fal_partition_read:419) Partiti?鹡 read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m
[FlashDB][sample][kvdb][blob] create the 'temp' blob KV, value is: 36
[FlashDB][sample][kvdb][blob] get the 'temp' value is: 36
[FlashDB][sample][kvdb][blob] set 'temp' value to 38
[FlashDB][sample][kvdb][blob] delete the 'temp' finish

from flashdb.

BurnerK avatar BurnerK commented on August 31, 2024

我也遇到了这个问题,跑 KVDB Sample 的时候回遇到。还没解决。

[FlashDB][kv][env][fdb_kvdb1] (../vendor/flash_db/src/fdb_kvdb.c:1739) The oldest addr is @0x00007000 /PRIX32/ [FlashDB][kv][env][fdb_kvdb1] (../vendor/flash_db/src/fdb_kvdb.c:1753) KVDB size is 8000/PRIu32/ bytes. �[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m �[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m �[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m �[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m �[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m �[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m �[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m [FlashDB][sample][kvdb][basic] ==================== kvdb_basic_sample ==================== [FlashDB][sample][kvdb][basic] get the 'boot_count' value is 344 [FlashDB][sample][kvdb][basic] set the 'boot_count' value to 345 [FlashDB][sample][kvdb][basic] =========================================================== [FlashDB][sample][kvdb][string] ==================== kvdb_type_string_sample ==================== �[31;22m[E/FAL] (fal_partition_read:419) Partition read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m [FlashDB][sample][kvdb][string] create the 'temp' string KV, value is: 36C [FlashDB][sample][kvdb][string] get the 'temp' value is: 36C [FlashDB][sample][kvdb][string] set 'temp' value to 38C [FlashDB][sample][kvdb][string] delete the 'tem?�? finish [FlashDB][sample][kvdb][string] =========================================================== [FlashDB][sample][kvdb][blob] ==================== kvdb_type_blob_sample ==================== �[31;22m[E/FAL] (fal_partition_read:419) Partiti?鹡 read error! Partition address out of bound. addr 7fe6, size 20, part->len 8000�[0m [FlashDB][sample][kvdb][blob] create the 'temp' blob KV, value is: 36 [FlashDB][sample][kvdb][blob] get the 'temp' value is: 36 [FlashDB][sample][kvdb][blob] set 'temp' value to 38 [FlashDB][sample][kvdb][blob] delete the 'temp' finish

我发现用创建blob参数的方式创建就没问题了,定义一个数组,用来存默认值长度比较大的参数。

static char sg_param_mqtt_pub_enabled[65] = "OFF,OFF,OFF,OFF,OFF,OFF,OFF,OFF,OFF,OFF,OFF,OFF,OFF,OFF,OFF,OFF";

static struct fdb_default_kv_node sg_main_flash_param_table[]={
    {"param", &sg_param_mqtt_pub_enabled, sizeof(sg_param_mqtt_pub_enabled)},
}
  • [ ]

from flashdb.

songchong11 avatar songchong11 commented on August 31, 2024

from flashdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.