<?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>nRF53 NET core flashing, only first 4 KiB flashed unless a mass erase is performed.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67634/nrf53-net-core-flashing-only-first-4-kib-flashed-unless-a-mass-erase-is-performed</link><description>I am not sure whether this is an issue with the nRF53 Engineering Example or with the SEGGER software. 
 I don&amp;#39;t see any errata describing the behaviour I am experiencing: 
 
 When I try to run an application on the NET core, it will only write the first</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Oct 2020 09:47:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67634/nrf53-net-core-flashing-only-first-4-kib-flashed-unless-a-mass-erase-is-performed" /><item><title>RE: nRF53 NET core flashing, only first 4 KiB flashed unless a mass erase is performed.</title><link>https://devzone.nordicsemi.com/thread/277553?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 09:47:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfc91e4e-18dc-4cc4-a3d8-c9bc59552099</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes. I also get an error about the device being protected (on an internal 0.7 version in my case, but that is more or less identical to 0.8), though it can be ignored. I will report that.&lt;/p&gt;
&lt;p&gt;Regarding the original issue I have not been able to reproduce it or find other references to this issue. Perhaps doing a mass erase before each programing is a sensible workaround for now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53 NET core flashing, only first 4 KiB flashed unless a mass erase is performed.</title><link>https://devzone.nordicsemi.com/thread/277527?ContentTypeID=1</link><pubDate>Thu, 29 Oct 2020 08:33:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b49ceb5-b3b2-4ed7-9987-6d91ae4b4cbe</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Looking at SEGGER&amp;#39;s change log, it says&lt;/p&gt;
&lt;p&gt;&amp;quot;Device protect check for nRF5340_xxAA_NET core of nRF5340 series device according to new hardware revision &lt;span style="background-color:#ffff00;"&gt;(v0.9.0 or newer),&lt;/span&gt; adapted. SECUREAPPROTECT bit only for nRF5340_xxAA_APP core implemented.&amp;quot;&lt;/p&gt;
&lt;p&gt;Could it be that this issue occurs because I my PDK is version 0.8.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53 NET core flashing, only first 4 KiB flashed unless a mass erase is performed.</title><link>https://devzone.nordicsemi.com/thread/277385?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 12:33:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f25d5b6-a169-43a5-bf2c-172d54e96755</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am a bit surprised that you get this behaviour using 6.86f, as that fixes a known issue with segger complaining about the network core being locked.&amp;nbsp;Perhaps this is related to the&amp;nbsp;GNU MCU Eclipse plugin somehow? That is not something I have experience with or Nordic supports, though.&lt;/p&gt;
&lt;p&gt;Apart from the issue fixed in 6.86f, programming and debugging should work well using&amp;nbsp;6.86e or higher using the segger tools themselves.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53 NET core flashing, only first 4 KiB flashed unless a mass erase is performed.</title><link>https://devzone.nordicsemi.com/thread/277057?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 09:09:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e97c3f-056a-4794-abda-74670cc759ce</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;I am using Eclipse with the GNU MCU Eclipse plugin and&amp;nbsp;GDB version 9.2.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have configured two projects, one for the application core, and one for the network core.&lt;/p&gt;
&lt;p&gt;1)&amp;nbsp;I launch a debugger session for the Network Core,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;I launch a debugging session for the Application Core,&lt;/p&gt;
&lt;p&gt;3) I start the Application core,&amp;nbsp; (it will execute nrf_reset_network_force_off(NRF_RESET, false);&amp;nbsp; )&lt;/p&gt;
&lt;p&gt;4) I start the Network Core.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Using version 6.86e:&lt;/p&gt;
&lt;p&gt;Using JFlashLiteExe, I first erase the Network core.&lt;/p&gt;
&lt;p&gt;I follow these steps for an empty loop net application.&lt;/p&gt;
&lt;p&gt;Result: The application runs as expected.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then, I will create an application that&amp;nbsp;changes the locations where certain code resides in flash. I&amp;nbsp;archieve this by adding a call to sprintf in my code. When I run the network core, it will hard fault. The location of the hard fault is beyond&amp;nbsp;0x1001000. The disassembly of the code shows &amp;quot;&amp;lt;UNDEFINED&amp;gt; instruction: 0xffffffff&amp;quot;, indicating the flash has not been written.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I perform a flash erase using JFlashLiteExe, and then perform these steps again, the network core runs as expected.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;span&gt;Using version 6.86f:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The behaviour is little different then I had before (Previously I swapped the order of launching)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I try to erase the network core using JFlashLiteExe, the device is secured message pops up.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I choose yes, the JFlashLite indicated it succeeded.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I launch the network core, the popup comes again. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I choose yes, the launch fails with &amp;quot;Starting J-Link GDB Server timed out.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When I choose no, the launch continues, but it seems without flashing, as the application halts at 0xdeadbeee. (rather then waiting for the application core to release the network core)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53 NET core flashing, only first 4 KiB flashed unless a mass erase is performed.</title><link>https://devzone.nordicsemi.com/thread/277039?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 08:26:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aebadfaa-badb-4b17-ba94-9c37abda4aaa</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see. I have not been able to reproduce any of the issues using 6.86e or 6.86f with nrfjprog, but perhaps it matters which J-Link tool you use and how. Can you elaborate on how you reproduce this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53 NET core flashing, only first 4 KiB flashed unless a mass erase is performed.</title><link>https://devzone.nordicsemi.com/thread/276921?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2020 14:37:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14343c83-96ca-44d0-8b77-f0002bb8b421</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;Version V6.86f gives different problems. It seems not flash at all.&lt;/p&gt;
&lt;p&gt;It keeps giving a popup saying the device is secured. Regardless whether I answer Yes or No, the SEGGER software seems to hang after this. I am using a PDK version 0.8.0&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Schermafdruk_5F00_2020_2D00_10_2D00_26_5F00_15_2D00_30_2D00_20.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53 NET core flashing, only first 4 KiB flashed unless a mass erase is performed.</title><link>https://devzone.nordicsemi.com/thread/276907?ContentTypeID=1</link><pubDate>Mon, 26 Oct 2020 14:19:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70e74bca-2ea1-4e31-bd3f-409c2576af9f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you see this issue with SEGGER software V6.86f as well? (That includes a fix for programming the nRF53 network core). If not, which PDK version do you have?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>