<?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>Warning message after custom board programming completed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91236/warning-message-after-custom-board-programming-completed</link><description>Dear , 
 I am currently using NCS1.8.0. 
 I noticed that there was warning message as shown below after I downloaded the program to my custom board via my nRF52 dev kit. 
 WARNING: A programming operation has been performed without --verify. WARNING:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Aug 2022 06:41:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91236/warning-message-after-custom-board-programming-completed" /><item><title>RE: Warning message after custom board programming completed</title><link>https://devzone.nordicsemi.com/thread/383581?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 06:41:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b172986f-b213-465d-a41a-59ab7df77bb5</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again, Kevin&lt;br /&gt;&lt;br /&gt;My apologies, it seems that my previous comment was made a little too hasty.&lt;br /&gt;I took a closer look at this, and it seems that it has been fixed for later releases of the nRF Connect SDK - but unfortunately it is not present in the v1.8.0 that you are working with.&lt;br /&gt;Looking through the code for v1.8.0 it seems that this check was just not performed, and likely there was no warning either due to the nrfjprog being older, at the time.&lt;br /&gt;&lt;br /&gt;However, you could patch this in your zephyr by adding it to the nrfjprog call line instead - &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/scripts/west_commands/runners/nrfjprog.py#L261"&gt;it should then look like this&lt;/a&gt;, which is how it looks for the newer versions.&lt;br /&gt;&lt;br /&gt;Give this a try, and let me know if it resolves your warning.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Warning message after custom board programming completed</title><link>https://devzone.nordicsemi.com/thread/383157?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 05:42:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d253635-e186-4ef8-9c56-4c5060eae62e</guid><dc:creator>pigno5e</dc:creator><description>&lt;p&gt;Dear Karl,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;I added below line to the board.cmake file.&lt;/p&gt;
&lt;p&gt;board_runner_args(nrfjprog &amp;quot;--verify&amp;quot;)&lt;/p&gt;
&lt;p&gt;However, the compiler gave the following error information.&lt;/p&gt;
&lt;p&gt;FATAL ERROR: runner nrfjprog received unknown arguments: ['--verify']&lt;/p&gt;
&lt;p&gt;The --softreset by the way works with no issue.&lt;/p&gt;
&lt;p&gt;would you mind kindly help have a look?&lt;/p&gt;
&lt;p&gt;Thanks and regards, Kevin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Warning message after custom board programming completed</title><link>https://devzone.nordicsemi.com/thread/383153?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2022 02:30:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e500700-f3a9-4ed5-95aa-7f70054da171</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Kevin,&lt;br /&gt;&lt;br /&gt;No problem at all, I am happy to help! :)&amp;nbsp;&lt;/p&gt;
[quote user="pigno5e"]If I am using the vscode platform, what is the best way for me to modify the command during build and flash process?[/quote]
&lt;p&gt;Oh, I see - you can modify this as shown by &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84537/enabling-pin-reset-is-still-active-even-with-config_gpio_as_pinreset-n"&gt;my colleague Vidar in this reply&lt;/a&gt;&amp;nbsp;except that you add --verify instead of --softreset.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Warning message after custom board programming completed</title><link>https://devzone.nordicsemi.com/thread/382826?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 07:28:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8e9d601-96f8-4b8d-bbe1-adef46e2cc26</guid><dc:creator>pigno5e</dc:creator><description>&lt;p&gt;Dear Karl,&lt;/p&gt;
&lt;p&gt;Thanks for your quick reply.&lt;/p&gt;
&lt;p&gt;If I am using the vscode platform, what is the best way for me to modify the command during build and flash process?&lt;/p&gt;
&lt;p&gt;Thanks and kind regards, Kevin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Warning message after custom board programming completed</title><link>https://devzone.nordicsemi.com/thread/382807?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 06:24:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08e7fab8-7996-43fc-b0db-760948100e92</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;The reason for this warning is just to alert you that the program written was not verified after the write.&lt;br /&gt;You can add --verify to the end of your programming command to have the debugger verify the written program, which will also take away this warning.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>