<?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>nRF5340 DK: application on both application-core and network-core</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105621/nrf5340-dk-application-on-both-application-core-and-network-core</link><description>Hi Support team, 
 I can run some samples on the application-core of nRF5340 DK now. For example the sample &amp;#39;system_off&amp;#39;, and I can see the log from the application-core (In my setting, com5 for application-core, and com6 for network-core). 
 Based on</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Nov 2023 09:26:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105621/nrf5340-dk-application-on-both-application-core-and-network-core" /><item><title>RE: nRF5340 DK: application on both application-core and network-core</title><link>https://devzone.nordicsemi.com/thread/455466?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 09:26:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71a0481d-db11-4d6b-b9c0-d496c838e2cc</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thank you very much for your reply and guidance. You are right, the sample &amp;#39;multicore hello_world sample&amp;#39; is the right starting point for multi-core application. In the sample, use &amp;#39;sysbuild&amp;#39; to build images for two cores. &lt;br /&gt;I tried it and it works. Thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK: application on both application-core and network-core</title><link>https://devzone.nordicsemi.com/thread/455374?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 15:32:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e10d73c2-47ec-4a7d-b3a4-14f88e5bc455</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please take a look at the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/multicore/hello_world/README.html"&gt;multicore&amp;nbsp; hello_world sample&lt;/a&gt;, I think it&amp;#39;s more relevant.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I don&amp;#39;t think developing on the empty_app_core would be a good idea. The main job of the empty app core is to turn off everything and let the netcore handles the GPIO.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK: application on both application-core and network-core</title><link>https://devzone.nordicsemi.com/thread/455368?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 15:17:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:057e2417-80a1-4993-b246-4068504d0cda</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I checked these two options and found&amp;nbsp;&lt;span&gt;CONFIG_SERIAL=y was set in the board default conf(C:\ncs\v2.5.0\zephyr\boards\arm\nrf5340dk_nrf5340\nrf5340dk_nrf5340_cpuapp_defconfig), and&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_PRINTK&lt;/span&gt;&lt;span&gt;=y was set in prj.conf already. But it did not work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you help run the sample&amp;nbsp;&amp;#39;empty_app_core&amp;#39; on a nRF5340 DK and add some log info in the application-core main()? I tried many ways today, with printk,printf, zephyr logging on RTT and&amp;nbsp;COM consoles, but not find the right way.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you very much.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK: application on both application-core and network-core</title><link>https://devzone.nordicsemi.com/thread/455365?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 15:06:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12bcd818-225b-480b-8a34-d37b0874b772</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;You may want to enable&amp;nbsp;&lt;br /&gt;&lt;span&gt;CONFIG_PRINTK=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_SERIAL=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;to be able to print serial log.&amp;nbsp;&lt;br /&gt;I would suggest to take a look at the \nrf\samples\multicore\hello_world&amp;nbsp; sample to see how you can build an application for multi cores.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;Or if you simply want the empty_app_core , you can include&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NCS_SAMPLE_EMPTY_APP_CORE_CHILD_IMAGE&lt;/span&gt;&lt;span&gt;=y&amp;nbsp;&lt;br /&gt;in the netcore application to have it as the child image.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK: application on both application-core and network-core</title><link>https://devzone.nordicsemi.com/thread/455290?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 12:53:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2720607-9721-4215-bd63-98bd87f0f7d5</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi again,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the sample &amp;#39;empty_app_core&amp;#39;, I doubt the log of printk in the main() can&amp;#39;t be printed because of the setting in the&amp;nbsp;prj.conf&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Below is the setting of&amp;nbsp;prj.conf in &amp;nbsp;&amp;#39;empty_app_core&amp;#39;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#-------------------------------------------------------------------------------------&lt;br /&gt;# Copyright (c) 2020 Nordic Semiconductor ASA&lt;br /&gt;#&lt;br /&gt;# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause&lt;br /&gt;#&lt;br /&gt;CONFIG_MULTITHREADING=n&lt;br /&gt;CONFIG_KERNEL_MEM_POOL=n&lt;br /&gt;CONFIG_NUM_PREEMPT_PRIORITIES=0&lt;br /&gt;CONFIG_SYS_CLOCK_EXISTS=n&lt;br /&gt;CONFIG_ARM_MPU=n&lt;br /&gt;CONFIG_SIZE_OPTIMIZATIONS=y&lt;br /&gt;CONFIG_I2C=n&lt;br /&gt;CONFIG_WATCHDOG=n&lt;br /&gt;CONFIG_GPIO=n&lt;br /&gt;CONFIG_SPI=n&lt;br /&gt;CONFIG_SERIAL=n&lt;br /&gt;CONFIG_FLASH=n&lt;br /&gt;CONFIG_DYNAMIC_INTERRUPTS=n&lt;br /&gt;CONFIG_IRQ_OFFLOAD=n&lt;br /&gt;CONFIG_THREAD_STACK_INFO=n&lt;br /&gt;CONFIG_THREAD_CUSTOM_DATA=n&lt;br /&gt;CONFIG_BOOT_BANNER=n&lt;br /&gt;CONFIG_BOOT_DELAY=0&lt;br /&gt;CONFIG_CONSOLE=n&lt;br /&gt;CONFIG_UART_CONSOLE=n&lt;br /&gt;CONFIG_STDOUT_CONSOLE=n&lt;br /&gt;CONFIG_PRINTK=n&lt;br /&gt;CONFIG_EARLY_CONSOLE=n&lt;br /&gt;CONFIG_BOARD_ENABLE_CPUNET=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#-------------------------------------------------------------------------------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But after I changed the settings of console to &amp;#39;y&amp;#39; as below, the log still can&amp;#39;t be&amp;nbsp;seen.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_CONSOLE=y&lt;br /&gt;CONFIG_UART_CONSOLE=y&lt;br /&gt;CONFIG_STDOUT_CONSOLE=y&lt;br /&gt;CONFIG_PRINTK=y&lt;br /&gt;CONFIG_EARLY_CONSOLE=y&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 DK: application on both application-core and network-core</title><link>https://devzone.nordicsemi.com/thread/455270?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 11:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:578abbc5-345f-43a0-91b1-b3664442c9cb</guid><dc:creator>Yanpengwu</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;In the sample &amp;#39;&lt;span&gt;system_off&lt;/span&gt;&amp;#39;, I can see the log from the application core with printk in the main function.&lt;/p&gt;
&lt;p&gt;But in the sample &amp;#39;empty_app_core&amp;#39;, after I added some printk in the main function, there was no log from the application core. Could you tell me what&amp;#39;s the reason for this difference? In this sample, I programmed&amp;nbsp;&lt;span&gt;Zephyr&amp;rsquo;s&amp;nbsp;&lt;/span&gt;&lt;a class="reference external" title="(in Zephyr Project v3.4.99)" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/basic/blinky/README.html#blinky-sample"&gt;&lt;span&gt;Blinky&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;sample to the network core and the led blink works.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>