<?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>build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98022/build-another-5340-hardware-by-5340dk</link><description>Dear devzone： 
 I short connect VOD and VTG on PCA10095 (5340-DK), and then connect vcc, gnd, clk and cio of another piece of hardware (Dev1) with 5340 as the core board to 5340-DK respectively, and then burn light_blub through vscode. vscode shows that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Mar 2023 08:54:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98022/build-another-5340-hardware-by-5340dk" /><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417332?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 08:54:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e623ded-ab1c-48a2-8e76-879007bbbec0</guid><dc:creator>ChuckRui</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/98022/build-another-5340-hardware-by-5340dk/417324"]The app core and netcore must be programmed separately. The netcore hex will be located in &amp;lt;build&amp;gt;/&amp;lt;child image&amp;gt;/zephyr/. The name of the child image is hci_rpmsg if you build a regular Bluetooth project.[/quote]
&lt;p&gt;But as far as I know,according this page:(&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/96609/hex-file-explain-about-5340-development),It"&gt;devzone.nordicsemi.com/.../hex-file-explain-about-5340-development),It&lt;/a&gt; says: merged_domains.hex -&amp;gt; Represents the merged image of application core and network core, so I was wondering if the network core and network core could be burned together. And like the light_blub routine I burned, if it&amp;#39;s a hex file on zephyr, shouldn&amp;#39;t this be the application core along with the network core?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417324?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 08:44:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c291e86b-466f-4669-b26b-8ead99931329</guid><dc:creator>Vidar Berg</dc:creator><description>[quote userid="124120" url="~/f/nordic-q-a/98022/build-another-5340-hardware-by-5340dk/417302"]&lt;span class="tgt color_text_1 highlight" data-section="0" data-sentence="0" data-group="0-0"&gt;What about &amp;quot;light_blub&amp;quot;?&lt;/span&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="1" data-group="0-1"&gt; I don&amp;#39;t think it matters&lt;/span&gt;[/quote]
&lt;p&gt;The OS scheduler is configured to use the 32KHz clock. So, if you have selected the wrong clock source (i.e. crystal oscillator on a board that doesn&amp;#39;t have a crystal), you will not be able to run any of the examples.&amp;nbsp;&lt;/p&gt;
[quote userid="124120" url="~/f/nordic-q-a/98022/build-another-5340-hardware-by-5340dk/417301"]I have another question, if I burn this zephyr.hex file through Programmer, is the network core and application core burned together? Or if I want to burn them separately, where is the corresponding hex file directory, which I don&amp;#39;t know much about[/quote]
&lt;p&gt;The app core and netcore must be programmed separately. The netcore hex will be located in &amp;lt;build&amp;gt;/&amp;lt;child image&amp;gt;/zephyr/. The name of the child image is hci_rpmsg if you build a regular Bluetooth project.&lt;/p&gt;
&lt;p&gt;An overview of the different hex files generated by a build can be found here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/multi_image/index.html#what-image-files-are"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/multi_image/index.html#what-image-files-are&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417305?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 07:52:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f11836c7-4230-4013-9247-3f3eb09a4c32</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;Thank you.I added 32k crystal to my own board and found that the app runs normally and the LED lights up, but I haven&amp;#39;t tested CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y in prj.conf, I will test it again later, I think it should be OK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417302?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 07:12:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea38d677-343e-4b02-a554-2be492750b6c</guid><dc:creator>ChuckRui</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/98022/build-another-5340-hardware-by-5340dk/417300"]&lt;font style="vertical-align:inherit;"&gt;&lt;font style="vertical-align:inherit;"&gt;是的，很有可能。&lt;/font&gt;&lt;font style="vertical-align:inherit;"&gt;在 blinky 示例中，尝试将&lt;/font&gt;&lt;/font&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC"&gt;&lt;font style="vertical-align:inherit;"&gt;&lt;font style="vertical-align:inherit;"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/font&gt;&lt;/font&gt;&lt;/a&gt;&lt;font style="vertical-align:inherit;"&gt;&lt;font style="vertical-align:inherit;"&gt; =y 添加到 prj.conf 文件。&lt;/font&gt;&lt;font style="vertical-align:inherit;"&gt;这会将时钟源更改为内部 RC 振荡器。&lt;/font&gt;&lt;/font&gt;[/quote]
&lt;div class="source"&gt;
&lt;div class="sourceAction"&gt;
&lt;div class="opt"&gt;
&lt;div class="opt-right yd-form-container"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="target"&gt;
&lt;div id="js_fanyi_output" class="color_text_1"&gt;
&lt;div id="js_fanyi_output_resultOutput" class="resultOutput" dir="ltr"&gt;
&lt;p class="tgt color_text_1 un-step-trans" data-section="0"&gt;&lt;span class="tgt color_text_1 highlight" data-section="0" data-sentence="0" data-group="0-0"&gt;What about &amp;quot;light_blub&amp;quot;?&lt;/span&gt;&lt;span class="tgt color_text_1" data-section="0" data-sentence="1" data-group="0-1"&gt; I don&amp;#39;t think it matters&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417301?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 07:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a75210ed-0d23-4604-b8aa-75cb4fd0dddc</guid><dc:creator>ChuckRui</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/98022/build-another-5340-hardware-by-5340dk/417294"]You are missing one directory in the path. It should be in&amp;nbsp;&lt;span&gt;E:\ncs\v2.3.0\zephyr\samples\basic\blinky_pwm\build\&lt;strong&gt;zephyr&lt;/strong&gt;\zephyr.hex&lt;/span&gt;[/quote]
&lt;p&gt;I have another question, if I burn this zephyr.hex file through Programmer, is the network core and application core burned together? Or if I want to burn them separately, where is the corresponding hex file directory, which I don&amp;#39;t know much about&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417300?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 07:09:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f84676d-c9bf-4264-86cc-751f0ef65f6e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, most likely. In the blinky sample, try to add &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/kconfig/index.html#CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/a&gt;=y to the prj.conf file. This changes the clock source to the internal RC oscillator.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417298?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 07:07:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a80ef6f-2f62-429b-b02a-53de604bb133</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;That&amp;#39;s right. Now that you mention it, I realize my board doesn&amp;#39;t have 32kHz crystal.Is that why the program didn&amp;#39;t start&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417297?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 07:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da346c0c-1a1d-4954-9617-bd00bd6e5a62</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Does your board include the 32 KHz crystal?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417296?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 07:03:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1098420e-9caa-452c-9456-d8498143b30d</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;I have tried burning other routines, such as light_switch and light_blub for matter, blinky and blinky_pwm for basic under zephyr&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417294?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 06:52:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3b9382d-d3ba-4c6a-8319-a8932a3a4776</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="124120" url="~/f/nordic-q-a/98022/build-another-5340-hardware-by-5340dk/417292"]E:\ncs\v2.3.0\zephyr\samples\basic\blinky_pwm\build\zephyr.hex[/quote]
&lt;p&gt;You are missing one directory in the path. It should be in&amp;nbsp;&lt;span&gt;E:\ncs\v2.3.0\zephyr\samples\basic\blinky_pwm\build\&lt;strong&gt;zephyr&lt;/strong&gt;\zephyr.hex&lt;/span&gt;&lt;/p&gt;
[quote userid="124120" url="~/f/nordic-q-a/98022/build-another-5340-hardware-by-5340dk/417292"]2. I can&amp;#39;t find my DK board where it seems to be connected to Programmer software[/quote]
&lt;p&gt;&lt;span&gt;Is&amp;nbsp;your DK not being displayed in the Programmer app?&lt;/span&gt;&lt;/p&gt;
[quote userid="124120" url="~/f/nordic-q-a/98022/build-another-5340-hardware-by-5340dk/417292"]3. Whether I short-connect VOD and VTG to external boards, which are the same for Programmer software[/quote]
&lt;p&gt;Yes, the SWD connections need to be the same as when you are programming in VS code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417292?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 06:44:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1a480ef-8300-4d0c-aa72-9f7a00d84dd9</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;Hi，&lt;/p&gt;
&lt;p&gt;I burned light_blub using VSCODE. I also tried burning zephyr&amp;#39;s blinky_pwm. After burning it, I measured the LED1 pins and found no PWM output, proving that the program didn&amp;#39;t seem to be running on my board. An additional question I would like to ask is if I want to program my board through the Programmer in nRF Connect for Desktop:&lt;br /&gt;1. If I want to burn blinky_pwm, where is the corresponding hex file directory? Is it in this path? E:\ncs\v2.3.0\zephyr\samples\basic\blinky_pwm\build\zephyr.hex&lt;br /&gt;2. I can&amp;#39;t find my DK board where it seems to be connected to Programmer software&lt;br /&gt;3. Whether I short-connect VOD and VTG to external boards, which are the same for Programmer software&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417291?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 06:42:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8d5f3df-f0b6-4e9d-8700-da035afc5a2e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks. This means the external board is being programmed.&amp;nbsp;So, the&amp;nbsp;next step will be to find out why the FW fails to run correctly on it.&amp;nbsp;Have you checked if your board works with any of the other SDK examples?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417261?ContentTypeID=1</link><pubDate>Fri, 24 Mar 2023 01:24:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04d7c1ea-66e4-4d06-a478-1adfcee276f3</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;I have thought carefully and I understand what you mean. I have also verified it. When I short connected VDD and VTG and unplugged SWDIO and SWCLK, I tried to burn through VSCODE, but the error was shown as below&lt;br /&gt;(Failed to enable coprocessor with unknown error.&lt;br /&gt;[error] [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.&lt;br /&gt;[error] [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.&lt;br /&gt;[error] [SeggerBackend] - JLinkARM.dll reported &amp;quot;-1&amp;quot;, &amp;quot;An unknown error.&amp;quot;.)&lt;br /&gt;When I plug in SWDIO and SWCLK, the program can burn normally, I think at least now can prove that the program has been successfully burned into the external board&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417231?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 20:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bcf9deb-ab15-4349-8b46-267526ea203b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Maybe I misunderstood what you meant, but I thought you were unsure whether the debugger on the DK was correctly loading the FW image to the external board or if it was programming the FW to the chip on the DK itself.&lt;/p&gt;
[quote user="ChuckRui"]you mean that after short, unplug SWDIO and SWDCLK, this time will be burned to the external board[/quote]
&lt;p&gt;I meant to suggest this as a test to verify that the programming fails when you&amp;nbsp;remove the SWD connections.&amp;nbsp;This way you can confirm that you are programming the correct target, at least.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tried to program other less complex applications to the board to see if they run OK on your board? The Bluetooth peripheral_lbs sample for instance?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417146?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 14:40:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01ba6194-9962-4646-b864-71d61a746c61</guid><dc:creator>ChuckRui</dc:creator><description>&lt;p&gt;Hi Vidar：&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think I understand.normally, I build with VSCODE and flash is burned into DK, but when I short-circuit SWDIO/SWDCLK, do the same flash operation, or even rebuild once, it will be burned to the external board, you mean to tell me not to short-circuit and try to burn, To see if it&amp;#39;s normal? I think this must be normal because he will burn it into DK. Or I understand wrong, you mean that after short, unplug SWDIO and SWDCLK, this time will be burned to the external board, if this time can still burn normally, it means that I will burn the program to DK. Is that how you understand it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: build another 5340 hardware by 5340dk</title><link>https://devzone.nordicsemi.com/thread/417055?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 12:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bd3ce38-0225-4cf2-a079-2824cc9a09f8</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;To make sure you are programming the nRF on the ext. board, and not the one on the DK,&amp;nbsp;could&amp;nbsp;you try to disconnect the SWDIO/SWDCLK line and see if you are still able to flash without errors? If it still works, then that means you are programming the DK and not your board.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>