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.
在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返回也是一样)
是否是别的原因导致的数据不对还是其他原因导致的,请帮忙分析下。