<?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:91 not connectable. LED is off but can program</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65945/thingy-91-not-connectable-led-is-off-but-can-program</link><description>I was working with the Thingy:91 trying to get into into a serial printing state. I tried to updated the modem and firmware using the nrf Programmer. When updating the modem it hangs at 100%. Programming the device seems to succeed but now the LED is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 30 Aug 2020 22:01:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65945/thingy-91-not-connectable-led-is-off-but-can-program" /><item><title>RE: Thingy:91 not connectable. LED is off but can program</title><link>https://devzone.nordicsemi.com/thread/269622?ContentTypeID=1</link><pubDate>Sun, 30 Aug 2020 22:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d3bfd9a-223a-48bb-a09b-c121fdeb9c00</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I&amp;#39;m a bit confused of what you&amp;#39;re actually asking about, it seems like you&amp;#39;ve figured out how to get serial logging to work. Do you simply want to change what the Thing:91 is actually printing? If that is the case you can&amp;#39;t&amp;nbsp;use the precompiled hex file (&lt;span&gt;thingy91_ltem_2020-04-29_bc7ade8b.hex&lt;/span&gt;). Instead, you have to open the Asset tracker example located in&amp;nbsp;&lt;em&gt;nrf\applications\asset_tracker\src&lt;/em&gt;, modify it according to your needs (e.g. print out &lt;span&gt;accelerometer and environmental data&lt;/span&gt;), build it, and eventually program it onto the Thingy:91. Eg. if you&amp;#39;re using west:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install the Toolchain Manager and NCS v1.3.0:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial"&gt;https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Open Bash from the Toolchain Manager as explained &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/ncs-tutorial---temporary#h10skagp8wj210662x01aeknqi116jxom"&gt;here&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Build and program it:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cd C:/Users/&amp;lt;user name&amp;gt;/ncs/v1.3.0/nrf/applications/asset_tracker
west build -b thingy91_nrf9160ns
## comment: Connect the thingy to the PC using a 10-pin cable and an external programmer and set the switch to nRF91
west flash&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;When running west flash, it will use the generated hex file&amp;nbsp;&lt;em&gt;nrf\applications\asset_tracker\build\zephyr\merged.hex&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 not connectable. LED is off but can program</title><link>https://devzone.nordicsemi.com/thread/269621?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 12:31:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07248303-2c0f-4011-94f7-29929afee576</guid><dc:creator>ImagiSam</dc:creator><description>&lt;p&gt;Yea, I&amp;#39;m trying to get data out to serial. I was following this advice from one of the Nordicsemi employees. Instead of using usb_uart_bridge source code I was running it from the precompiled firmware. Did I misunderstand is there actually no way of doing the first option?&lt;/p&gt;
&lt;p style="font-weight:400;"&gt;&lt;em&gt;There are mainly two ways of logging to the computer from the Thingy:91:&lt;/em&gt;&lt;/p&gt;
&lt;ol style="font-weight:400;"&gt;
&lt;li&gt;&lt;em&gt;&lt;u&gt;Through UART:&lt;/u&gt;&amp;nbsp;The USB connector on the Thingy:91 is connected&amp;nbsp; to the nRF52840, and by programming the &amp;nbsp;usb_uart_bridge sample onto the 52840, the UART log from the nRF9160 can be seen on a&amp;nbsp;serial&amp;nbsp;terminal on the computer.&lt;/em&gt;&lt;ul&gt;
&lt;li&gt;&lt;em&gt;To program the sample, set the switch on the Thingy:91 to nRF52, cd into&amp;nbsp;ncs\nrf\samples\usb\usb_uart_bridge&amp;nbsp;and run west build -b nrf52840_pca20035 &amp;amp;&amp;amp; west flash&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;u&gt;Through RTT:&lt;/u&gt;&amp;nbsp;If you’ve connected the 10-pin cable to an external programmer, you can&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/guides/tools/nordic_segger.html#rtt-console"&gt;enable RTT logging&lt;/a&gt;&amp;nbsp;and see the RTT log in a J-Link RTT Viewer.&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 not connectable. LED is off but can program</title><link>https://devzone.nordicsemi.com/thread/269620?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 11:24:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deba1314-77de-47b8-9856-2e5f230bb37d</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi! Glad to hear you got it working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="ImagiSam"]The next question is that I&amp;#39;d like to get the Thingy 91 printing to serial. Preferably without connecting to it in cloud but right now it doesn&amp;#39;t seem to for some reason.[/quote]
&lt;p&gt;&amp;nbsp;From the screenshot you attached, it looks like you&amp;#39;re getting out debug information from the Thingy:91, so do I understand you correctly that what you say isn&amp;#39;t working is the printing of sensor information?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If that&amp;#39;s what you mean, the Asset Tracker sample doesn&amp;#39;t print the sensor data to serial so you will have to go into the source code and change that yourself.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I misunderstood what you&amp;#39;re having trouble with, please clarify and I will help you further. :)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 not connectable. LED is off but can program</title><link>https://devzone.nordicsemi.com/thread/269619?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 09:04:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:660d6b60-baa0-4534-afe0-e3a84f98d3a9</guid><dc:creator>ImagiSam</dc:creator><description>&lt;p&gt;So, for flashing using the external debugger which in my case is the Nordic: nRF5340 If I connect to that board instead of the Thingy91 in programmer and program will it work or will I need to set anything specific up (it&amp;#39;s connected through the 10 pin as expected)&lt;br /&gt;&lt;br /&gt;I managed to get it to work. It seems that that was the problem I was using the full version. I wasn&amp;#39;t able to find any thorough documentation about the different versions.&lt;/p&gt;
&lt;p&gt;The next question is that I&amp;#39;d like to get the Thingy 91 printing to serial. Preferably without connecting to it in cloud but right now it doesn&amp;#39;t seem to for some reason. I tried to use it out of the package and I tried: Programming usb_uart_bridge on the nrf52 then ltem on the nrf91 and then connecting to it in cloud:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-8cec975030ff40468a315593be687e21/pastedimage1598346029361v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I have connected to both ports. The first at 115200 and the second at 1000000 as specified in documentation.&lt;/p&gt;
&lt;p&gt;To be clear what I&amp;#39;m trying to do is to get the Thingy91 to print sensor data to the serial so that I can use it as for 2 purposes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Data Collection tool, collecting accelerometer and environmental data&lt;/li&gt;
&lt;li&gt;Narrow down where I can add calls to an external AI library to make some predictions based on sensor data. To do this I&amp;#39;d like to add prints in different parts of the code&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 not connectable. LED is off but can program</title><link>https://devzone.nordicsemi.com/thread/269618?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 08:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:002ec9c8-d9e3-4b15-a780-62486d654d69</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi, so if you are programming over USB, then we do have an issue with the Thingy v1.0.0 and Windows, that I want to let you know about.&amp;nbsp; If this is the combination you are using, flashing over USB will not work and I recommend you try using the external debugger you have on hand.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You are also using the incorrect files for performing DFU over USB. You need to use the files in &amp;quot;images_dfu_hex&amp;quot;, or when building yourself, select the file called &amp;quot;app_signed.hex&amp;quot;, see the doc &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.3.0/nrf/ug_thingy91.html#building-and-programming-from-the-source-code"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 not connectable. LED is off but can program</title><link>https://devzone.nordicsemi.com/thread/269617?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 06:35:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2b709c1-2808-4bd4-8b1c-cecddee64436</guid><dc:creator>ImagiSam</dc:creator><description>&lt;p&gt;So, I double checked what serial recovery mode meant and I am indeed doing that. It&amp;#39;s not raising any errors and if I don&amp;#39;t press SW3 and then turn it on then it tells me that I need to be in MCUBOOT mode. (I guess that&amp;#39;s the same as serial recovery mode?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 not connectable. LED is off but can program</title><link>https://devzone.nordicsemi.com/thread/269616?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 14:08:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74649380-e4fa-4105-8265-ea412ba4a03b</guid><dc:creator>ImagiSam</dc:creator><description>&lt;p&gt;How do I put it into serial recovery mode? I have an external debugger as well. How can I differentiate between them in the programmer tool?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy:91 not connectable. LED is off but can program</title><link>https://devzone.nordicsemi.com/thread/269615?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 14:00:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d945ff9-77cb-4c81-b992-34c74a30af5d</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;My initial question is: Are you using an external debugger or programming over USB?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re using an external debugger, it looks like you&amp;#39;re doing everything correctly, so I would be interested in the error message from the programmer application. If you&amp;#39;re trying to program over USB using the bootloader, then it doesn&amp;#39;t look like you&amp;#39;re putting the device in serial recovery mode, which might be your issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>