<?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>Having problems with uploading code to my Thingy52.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45674/having-problems-with-uploading-code-to-my-thingy52</link><description>Hey, i having problems with uploading code to my Thingy52. 
 
 Equipment that i using: nRF DK https://www.nordicsemi.com/Software-and-Tools/Development-Kits/nRF52-DK Nordic Thingy:52 
 My computer is using windows 8.1 
 Things i have done: 
 
 Downloaded</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Apr 2019 11:30:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45674/having-problems-with-uploading-code-to-my-thingy52" /><item><title>RE: Having problems with uploading code to my Thingy52.</title><link>https://devzone.nordicsemi.com/thread/180288?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 11:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:026c014a-8364-4559-ac0f-4cd47bd480d9</guid><dc:creator>ragnarolsson</dc:creator><description>&lt;p&gt;The problem were the cable now i can program the Thingy, thank you for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having problems with uploading code to my Thingy52.</title><link>https://devzone.nordicsemi.com/thread/180080?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 15:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27dac125-dbfc-4bfa-b4c9-54a13613d902</guid><dc:creator>ragnarolsson</dc:creator><description>&lt;p&gt;Thanks for the asnwer, well spotted on the cable, that could be the problem, i have ordered a new cable and will try with that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having problems with uploading code to my Thingy52.</title><link>https://devzone.nordicsemi.com/thread/180049?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 14:15:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27341559-b236-4fc2-b6ef-f40191c1e3a8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I do not thing that cable has correct pinout. If you look at the connection on the cable on below image, the red line is swapped on your DK. If it is not correctly wired, you will program the DK rather than the Thingy. You can check this by flashing the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-3-0/gpio_example"&gt;blinky application&lt;/a&gt; to the DK before performing the erase on Thingy. If the DK stops running blinky, the Thingy have not been erased.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-f6ef67f44f5447efbeba75fcafd550d5/20190403_5F00_1600334.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having problems with uploading code to my Thingy52.</title><link>https://devzone.nordicsemi.com/thread/179937?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 10:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cb1258e-c0a6-4e80-9578-03333575ec0e</guid><dc:creator>ragnarolsson</dc:creator><description>&lt;p&gt;Yes i have connected it like this:&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/20190403_5F00_113847.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;After that i started the nRFgo studio and pressed &amp;quot;Erase all&amp;quot; on both SoftDevice and Application.&lt;br /&gt;After that i clicked on &amp;quot;Program Bootloader&amp;quot; and choosed the hex-file from the build of the project in the directory&amp;nbsp;&lt;span&gt;&amp;ldquo;\project\bootloader_secure\pca20020\armgcc&amp;rdquo; in the Thingy:52-SDK. After that i pressed program and it&amp;nbsp;succeeded.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Then i started nRF Conenct v2.6.2 and connected the Thingy52 to the nRF DK and did the following steps:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. Pressed the &amp;quot;Start Secure DFU&amp;quot; button&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.Choosed the zip-fil that i generated with the&amp;nbsp;nrfutil from the built project in the directory &amp;quot;project\pca20020_s132\armgcc&amp;quot;&amp;nbsp;in the Thingy:52-SDK and then pressed the &amp;quot;Start DFU&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3.And then i still get this error message:&amp;nbsp;&amp;ldquo;When writing &amp;#39;EXECUTE&amp;#39; command to Control Point Characteristic of DFU Target: Operation code 4 (EXECUTE) failed on DFU Target. Result code 5 (INVALID_OBJECT)&amp;rdquo;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The nRFgo studio looks like this for me, should the Thingy52 be visible here cause it seems like the nRF52 DK is visible for me.&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/4743.nrfgo1.png" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having problems with uploading code to my Thingy52.</title><link>https://devzone.nordicsemi.com/thread/179911?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 08:45:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e7ac037-5b40-45a9-a13a-3f2143081ded</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you connect a nRF5x DK debug out port to the Thingy:52, erase the flash, and then flash the new custom bootloader?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nRFgo Studio is not recommended for use with nRF52, &lt;a href="https://www.nordicsemi.com/DocLib/Content/User_Guides/nrf5x_cltools/latest/UG/cltools/nrf5x_nrfjprogexe"&gt;nrfjprog&lt;/a&gt; or &lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-programmer#nrf-connect-programmer"&gt;nRF Connect Programmer app&lt;/a&gt; is the recommended way to erase and flash bootloader/application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having problems with uploading code to my Thingy52.</title><link>https://devzone.nordicsemi.com/thread/179824?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 15:39:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57854dcd-4197-4173-8b62-0b59652e685c</guid><dc:creator>ragnarolsson</dc:creator><description>&lt;p&gt;Thanks for the answer,&lt;br /&gt;&lt;br /&gt;is flashing the bootloader when you do like this: Starting the nRFgo studio -&amp;gt; choosing your&amp;nbsp;device under the motherboard tab&amp;nbsp;-&amp;gt; program bootloader -&amp;gt; choosing your bootloader hex-file -&amp;gt; press program button?&lt;br /&gt;&lt;br /&gt;I have done the exact same steps as described above but with the project in the directory &amp;quot;project\pca20020_s132\armgcc&amp;quot;&amp;nbsp;&lt;span&gt;in the Thingy:52-SDK and then i also got the error message:&amp;nbsp;&amp;nbsp;&amp;ldquo;When writing &amp;#39;EXECUTE&amp;#39; command to Control Point Characteristic of DFU Target: Operation code 4 (EXECUTE) failed on DFU Target. Result code 5 (INVALID_OBJECT)&amp;rdquo;. Do you know why i get the error message then also?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having problems with uploading code to my Thingy52.</title><link>https://devzone.nordicsemi.com/thread/179820?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 15:03:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e086b32-ba6f-413c-8029-07d89947be37</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You will not be able to update the bootloader of Thingy with your own customer build bootloader, using the DFU solution. This is only possible with bootloaders built by Nordic with&amp;nbsp;our private key.&lt;/p&gt;
&lt;p&gt;It is possible to flash your own bootloader using the debug out port of the DK and a cable like &lt;a href="https://www.adafruit.com/product/1675"&gt;this one&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>