<?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>SMP DFU function by uart in NRF52820</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107892/smp-dfu-function-by-uart-in-nrf52820</link><description>Hello guys, 
 I want to test SMP DFU function by uart. I use &amp;quot;E:\Spec\bluetooth\Nordic\nRF52820\ncs2.5.0\v2.5.0\zephyr\samples\subsys\mgmt\mcumgr\smp_svr&amp;quot; example and add below Macro in prj.conf. 
 
 CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC =y 
 CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Mar 2024 10:49:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107892/smp-dfu-function-by-uart-in-nrf52820" /><item><title>RE: SMP DFU function by uart in NRF52820</title><link>https://devzone.nordicsemi.com/thread/471757?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 10:49:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50e7bbef-28dd-42e9-946a-a34773aa84f3</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You could try to remove hci_rpmsg and add CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y to your child_image\mcuboot.conf file, and rebuild your project.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP DFU function by uart in NRF52820</title><link>https://devzone.nordicsemi.com/thread/471658?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 00:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a65ac1c-e219-4a5f-8630-07122377cc78</guid><dc:creator>Treacy</dc:creator><description>&lt;p&gt;The build process and flash program are all successful. The only problem is that I can&amp;#39;t judge if the FW can run normally, because I think it should&amp;nbsp;output logs when device start but unfortunatelly, no any logs print in UART&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP DFU function by uart in NRF52820</title><link>https://devzone.nordicsemi.com/thread/467416?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 16:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c03abf44-5c27-47ca-8a25-b1ad599ba3e2</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Treacy,&lt;/p&gt;
[quote user="Treacy"]I remove the existing build folder and rebuild again. Yes, I got the updated release .hex. [/quote]
&lt;p&gt;It seems that the build process was successful. Could you confirm?&lt;/p&gt;
[quote user="Treacy"]But device still didn&amp;#39;t run which means cannot output logs via uart.[/quote]
&lt;p&gt;Was flashing also successful? Did you get any errors during the process?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP DFU function by uart in NRF52820</title><link>https://devzone.nordicsemi.com/thread/467271?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 02:01:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6ec62c5-94d1-4ed8-9719-aec4c37083e7</guid><dc:creator>Treacy</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;I remove the existing build folder and rebuild again. Yes, I got the updated release .hex. But device still didn&amp;#39;t run which means cannot output logs via uart.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1706839272012v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Treacy&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP DFU function by uart in NRF52820</title><link>https://devzone.nordicsemi.com/thread/467120?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2024 10:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b311634-d118-4bbe-81da-d117429d0533</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Treacy,&lt;br /&gt;&lt;br /&gt;You could try to remove the existing build folder from your project and then build again.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP DFU function by uart in NRF52820</title><link>https://devzone.nordicsemi.com/thread/467045?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2024 02:06:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12883116-c533-4055-9523-c3a6c122e4a7</guid><dc:creator>Treacy</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Dejan,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I add 3 lines to&amp;nbsp;hci_rpmsg.conf file directly in Visual tool now. But still get &amp;quot;no work to do&amp;quot; when compiled.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1706753175727v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Treacy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP DFU function by uart in NRF52820</title><link>https://devzone.nordicsemi.com/thread/466952?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 13:27:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b202ead8-1959-40d4-a31d-8a60d649aba6</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Treacy,&lt;/p&gt;
[quote user="Treacy"]I don&amp;#39;t know how to find&amp;nbsp;hci_rpmsg.conf file directly in Visual tool.&amp;nbsp;[/quote]
&lt;p&gt;First you make a project using nRF Connect for VS Code extension and then you can examine existing project files in VS Code Explorer view. It is shown below how you can find the hci_rpmsg.conf file in VS Code Explorer view.&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1706707515286v2.png" alt=" " /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP DFU function by uart in NRF52820</title><link>https://devzone.nordicsemi.com/thread/466858?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 02:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fadf8b2-bdc8-4cc7-ba31-eabdfca5b399</guid><dc:creator>Treacy</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Dejan,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried add these 3 lines to&amp;nbsp;child_image\hci_rpmsg.conf file, but when I build the project, Visual tool said &amp;quot;no work to do&amp;quot;. I think this 3 lines didn&amp;#39;t been compiled. And I don&amp;#39;t know how to find&amp;nbsp;hci_rpmsg.conf file directly in Visual tool.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By the way,&amp;nbsp;I&amp;nbsp;only add&amp;nbsp;&amp;nbsp;these 3 line&amp;nbsp;in&amp;nbsp;prj.conf when in&amp;nbsp;direction_finding_connectionless_tx example, it runs well. Just let you know this information.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1706666604608v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1706666672777v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;BR,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Treacy&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SMP DFU function by uart in NRF52820</title><link>https://devzone.nordicsemi.com/thread/466820?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2024 16:38:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53a8aa33-172b-4982-a0e0-e62e3fe75c23</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;p&gt;I use &amp;quot;E:\Spec\bluetooth\Nordic\nRF52820\ncs2.5.0\v2.5.0\zephyr\samples\subsys\mgmt\mcumgr\smp_svr&amp;quot; example and add below Macro in prj.conf.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Have you tried to add these 3 lines also to your child_image\hci_rpmsg.conf file?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>