<?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>Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100787/thingy-53-does-not-enumerate-serial-port-for-dev-academy-lesson-6-exercise-2</link><description>Currenty I am on version 2.1 and was able to get the Thingy 53 to enumerate serial port(s) but using the old version 1.x thingy53.c file and the include files and functions that are in that file. 
 In order to get thingy53.c to compile I had to select</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Jun 2023 13:28:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100787/thingy-53-does-not-enumerate-serial-port-for-dev-academy-lesson-6-exercise-2" /><item><title>RE: Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/thread/432994?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2023 13:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e6667ef-87b3-4832-a5ce-4ee06128571b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Not sure if the latest issue is relevant to NCS 2.4.0 version, but you could try with the NCS main version. If you still see the issue, please create a new support case since the latest issue is away from the original scope.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will be out of the office for one month and not be able to reply to this case before my back. If it&amp;#39;s urgent to get support, please create a new support case.&amp;nbsp; Sorry for the inconvenience.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/thread/432789?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 23:34:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d366c31b-93f6-41ed-b0d7-b2c4e729dfdd</guid><dc:creator>Ramulous</dc:creator><description>&lt;p&gt;Great I&amp;#39;m glad you can see an issue.&amp;nbsp; Because I&amp;#39;m using CMSE disable i.e. using thingy53_nrf5340_cpuapp and that got lesson 6 exer 2 going that is good enough for me.&amp;nbsp; I can wait for the normal release.&amp;nbsp; Mainly because I&amp;#39;m getting&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;FATAL ERROR: already initialized in c:\ncs\v2.4.0, aborting.&lt;br /&gt;Note:&lt;br /&gt; In your environment, ZEPHYR_BASE is set to:&lt;br /&gt; c:\ncs\v2.4.0\zephyr&lt;/p&gt;
