<?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>Move firmware data from network core flash to shared SRAM?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84203/move-firmware-data-from-network-core-flash-to-shared-sram</link><description>Hi, community. 
 From the official document, I have learned how network core Bootloader works. 
 It can write data from shared SRAM to the corresponding flash address of Nework tcore through PCD library. See these lines. 
 
 And now,I want to implement</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Jan 2022 19:45:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84203/move-firmware-data-from-network-core-flash-to-shared-sram" /><item><title>RE: Move firmware data from network core flash to shared SRAM?</title><link>https://devzone.nordicsemi.com/thread/350522?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 19:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8bf011df-4110-4d11-8bbd-1b6b48ac8ed5</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I made an attempt to dig into this.&lt;/p&gt;
&lt;p&gt;If you take a look at&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/pdf/nRF5340_PS_v1.2.pdf"&gt;nRF5340 product specification 3.2 Memory&lt;/a&gt;&amp;nbsp;you can read that the application core memory is mapped to the network core memory map. The application core RAM starts at 0x20000000, so just write to that area from the network core and I think you will be able to read it from the app core. Remember to grant access to that memory area to the net core, check out&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/pdf/nRF5340_PS_v1.2.pdf"&gt;nRF5340 product specification 3.2 Memory&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/65740/shared-memory-network-and-app-cores"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/65740/shared-memory-network-and-app-cores&lt;/a&gt;&amp;nbsp;for more info about that.&lt;/p&gt;
&lt;p&gt;The PCD library&amp;nbsp;writes to &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/53a4486ed22b28f0fcbf16dbcfbeca0cf672e3f2/subsys/pcd/src/pcd.c#L47"&gt;the pcd_cmd struct&lt;/a&gt;, which is put&amp;nbsp;into the share RAM area, check out the file&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/53a4486ed22b28f0fcbf16dbcfbeca0cf672e3f2/samples/bluetooth/peripheral_uart/boards/pm_static_thingy53_nrf5340_cpuapp.yml#L52-L55"&gt;\nrf\samples\bluetooth\peripheral_uart\boards\pm_static_thingy53_nrf5340_cpuapp_ns.yml&lt;/a&gt;. What you could do is to add a custom partition (similar to the &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/53a4486ed22b28f0fcbf16dbcfbeca0cf672e3f2/subsys/partition_manager/pm.yml.bt_rpmsg_nrf53#L4-L10"&gt;rpmsg_nrf53_sram partition&lt;/a&gt;) using a pm_static.yml file and place it into the shared ram, then you can use that custom partition to send data from the net core to the app core.&lt;/p&gt;
&lt;p&gt;Could you test this out and confirm whether I have understood it correctly or not.&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></channel></rss>