<?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>Network Core access to XIP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83181/network-core-access-to-xip</link><description>My B0n bootloader (running on the network core) is trying to access XIP space and faulting. This is a part of an network core upgrade. 
 
 From what I can learn from the data-sheet, it is clear that: 
 
 the network core cannot use EasyDMA to access XIP</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 03 Jan 2022 21:05:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83181/network-core-access-to-xip" /><item><title>RE: Network Core access to XIP</title><link>https://devzone.nordicsemi.com/thread/345759?ContentTypeID=1</link><pubDate>Mon, 03 Jan 2022 21:05:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b0cd2f5-fc30-4f91-ae65-d3f4cfe1501b</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. A huge part of the suppor team has been on vacation the last days, and that is the reason.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll look into your questions the upcoming days.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Network Core access to XIP</title><link>https://devzone.nordicsemi.com/thread/345411?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 23:27:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:588d2254-61be-4345-904f-9319602ba217</guid><dc:creator>mnmoran</dc:creator><description>&lt;p&gt;The&amp;nbsp;&lt;strong&gt;nRF5340 Product Specification, Figure 27: Memory layout&lt;/strong&gt; seems to indicate that the XIP space is not accessible by the Network Core.&lt;/p&gt;
&lt;p&gt;By modifying the MCUBoot &lt;code&gt;loader.c&lt;/code&gt; file to copy the (potentially large) image from XIP space into RAM and using a pointer to that RAM in the PCD transaction to update the Network Core, the BLE upgrade succeeded without crashing.&lt;/p&gt;
&lt;p&gt;This change is a very ugly hack on top of the modifications to the&amp;nbsp;&lt;span&gt;loader.c&lt;/span&gt;&amp;nbsp; file supplied by the&amp;nbsp;&lt;a href="https://github.com/aiminhua/ncs_samples/tree/master/smp_dfu/ble_extFlash"&gt;https://github.com/aiminhua/ncs_samples/tree/master/smp_dfu/ble_extFlash&lt;/a&gt;&amp;nbsp;example in the &lt;code&gt;sdk_change&lt;/code&gt; directory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>