<?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>Forced to recover the board each time I flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121614/forced-to-recover-the-board-each-time-i-flash</link><description>Hey all, 
 
 Every time I flash, I get the following error message: 
 
 Error: One or more batch tasks failed: - [Probe] Device error: Memory access error at 0x00000000. Probably a memory protection issue. Probe access is Secure, code: Generic 
 FATAL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 May 2025 16:58:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121614/forced-to-recover-the-board-each-time-i-flash" /><item><title>RE: Forced to recover the board each time I flash</title><link>https://devzone.nordicsemi.com/thread/536504?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 16:58:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da85b0b5-29b6-4bce-8208-c25c78801399</guid><dc:creator>Calvin T</dc:creator><description>&lt;p&gt;Hey&amp;nbsp;&lt;span&gt;Abhijith,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I was discussing this issue with my colleague, and we figured it out! I also needed to add CONFIG_PROTECT=n to the mcuboot.config. As follows:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BO&lt;/span&gt;&lt;span&gt;OT_MAX_IMG_SECTORS&lt;/span&gt;&lt;span&gt;=512&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_APPROTECT_DISABLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_SECURE_APPROTECT_DISABLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_FPROTECT&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;This works now--thanks so much for pointing us in the right direction! You rock!&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Now, I have another problem: I can&amp;#39;t get RTT working. It used to work, but it&amp;#39;s borked now. But to keep things straight, I&amp;#39;ll open another ticket.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Thanks for all the support!&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Forced to recover the board each time I flash</title><link>https://devzone.nordicsemi.com/thread/536500?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 15:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78f3274f-c3c4-426f-bd1f-2dd994dce641</guid><dc:creator>Calvin T</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8272.New-Text-Document.txt"&gt;devzone.nordicsemi.com/.../8272.New-Text-Document.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Forced to recover the board each time I flash</title><link>https://devzone.nordicsemi.com/thread/536498?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 15:43:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffb3dad6-d2df-4b65-9413-486160f9cc16</guid><dc:creator>Calvin T</dc:creator><description>&lt;p&gt;Alas, the problem still persists. I thought we had it fixed--I _think_ it flashed successfully twice without needing the recover step. And then I tried to connect the RTT up, and now, whether the RTT terminal is there or not, I need to recover each time again.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;mcuboot.config has:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_BOOT_MAX_IMG_SECTORS&lt;/span&gt;&lt;span&gt;=512&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_APPROTECT_DISABLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRF_SECURE_APPROTECT_DISABLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Forced to recover the board each time I flash</title><link>https://devzone.nordicsemi.com/thread/536360?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 09:12:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33b2e107-1e52-4e25-8823-57a2fab4b426</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There might have been a glitch preventing you from pasting the logs. You can always attach a file if pasting doesn&amp;#39;t work.&lt;br /&gt; However, I’ve now received the logs from our FAE (the one you&amp;#39;re in touch with). From the logs, I can see that the application is using MCUboot.&lt;br /&gt; So, please try disabling APPROTECT in the &lt;code&gt;mcuboot.config&lt;/code&gt; file as well. This is because the bootloader initializes first after a reset and enables APPROTECT. As a result, the application won’t be able to reach a point where it can enable APPROTECT.&amp;nbsp;&lt;br /&gt;Let me know if this resolves the issue or if the problem persists.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt; Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Forced to recover the board each time I flash</title><link>https://devzone.nordicsemi.com/thread/536271?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 16:31:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aceb24e-0a6a-4f8a-b4ad-078e78310363</guid><dc:creator>Calvin T</dc:creator><description>&lt;p&gt;When I attempt to post the log, I get &amp;quot;An error occurred, please try again or contact your administrator.&amp;quot; It&amp;#39;s only about a hundred lines or so, so...?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Forced to recover the board each time I flash</title><link>https://devzone.nordicsemi.com/thread/536269?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 16:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:259bbfa0-9e2d-427c-aa54-332f3be1297e</guid><dc:creator>Calvin T</dc:creator><description>&lt;p&gt;It&amp;#39;s a custom board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried updating the nrfutil. It&amp;#39;s now at v2.11.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;"&gt;PS C:\src\warn-zephyr\core\build\core&amp;gt; nrfutil upgrade device&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Downloading nrfutil-device-x86_64-pc-windows-msvc-2.11.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Verifying nrfutil-device-x86_64-pc-windows-msvc-2.11.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;Updating nrfutil-device to 2.11.0&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;[00:00:08] ###### 100% [Upgrade packages] Upgrade packages&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;PS C:\src\warn-zephyr\core\build\core&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Forced to recover the board each time I flash</title><link>https://devzone.nordicsemi.com/thread/536181?ContentTypeID=1</link><pubDate>Tue, 20 May 2025 11:29:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:375bf337-c1ed-48f3-99f6-356e251e7f1b</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is this a development kit or a custom board?&lt;/p&gt;
&lt;p&gt;Can you try updating the &lt;code&gt;nrfutil&lt;/code&gt; device and see if that resolves the issue? If not, I recommend sharing the complete log here so we can get more details. Are you trying this from VS Code?&lt;/p&gt;
&lt;p&gt;Try running the command:&lt;br /&gt; &lt;code&gt;nrfutil upgrade device&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt; Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>