&lt;p&gt;This forces west to search for a workspace there.&lt;br /&gt; Try unsetting ZEPHYR_BASE and re-running this command.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m familiar with git but still haven&amp;#39;t used west command line so it will take awhile for me to go through all that and don&amp;#39;t see need if its not necessary.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So I have moved on to a much bigger project that also worked well in 2.1 but am having issues with the logger.&amp;nbsp; &amp;nbsp;If you think I need the main version (the latest state of development) then I will have to go through it and try to figure out how to get main.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In any case on 2.4 CMSE disable it seems like there is an intermittent issue with the logger which is of course somewhat related to the changes made to no longer need thingy53.c&amp;nbsp; &amp;nbsp;Just a wild guess but maybe when logging comes too fast before it would report lost messages but now maybe a problem occurs.&amp;nbsp; I&amp;#39;ve never seen an assert printout before either until now.&amp;nbsp; This project also uses our hardware so not sure it will be worthwhile to attach it but maybe your opinion on if this is also a 2.4 issue.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/AssertFail_5F00_HighLight.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;see the ASSERTION FAIL The bme680 chip id&amp;nbsp; = 0x61&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Never seen ASSERTION FAIL before 2.4.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also sometimes it resets and then works.&amp;nbsp; Most of the time it does work but not always.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/thread/432390?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 16:07:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b060795c-a6e1-4528-a6d9-cd79e40193a3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please build&amp;nbsp;&lt;a href="https://github.com/NordicDeveloperAcademy/ncs-fund/tree/main/v2.x.x/lesson6/fund_less6_exer2_solution"&gt;https://github.com/NordicDeveloperAcademy/ncs-fund/tree/main/v2.x.x/lesson6/fund_less6_exer2_solution&lt;/a&gt;&amp;nbsp;for&amp;nbsp;&lt;span&gt;thingy53_nrf5340_cpuapp_ns with NCS main version (the latest state of development) or v2.3.0. See the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/getting_started/installing.html#get-the-ncs-code"&gt;install flow&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I see the issue with NCS v2.4.0, but it can work with the main version and v2.3.0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It doesn&amp;#39;t require&amp;nbsp;thingy53.c anymore in v2.3.0 later. See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.4.0/nrf/working_with_nrf/nrf53/thingy53.html#usb"&gt;how to work with USB on thingy53 in this documentation&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/thread/431575?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 21:55:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a59f761-ad1a-4f16-b337-723de0a2ea3d</guid><dc:creator>Ramulous</dc:creator><description>&lt;p&gt;Thank you I got both the lesson project and your project to work (enumerate serial port(s) ) by using the&amp;nbsp;&lt;span&gt;thingy53_nrf5340_cpuapp instead of&lt;/span&gt; thingy53_nrf5340_cpuapp_ns like I always have.&amp;nbsp; That is Cortex M security extensions (CMSE) is disabled to work and enabled it does not.&amp;nbsp; Some initial examples from Nordic unless I recall wrong the examples did use CMSE so I have been using the tool that way all the time.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I still need to point out that when we were using thingy53.c using&amp;nbsp;&lt;span&gt;thingy53_nrf5340_cpuapp_ns, CMSE enabled, the serial ports did enumerate.&amp;nbsp; So in essence, you may not have completely fixed the SDK by no longer needing thingy53.c&amp;nbsp; I think the serial ports should enumerate either way.&amp;nbsp; So in my opinion someone at Nordic should take a look at that.&amp;nbsp; Or explain to me the situation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I also wonder in the Configuration pull down the difference between Use build system default and prj.conf is?&amp;nbsp; Because that would make a difference when we were still using the thingy53.c file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there a document somewhere that guides us to upgrading to 2.4?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your help.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/thread/431539?ContentTypeID=1</link><pubDate>Fri, 16 Jun 2023 14:27:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caa5c6b3-b652-4d4f-84fa-762f448775b1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try my test project &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/fund_5F00_less6_5F00_exer2_5F00_solution.7z"&gt;devzone.nordicsemi.com/.../fund_5F00_less6_5F00_exer2_5F00_solution.7z&lt;/a&gt;for NCS v2.4.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It can&amp;nbsp;&lt;span&gt;enumerate the serial ports and get the log.&amp;nbsp;&lt;/span&gt;I don&amp;#39;t modify the code, just add the config and overlay files for Thingy53.&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/pastedimage1686925505980v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/thread/431375?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 20:57:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4816599b-a8cb-4338-b6d4-afbde74e48e2</guid><dc:creator>Ramulous</dc:creator><description>&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/pastedimage1686861676825v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What the issue is and what I mean by serial port enumeration is that the serial ports show up in DeviceManager on a 64 bit Windows 10 machine.&amp;nbsp; Here is a good example from the nRF5340-DK (i.e. not the Thingy 53).&amp;nbsp; Here the nRF5340-DK is showing two serial ports COM 15 and COM 16.&amp;nbsp; This means that the nRF5340-DK has enumerated two serial ports COM 15 and COM 16.&amp;nbsp; Now I will power down the DK to show you that they are no longer enumerating.&amp;nbsp;&amp;nbsp;&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/pastedimage1686862296895v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If the two figures came through and you can see them now you can see that the DK is no longer enumerating.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;That is what I mean that the THINGY 53 will not enumerate the serial port(s).&amp;nbsp; This is necessary to be able to use printk the logger and so on.&amp;nbsp; At the same time it would be nice to receive data through the port to the THINGY 53 as well but that is not part of the Lesson 6 exercise 2 unfortunately.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/thread/431373?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 20:38:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40892f97-278b-4ca3-8aa6-a59d445a4a67</guid><dc:creator>Ramulous</dc:creator><description>&lt;p&gt;I had already tried removing the &lt;span&gt;BT_NUS_UART_ASYNC_ADAPTER&lt;/span&gt;&amp;nbsp;and the serial port still does not enumerate.&amp;nbsp; In addition the initial problem statement is that&amp;nbsp;&lt;a href="https://github.com/NordicDeveloperAcademy/ncs-fund/tree/main/v2.x.x/lesson6/fund_less6_exer2_solution"&gt;https://github.com/NordicDeveloperAcademy/ncs-fund/tree/main/v2.x.x/lesson6/fund_less6_exer2_solution&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;does not enumerate the serial port so that I can use the logger printk and so on.&amp;nbsp; When you say it can work I asking then how can it work.&amp;nbsp; You should have said that it will enumerate.&amp;nbsp; I think you don&amp;#39;t know what I mean by the serial port enumeration I will explain that next.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/thread/431369?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 19:39:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c0dd5b2-42e9-4fa4-aeb4-fc1443c41698</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Remove the&amp;nbsp;CONFIG_BT_NUS_UART_ASYNC_ADAPTER=y. The USB CDC should work.&amp;nbsp;&lt;/p&gt;
[quote user="Ramulous"]That&amp;#39;s why Lesson 6 exercise 2 needs to work with 2.4 and in all future releases 2.5 and so on.[/quote]
&lt;p&gt;Without modification, Lesson 6 Exercise 2 can work in v2.4.0. You can refer to&amp;nbsp;&lt;a href="https://github.com/NordicDeveloperAcademy/ncs-fund/tree/main/v2.x.x/lesson6/fund_less6_exer2_solution"&gt;https://github.com/NordicDeveloperAcademy/ncs-fund/tree/main/v2.x.x/lesson6/fund_less6_exer2_solution&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/thread/431128?ContentTypeID=1</link><pubDate>Thu, 15 Jun 2023 00:32:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58861fd7-c483-4f0d-a385-c2d1c5f543f5</guid><dc:creator>Ramulous</dc:creator><description>&lt;p&gt;/Documents/Nordic/myapps/fund_less6_exer2_solutionNordic/prj.conf:33: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol BT_NUS_UART_ASYNC_ADAPTER&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This did not work as you can see the BT_NUS_UART_ASYNC_ADAPTER was undefined.&amp;nbsp; I need a super really small primitive project that can both transmit and receive uart data.&amp;nbsp; That&amp;#39;s why Lesson 6 exercise 2 needs to work with 2.4 and in all future releases 2.5 and so on.&amp;nbsp; This project does not use Bluetooth.&amp;nbsp; Can you are someone take another stab.&amp;nbsp; Ideally you would test with that project (lesson 6 exerercise 2)&amp;nbsp; &amp;nbsp;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy 53 does not enumerate serial port for Dev Academy Lesson 6 exercise 2</title><link>https://devzone.nordicsemi.com/thread/431068?ContentTypeID=1</link><pubDate>Wed, 14 Jun 2023 14:51:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b858a367-0b04-4bf8-84a1-1fcf312b380e</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For NCS v2.4.0, you can use the&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.4.0/samples/bluetooth/peripheral_uart/boards/thingy53_nrf5340_cpuapp.conf"&gt;thingy53_nrf5340_cpuapp.conf&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.4.0/samples/bluetooth/peripheral_uart/boards/thingy53_nrf5340_cpuapp.overlay"&gt;thingy53_nrf5340_cpuapp.overlay&lt;/a&gt;&amp;nbsp;under&amp;nbsp;nrf\samples\bluetooth\peripheral_uart\boards.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>