<?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>Program on Thingy52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29887/program-on-thingy52</link><description>I am starting with Thingy and I am having some troubles.
Background is I have done some work with nRF52840 that sends beacons one-by-one with different payloads. And then receive the beacons and do decode.
I am trying to do the same on Thingy but I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Feb 2018 13:30:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29887/program-on-thingy52" /><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/121964?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 13:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e1fe132-1baa-4bc2-8b28-83ed669c7320</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Eddystone beacons advertise &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/16776/we-are-trying-to-develop-a-beacon-using-eddystone-protocol-we-are-not-able-to-establish-connection" rel="noopener noreferrer" target="_blank"&gt;non-connectable advertising packets&lt;/a&gt;. Am I correct in assuming that you want to setup the Thingy:52 as a beacon, while at the same time use the same device to receive different advertising packets from other beacons? I have not been able to find an example in the Nordic SDK, but it seems that the regular use case is to use the &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/nrf5-sdk-for-eddystonetm-introduced" rel="noopener noreferrer" target="_blank"&gt;nrf beacon for eddystone android app&lt;/a&gt; to receive the beacon advertising information. The source code for this app is available.&lt;/p&gt;
&lt;p&gt;Regarding your second question, it could be that the original BLE services are not needed on the Thingy &amp;amp; therefore they have been removed. Not 100% certain about this though.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/121310?ContentTypeID=1</link><pubDate>Mon, 19 Feb 2018 18:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abcd9f67-bf26-4ab9-9e26-2b78123435dc</guid><dc:creator>mich_x</dc:creator><description>&lt;p&gt;In fact, not only do I have to send beacons on one device, I also have to receive beacons sent by other devices. I have checked the link and the Ebbystone library of SDK v13. But I can&amp;#39;t find how to implement Ebbystone receiver using nRF52 device. Is it possible or supported?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Plus, I quite confused about why the original BLE services are not supported on Thingy? I thought the SDK of Thingy is pretty similar to SDK v13.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/121171?ContentTypeID=1</link><pubDate>Sun, 18 Feb 2018 09:09:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bab9932-47ba-4b82-a7dc-0a69f67aada3</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I am unsure,&amp;nbsp;but did you know that you can use the eddystone beacon protocol on the Thingy? Take a look &lt;a href="https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/group__ble__sdk__adv__beacon.html" rel="noopener noreferrer" target="_blank"&gt;at this link&lt;/a&gt;. Could be helpful. The module is currently experimental, so there might be some errors that will be updated in future Thingy FW. But it&amp;#39;s definitely worth a shot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/120901?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2018 20:30:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33608116-3b43-411a-9edc-92ce5b9b0b1b</guid><dc:creator>mich_x</dc:creator><description>&lt;p&gt;Sorry to bother you a lot. I am now able to flash a program onto Thingy. I have tried to change the color of the lightwell to red.&lt;/p&gt;
&lt;p&gt;My question is now. I found that the ble_event_type on Thingy in the PCA20020 example is different from the one in SDK 13. I am wondering if I could choose the ble.h from Softdevice and use the functions defined there.&lt;/p&gt;
&lt;p&gt;Like the sent beacon and receive adv etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/120807?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2018 11:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c22797c-1cf8-4be3-aa2b-62cf20495017</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Did you remember to erase the Thingy, then flash the correct softdevice &amp;amp; finally program the firmware application hex file at the end?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/120767?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 21:50:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6608dd24-0f66-49c6-b0f3-ffd6f80eac55</guid><dc:creator>mich_x</dc:creator><description>&lt;p&gt;I have downloaded this SDK and compiled the PCA20020 project in it. And I flashed the hex(hopefully). But nothing shows on the Thingy. Then light well goes off now. Which project were you talking about when you say change the color of the light into white. One more thing is that we I tried to flash the hex onto Thingy, it said that there are coeds in Soft Device area. So I have to erase all soft device before flashing the program. Is this something wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/120667?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2018 07:57:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1026a3f5-1f13-4db4-beb3-18335a0489fa</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi, if I were you, I would &lt;a href="https://github.com/NordicSemiconductor/Nordic-Thingy52-FW" rel="noopener noreferrer" target="_blank"&gt;download the Nordic Thingy FW&lt;/a&gt; &amp;amp; try to customize it a bit first. You could for example change the default blue light to a white light. You will need to follow the instructions on the Github page to setup the Thingy FW. That will most likely be a lot easier than trying to port an SDK 13 example on the Thingy. I would rather use the Thingy FW as a starting point &amp;amp; add the functionality you require later once you have setup the basic stuff.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/120625?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 19:13:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bfc7dd5-6c55-4d63-8c5c-4bbf09c50c41</guid><dc:creator>mich_x</dc:creator><description>&lt;p&gt;Hi, I finally got my cable to flash thingy. I erase the Thingy using nRFgo Studio I think. Because the light does not flash when I&amp;nbsp;turn on the Thingy anymore. However, right now I don&amp;#39;t have an example that will show any sign that Thingy has been flashed. Plus, although Thingy uses SDK 13 but I guess some of the codes should be different? Like the control of the light and all the sensors. Where can I find a reference on these?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/120511?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2018 08:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eb8f558-aa31-4964-a3a1-a563f61d7713</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;You will actually need the cable to do OTA-DFU because you do not have the private key for the bootloader that is currently on the Thingy to do OTA-DFU. So in order to do OTA-DFU, you need the wire to erase the flash on the Thingy &amp;amp; program your own custom bootloader, where you know the private key. But before you do this, I suggest using the cabled solution &amp;amp; flashing over softdevice &amp;amp; application instead. A lot easier &amp;amp; works just as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/120480?ContentTypeID=1</link><pubDate>Sat, 10 Feb 2018 17:06:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f137897b-a388-4356-ad43-839bd53ac8ac</guid><dc:creator>mich_x</dc:creator><description>&lt;p&gt;LOL. The only reason is that I have not yet got a SWD wire. I will try the wired solution.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/120440?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2018 14:24:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:688b66d3-f4e3-478c-8b0f-1a2697cf3a27</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I have a quick question: Is there a good reason why you are using OTA-DFU with the Thingy instead of programming via a 10-pin SWD cable via an nrf52 DK? The wired solution is a lot easier to do if you do not require the DFU functionality. I have not tried OTA-DFU on the Nordic Thingy yet, so if you really want to figure this out, I will need to test it out myself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/120181?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2018 21:54:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f602118-c924-41a5-a0b7-e1b5d3c181ab</guid><dc:creator>mich_x</dc:creator><description>&lt;p&gt;So I tried to DFU anyway. First, I tried the firmware update button on the nRF&amp;nbsp;Connect&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-5d94fc56826640eb9cae438d0f466941/6165.dfu-connect.png" /&gt;&lt;/p&gt;
&lt;p&gt;But I got this error&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-5d94fc56826640eb9cae438d0f466941/2450.4527.error1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Then I tried the command line nrfutil tool. But got this error&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-5d94fc56826640eb9cae438d0f466941/6278.8715.error2.png" /&gt;&lt;/p&gt;
&lt;p&gt;I have confirmed that the Thingy has entered the DFU mode. I can see the name changed to ThingyDFU and the address plus by one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/120180?ContentTypeID=1</link><pubDate>Wed, 07 Feb 2018 21:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d21f1cac-28d9-46e1-933f-7d186d3cf6b1</guid><dc:creator>mich_x</dc:creator><description>&lt;p&gt;So I was following the instructions on how to OTA-DFU. But I came into some problems. First of all, the nRF&amp;nbsp;Connect&amp;nbsp;interface seems different now from the instructions. I have to choose an APP to start connecting. So I chose Bluetooth Low Energy to connect to nRF528400.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then in the tutorial. It says &amp;quot;&lt;span&gt;Expand the FE59 service section and enable notifications by clicking&amp;nbsp;&lt;/span&gt;&lt;b&gt;Toggle notifications&lt;/b&gt;&lt;span&gt;. Then, type&amp;nbsp;&lt;/span&gt;&lt;code&gt;01&lt;/code&gt;&lt;span&gt;&amp;nbsp;into the FE59 field. Press Enter or click&amp;nbsp;&lt;/span&gt;&lt;b&gt;Write&lt;/b&gt;&lt;span&gt;.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But I cannot&amp;nbsp;see FE59 services in the new connect interface. Does this mean something is wrong?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/118864?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 07:26:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84af2c67-e374-4f60-a9f4-6dcb0b973e5f</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;You can still flash your custom FW via OTA-DFU. OTA-DFU is a bit more complicated when flashing custom FW because you need to use the secure dfu bootloader I refer to in the answer. I am pretty sure you can re-flash the same FW OTA. The wired connection option is easier because you can just connect the Thingy to an nrf51/52 DK, plug in the 10 pin cable to the Debug Out Pin (P19) in the DK, turn both devices on &amp;amp; then use nrfgostudio to erase the DK, program the correct softdevice on the Thingy (i.e. v4.0.2) &amp;amp; then flash your custom FW.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/118863?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 19:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a588ac6d-c5fd-4b94-93f4-63f93529ea39</guid><dc:creator>mich_x</dc:creator><description>&lt;p&gt;I notice that in your answer, you said if I want to flash the Nordic Thingy FW, I can use OTA or wire connection. So, if I want to flash my own FW, does this change the method? To my understand, I cannot re-flash my FW OTA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/118862?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 14:43:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd8769a9-5a65-49f1-b81d-cd53b6da874f</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Thanks! Have a nice day! :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/118861?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 14:17:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4d33dc3-8ea4-4778-9dd2-34f213254bde</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;If you were happy with the answer, would you mind upvoting it &amp;amp; pressing the check mark please? :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/118860?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 21:27:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ee6c0a6-b139-41e8-b526-7fe2df36763c</guid><dc:creator>mich_x</dc:creator><description>&lt;p&gt;Thank you very much. This helps a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Program on Thingy52</title><link>https://devzone.nordicsemi.com/thread/118859?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 09:50:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87979c0b-693b-4eaf-8d1a-af4e9122865d</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi mich_x. &lt;a href="https://www.lifewire.com/what-is-firmware-2625881"&gt;Firmware&lt;/a&gt; is essentially software (SW) which is designed for a specific piece of hardware. So for the Nordic Thingy, the firmware is the SW that makes the Thingy:52 do the things it can do. The SW has been specifically designed to work for the Nordic Thingy:52. A basic bootloader executes an application located at a specific memory location (see the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.0.0/lib_bootloader_modules.html?cp=4_0_4_3_4"&gt;bootloader module&lt;/a&gt; for more info). You will most likely need to change the FW to run the Thingy as a beacon, yes. To run custom FW on the Thingy, you will need use the &lt;a href="https://devzone.nordicsemi.com/blogs/1085/getting-started-with-nordics-secure-dfu-bootloader/"&gt;secure dfu bootloader&lt;/a&gt;. Also, take a look at &lt;a href="https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/firmware_compile.html"&gt;this link&lt;/a&gt; for compiling new FW for the Thingy. As the Thingy FW is based off of SDK v13, you should take a look at SDK 13 examples if you want to use the Thingy as a beacon.&lt;/p&gt;
&lt;p&gt;For flashing the Nordic Thingy FW onto the Thingy, you can either use Over the Air DFU or use a wired connection. See &lt;a href="https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/dfu.html"&gt;this link&lt;/a&gt; for more info on OTA-DFU. See &lt;a href="https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/dfu_cable.html"&gt;this link&lt;/a&gt; for more info on the wired connection option.&lt;/p&gt;
&lt;p&gt;Regarding the softdevice, you cannot use the S140 Softdevice on it. You will need to use the &lt;a href="https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/"&gt;s132 v4.0.2 Softdevice&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>