ad_nvms_erase_region ?!?

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
bobspam@free.fr
Offline
Last seen:2 months 1 week ago
加入:2018-06-20 08:07
ad_nvms_erase_region ?!?

Hello,

SDK : DA1468x_DA15xxx_SDK_1.0.14.1081

ad_nvms_erase_region is callling ad_nvms_ves_erase that is not implemented.

By a matter of fact, this function does not erase anything.

可以哟u please transmit to me an implementation of it ?

Thank you

Device:
bobspam@free.fr
Offline
Last seen:2 months 1 week ago
加入:2018-06-20 08:07
I did disabled VES on the

I did disabled VES on the GENERIC PARTITION to use the "direct" driver. It properly erase memory.

I had to erase the entire flash chip so the previous partition table is not reused with wrong.

Problem Solved.

PM_Dialog
Offline
Last seen:15 hours 58 min ago
工作人员
加入:2018-02-08 11:03
Hi bobspam@free.fr,

Hibobspam@free.fr,

可以哟u please share the partition table that you are using and how you call the ad_nvms_erase_region()? e aware that the you should define the dg_configNVMS_VES and in the NVMS_GENERIC_PART partition you should use the PARTITION_FLAG_VES.

Thanks, PM_Dialog