<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>BT MESH : Failed to create CDB (err -12)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124879/bt-mesh-failed-to-create-cdb-err--12</link><description>Hi Nordic 
 
 How can I fix this in code? clear cdb? erace flash in code? 
 I try this 2 api, but not help</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Oct 2025 18:54:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124879/bt-mesh-failed-to-create-cdb-err--12" /><item><title>RE: BT MESH : Failed to create CDB (err -12)</title><link>https://devzone.nordicsemi.com/thread/551319?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2025 18:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0969f6f0-2f79-4b51-8050-c0c424b30c52</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Try to use &lt;a href="https://docs.nordicsemi.com/bundle/zephyr-apis-latest/page/group_nvs_high_level_api.html#ga42ee9fd0d98f89dcabc5888f8b4600f0"&gt;nvs_clear&lt;/a&gt;&lt;/span&gt;&lt;code dir="ltr"&gt;()&lt;/code&gt;&lt;span&gt;&amp;nbsp;to erase settings and re-provision your device to resolve the issue. &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v3.1.1/subsys/net/openthread/rpc/server/ot_rpc_instance.c#L235"&gt;Here&lt;/a&gt; is an example.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BT MESH : Failed to create CDB (err -12)</title><link>https://devzone.nordicsemi.com/thread/551209?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2025 01:31:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ee85189-f2cc-483f-a1c2-4950d2c7ebee</guid><dc:creator>Wols</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Due to I am not use dev kit, I don&amp;#39;t haveany j-tag like tool.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; Also I am using pro-micro((like seeed xiao 52840), the file format is uf2, that why I can upload new FW.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; I am looking for a way to clean( &lt;span&gt;erase&amp;nbsp;or recover&lt;/span&gt;) in the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BT MESH : Failed to create CDB (err -12)</title><link>https://devzone.nordicsemi.com/thread/551028?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 14:00:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d53250b-12de-428b-b977-e260d57dbefa</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to erase (or recover) the board and then reprogram the device to see if it helps.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>