<?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>No output from example EcDSA</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94337/no-output-from-example-ecdsa</link><description>On MacOS with VSC and nRF Connect for VS Code v2022.10.30 
 Using Connect SDK and toolkit v2.1.2 
 Using nRF5340 DK board v2.0.0 
 Creating, building, flashing and running the example template psa_crypto goes well and connecting to VCOM1 shows the logging</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Dec 2022 12:45:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94337/no-output-from-example-ecdsa" /><item><title>RE: No output from example EcDSA</title><link>https://devzone.nordicsemi.com/thread/399189?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2022 12:45:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66885647-b653-4a0f-88c3-8835ab7d1dff</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Both psa_crypto and ECDSA samples work on&amp;nbsp;RF5340&amp;#39;s application core only.&amp;nbsp;&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/pastedimage1670329030634v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;As you said &amp;#39;&amp;#39;&lt;span&gt;In the list of connected devices (for both examples) I see VCOM0 and VCOM1 (I did not use the RTT).&lt;/span&gt;&lt;span&gt;&amp;nbsp;I have connected to each after the other and each time resetting the nRF5340 DK&lt;/span&gt;.&amp;#39;&amp;#39; It may not correct for these samples as both (&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/tfm_integration/psa_crypto/README.html#on-nrf5340-and-nrf9160"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/tfm_integration/psa_crypto/README.html#on-nrf5340-and-nrf9160&lt;/a&gt;)&amp;nbsp;,(&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/crypto/ecdsa/README.html"&gt;Crypto: ECDSA — nRF Connect SDK 2.1.99 documentation (nordicsemi.com&lt;/a&gt;&lt;span style="color:rgba(0, 0, 238, 1);"&gt;&lt;u&gt;)) need&lt;/u&gt;&lt;/span&gt;&amp;nbsp;to be built on only app core. So, you should try only the second COM port for this sample. As second port outputs the log from the application core.&lt;/p&gt;
&lt;p&gt;We do not have any problem run these samples either on MacOS or Windows.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No output from example EcDSA</title><link>https://devzone.nordicsemi.com/thread/398874?ContentTypeID=1</link><pubDate>Sun, 04 Dec 2022 08:46:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f061920-c556-4820-bcd8-903eb771d353</guid><dc:creator>franchan</dc:creator><description>&lt;p&gt;Hello Mr Kazi Afroza Sultana,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. Sorry for my late reaction.&lt;/p&gt;
&lt;p&gt;Both examples from the Connect SDK were build with the board target nrf5340dk_nrf5340_cpuapp_ns (using the application CPU and including the CMSE).&lt;/p&gt;
&lt;p&gt;In the list of connected devices (for both examples) I see VCOM0 and VCOM1 (I did not use the RTT). I have connected to each after the other and each time resetting the nRF5340 DK. Only the psa_crypto example shows the output on VCOM1 (which I then conclude corresponds to the application processor).&lt;br /&gt;&lt;br /&gt;Further investigation: adding a printf() to the ecdsa example shows on the VCOM1. It means I am connected to the UART that is used by the expected core.&lt;/p&gt;
&lt;p&gt;According to me, it is the LOG_INF() that is not compiled in case of the ecdsa example (e.g. a break point on this is ignored, the statement cannot be stepped into, compared to the psa_crypto example).&lt;br /&gt;&lt;br /&gt;As said before, I dont know the build system well. But according to me the prj.conf and CMakeList.txt, sample.yaml of both examples look very similar. I do not find difference which should cause the LOG_INF() to be ignore or explain the logging issues I encounter in the ecdsa.&lt;br /&gt;In fact I have copied the CONFIG_LOG_* defines from psa_crypto into these of the ecdsa example. But no progress.&lt;br /&gt;&lt;br /&gt;Your input on where I need to look is appreciated.&lt;/p&gt;
&lt;p&gt;PS On MacOs Monterey, VSC 1.73.1, v2022.9.6, the development environment is incredibly buggy. Between flashing, debugging, switching between the 2 examples, my whole desktop has been restarting numerous times already. An awful experience on MacOS. Do you suggest I should switch to Windows or Linux for a normal experience?&lt;br /&gt;&lt;br /&gt;Kind regards!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No output from example EcDSA</title><link>https://devzone.nordicsemi.com/thread/398002?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 06:33:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fdd3f76d-0eab-4d64-9108-8aaf8beb9a46</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;EcDSA sample runs on both application and network core. nRF5340 emulates two virtual com port while connecting to the computer.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The first COM port outputs the log from the network core (if available).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The second COM port outputs the log from the application core.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Have you selected the COM port in accordance to the build target?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>