Dialog Semiconductor customer support - 68X NVMS https://support.dialog-semiconductor.com/resource-keywords/68x-nvms en NVMS Library Write/Read/Verify mismatch https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/nvms-library-writereadverify-mismatch < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

Hi Dialog.

I have a problem.
I use NVMS library.
I repeated write, read, and verify data violently.
Sometimes data was not match.

Are there any restrictions on using the NVMS library?

Hardware is DA14681-01A9DEVKT-P Development Kit - Pro.
SDK Version is SDK_1.0.10.1072.
I tried VES Partition and Direct Access Partition.
Both failed.

Keywords: 
Device: 
Thu, 15 Feb 2018 04:07:14 +0000 daisuke_suzuki 150069 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/nvms-library-writereadverify-mismatch#comments
681 NVMS存储分配数据一致问题 https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software-dialog-%E2%80%9Csmartbond%E2%80%9D%E7%B3%BB%E5%88%97%E4%BD%8E%E5%8A%9F%E8%80%97%E8%93%9D%E7%89%99%E2%80%94%E8%BD%AF%E4%BB%B6/681 < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

在68X SDK版本1.08中空中升级的partition_table.h中
这个是sdk/config/1M/partition_table.h中的内容:
PARTITION2( 0x000000 , 0x01E000 , NVMS_FIRMWARE_PART , 0 )
PARTITION2( 0x01E000 , 0x001000 , NVMS_PRODUCT_HEADER_PART , 0 )
PARTITION2( 0x01F000 , 0x001000 , NVMS_IMAGE_HEADER_PART , 0 )
PARTITION2( 0x020000 , 0x050000 , NVMS_FW_EXEC_PART , 0 )
PARTITION2( 0x070000 , 0x00D000 , NVMS_LOG_PART , 0 )
PARTITION2( 0x07D000 , 0x002000 , NVMS_PLATFORM_PARAMS_PART , PARTITION_FLAG_READ_ONLY )
PARTITION2( 0x07F000 , 0x001000 , NVMS_PARTITION_TABLE , PARTITION_FLAG_READ_ONLY )
PARTITION2( 0x080000 , 0x010000 , NVMS_PARAM_PART , 0 )
PARTITION2( 0x090000 , 0x051000 , NVMS_FW_UPDATE_PART , 0 )
PARTITION2( 0x0E1000 , 0x01F000 , NVMS_GENERIC_PART , PARTITION_FLAG_VES )

照理说NVMS_GENERIC_PART部分的大小有126976个字节,但是目前测试只有15872 个字节(用ad_nvms_get_size获取,ad_nvms_write返回也是一样)
是否是别的原因导致的数据不对还是其他原因导致的,请帮忙分析下。

Keywords: 
Device: 
Thu, 13 Apr 2017 01:35:05 +0000 zhouchen 17981 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software-dialog-%E2%80%9Csmartbond%E2%80%9D%E7%B3%BB%E5%88%97%E4%BD%8E%E5%8A%9F%E8%80%97%E8%93%9D%E7%89%99%E2%80%94%E8%BD%AF%E4%BB%B6/681#comments