<?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>nRF5340 NET Core PCD Update Fails in NCS v2.6.3+ (SoftDevice Lib Change)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126593/nrf5340-net-core-pcd-update-fails-in-ncs-v2-6-3-softdevice-lib-change</link><description>Environment: - Hardware: Custom nRF5340 board - Current Stable SDK: NCS v2.6.2 - Issue SDKs: NCS v2.6.3 and v2.6.4 - Toolchain: Zephyr / Nordic Connect SDK 
 Issue Description: Hi, we are experiencing a regression when upgrading our project from NCS v2</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 Jan 2026 07:19:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126593/nrf5340-net-core-pcd-update-fails-in-ncs-v2-6-3-softdevice-lib-change" /><item><title>RE: nRF5340 NET Core PCD Update Fails in NCS v2.6.3+ (SoftDevice Lib Change)</title><link>https://devzone.nordicsemi.com/thread/559624?ContentTypeID=1</link><pubDate>Tue, 27 Jan 2026 07:19:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a92f92d-6b55-4427-9670-e80b2025d109</guid><dc:creator>Gabriele</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;By continuing debugging, we understood the probable cause of the error was an incorrect buffer flushing procedure that prevented a complete flush of buffered writes.&lt;br /&gt;The flush was only performed when the stream buffer, which we configured to 512 B, was full.&lt;br /&gt;So, in reality, the problem was occurring even before, except that the FW generated with the old SDKs had a size closer to a multiple of 512:&lt;br /&gt;- with SDK v2.6.2, the size is 177,704 B, or 347 * 512 + 40&lt;br /&gt;- with SDK v2.6.3, the size is 177,944 B, or 347 * 512 + 280&lt;br /&gt;So, with the old SDK, 40 B remained in RAM that wasn&amp;#39;t written to the flash, but these were probably padding and/or alignment bytes, since everything worked correctly. With the new SDK, however, 280 B remain in RAM, and this truncation is significant.&lt;br /&gt;Therefore this case can be considered solved. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 NET Core PCD Update Fails in NCS v2.6.3+ (SoftDevice Lib Change)</title><link>https://devzone.nordicsemi.com/thread/559112?ContentTypeID=1</link><pubDate>Tue, 20 Jan 2026 09:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be24568e-e5de-4deb-bf87-1969e11ee351</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see. Can you debug a bit in the network core bootloader (netboot/B0n) to see more of what causes the error? I would start looking at where pcd_fw_copy_invalidate() is called in &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/95bc3befc0f5af83fc11d174ecbf64bbb8f1fd19/samples/nrf5340/netboot/src/main.c"&gt;nrf/samples/nrf5340/netboot/src/main.c&lt;/a&gt;, and backtracking from there it should be possible to see more precisely what failed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 NET Core PCD Update Fails in NCS v2.6.3+ (SoftDevice Lib Change)</title><link>https://devzone.nordicsemi.com/thread/559053?ContentTypeID=1</link><pubDate>Mon, 19 Jan 2026 14:32:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a32eeca3-932d-4784-be74-e4ecc682b47b</guid><dc:creator>Gabriele</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;The error is specifically within the network_core_pcd_cmdset() function (defined in nrf/subsys/pcd/src/pcd.c).&lt;/p&gt;
&lt;p&gt;On the first iteration within the do-while loop (the only one in that function), when the assignment is executed&lt;/p&gt;
&lt;p&gt;command_status = pcd_fw_copy_status_get();&lt;/p&gt;
&lt;p&gt;PCD_STATUS_FAILED is immediately returned, and execution terminates after printing the error message mentioned above (&amp;quot;Network core update failed&amp;quot;).&lt;/p&gt;
&lt;p&gt;Regarding the size of pcd_sram, it has remained at 8KB, as it was previously.&lt;/p&gt;
&lt;p&gt;Our netcore FW update is 177944 B in size with the new SKD (with SDK v2.6.2 it was 177704 B), but we have 256 KB for the CPUNET flash_primary, so it doesn&amp;#39;t appear to be a memory saturation issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 NET Core PCD Update Fails in NCS v2.6.3+ (SoftDevice Lib Change)</title><link>https://devzone.nordicsemi.com/thread/559036?ContentTypeID=1</link><pubDate>Mon, 19 Jan 2026 13:39:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee18c9a4-61f2-41f8-a2c0-f121f44fbbc3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have not been able to find any known issues that match this description, nor any similar reports. Can you share you rmemory paritioning? What is the size of&amp;nbsp;pcd_sram in particular? Have you learned anything more from debugging (particularily if you have debugged in&amp;nbsp;nrf/subsys/pcd/src/pcd.c and see some error return codes)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>