<?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>Can not upload HEX file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62636/can-not-upload-hex-file</link><description>Hello! 
 Thanks for your help last time, highly appreciated. 
 However I haven&amp;#39;t got till actuall programming because now I can&amp;#39;t upload hex files. I start Thingy:91 in boot mode, connect, press write and it immidiately goes in application mode and programmer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Jun 2020 13:16:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62636/can-not-upload-hex-file" /><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255787?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 13:16:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99c1da18-f7f0-48dc-ab32-0d7f6572f59f</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;Could you also verify for me which JLink version you have? In the case that it is not the latest version ( v6.80a ) then please update that as well.&lt;br /&gt;This would be highly beneficial to know, in addition to the questions posed in my previous reply.&lt;br /&gt;&lt;br /&gt;I am not sure that reinstalling nRF Connect will resolve this issue, but you may very well attempt it.&lt;br /&gt;&lt;br /&gt;Let me know how it goes.&lt;br /&gt;&lt;br /&gt;I am looking forward to resolving this issue together!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255706?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 09:21:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:990c1764-7d62-4094-b41c-d249371779ad</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="edgars.dev"]Thank you for your involvement.&amp;nbsp;[/quote]
&lt;p&gt;No problem at all, I am happy to help and I hope we are able to resolve this issue shortly.&lt;/p&gt;
[quote user="edgars.dev"]Physically same device[/quote][quote user="edgars.dev"]so this seems to be not the case.[/quote]
&lt;p&gt;Agreed, if you were able to flash the physically same device then the MCUboot must be present.&lt;br /&gt;Do you know which operating system and nRF Connect version your friend was using?&lt;br /&gt;I will check with the nRF Connect team, to see if they have any insight on the issue. I will update you when I have spoken with them.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255688?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 07:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9829ad1-f458-4710-9608-742d76f6f569</guid><dc:creator>edgars.dev</dc:creator><description>&lt;p&gt;Thank you for your involvement.&amp;nbsp;&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/62636/can-not-upload-hex-file/255456"]When you say &amp;quot;the same thingy device&amp;quot;, do you mean your friend&amp;#39;s own thingy91, or the physically same device as you are having trouble with?[/quote]
&lt;p&gt;Physically same device&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/62636/can-not-upload-hex-file/255517"]It seems that your device does not have the MCUboot [/quote]
&lt;p&gt;so this seems to be not the case.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/62636/can-not-upload-hex-file/255517"]If you then flash one of the newest samples onto your kit, it will also contain the MCUboot.[/quote]
&lt;p&gt;We also did that with 10 pin connector.&lt;/p&gt;
&lt;p&gt;I guess I will renistall nRF Connect later today. Not a big hope tho.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255517?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 12:00:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76fa7278-9d0c-4074-b293-03321413f27e</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I have discussed this with a colleague, which was able to reproduce the issue you describe.&lt;br /&gt;It seems that your device does not have the MCUboot - you can program this using an external debugger, or a nRF91 DK with a 10 pin connector.&lt;br /&gt;If you then flash one of the newest samples onto your kit, it will also contain the MCUboot.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255456?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 09:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf2fc0aa-9379-4f5e-8529-ecd63added56</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;This is what you would have thought, I just wanted to make sure.&lt;br /&gt;&lt;br /&gt;Could you answer the other questions I raised earlier also:&lt;/p&gt;
[quote user="Karl Ylvisaker"]When you say &amp;quot;the same thingy device&amp;quot;, do you mean your friend&amp;#39;s own thingy91, or the physically same device as you are having trouble with?&lt;br /&gt;In case of the latter, I would recommend reinstalling your nRF Connect.&lt;br /&gt;&lt;br /&gt;Have you updated your device to the most recent modem firmware, since you got it?&lt;br /&gt;The process is described in the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Prototyping-platforms/Nordic-Thingy-91/GetStarted#infotabs"&gt;Updating Thingy:91 Firmware section&lt;/a&gt;.[/quote]
&lt;p&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255424?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 08:20:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cee450fe-0dd2-4010-9185-2e99f9897b11</guid><dc:creator>edgars.dev</dc:creator><description>&lt;p&gt;Noo, not at all.&amp;nbsp;I solved compiling issue in previous post. Now I am trying to solve hex write to mcu issue. Just answering your questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255423?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 08:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7222c7e4-a84a-4f0e-a197-d85226b99126</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="edgars.dev"]Now it is compiling.[/quote]
&lt;p&gt;By this, do you mean that your original issue is resolved - that you are now able to program your thingy 91 using the nRF Connect Programmer?&lt;br /&gt;If so, was this resolved by updating the firmware of your device?&lt;br /&gt;I am asking for future reference, if someone else should encounter the same issue.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255298?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 14:00:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:880d808a-92f5-4351-950e-fba8440a1a1a</guid><dc:creator>edgars.dev</dc:creator><description>[quote userid="87869" url="~/f/nordic-q-a/62636/can-not-upload-hex-file/255297"]Furthermore, could you elaborate what you meant with this comment?[/quote]
&lt;p&gt;See my previous post.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/61872/problem-with-setting-up-segger-on-mac"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/61872/problem-with-setting-up-segger-on-mac&lt;/a&gt;&amp;nbsp;&lt;br /&gt;Now it is compiling.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255297?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 13:57:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fcd8ef2-3793-465e-aa9c-3446c5481f6f</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="edgars.dev"]Ok, thanks, I will.[/quote]
&lt;p&gt;Great, the readability is highly increased already, thank you.&lt;/p&gt;
[quote user="edgars.dev"]Tried one that my friend compiled and succesfully uploaded with his computer to the same thingy device.[/quote]
&lt;p&gt;When you say &amp;quot;the same thingy device&amp;quot;, do you mean your friend&amp;#39;s own thingy91, or the physically same device as you are having trouble with?&lt;br /&gt;In case of the latter, I would recommend reinstalling your nRF Connect.&lt;br /&gt;&lt;br /&gt;Have you updated your device to the most recent modem firmware, since you got it?&lt;br /&gt;The process is described in the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Prototyping-platforms/Nordic-Thingy-91/GetStarted#infotabs"&gt;Updating Thingy:91 Firmware section&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="Karl Ylvisaker"]&lt;div&gt;edgars.dev said:&lt;/div&gt;&lt;div&gt;v0.5, the one that I had hard time to set up and now it compiles hex. Anyhow. I don&amp;#39;t see how it is related.&lt;/div&gt;[/quote]
&lt;p&gt;Furthermore, could you elaborate what you meant with this comment?&lt;br /&gt;&lt;br /&gt;Looking forward to solving this issue together,&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255294?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 13:52:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0536dd9-b07e-4225-a9b3-4e59ecb8b149</guid><dc:creator>edgars.dev</dc:creator><description>[quote userid="87869" url="~/f/nordic-q-a/62636/can-not-upload-hex-file/255284"]Is the application you are trying to flash the unmodified asset tracker sample, or a modified version?[/quote]
&lt;p&gt;Tried to write my own compiled hex from example. Tried the one you suggested. Tried one that my friend compiled and succesfully uploaded with his computer to the same thingy device. Some others as well, but that&amp;#39;s irrelevant.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/62636/can-not-upload-hex-file/255284"]If you highlight a part of a comment and click the &amp;quot;quote&amp;quot; button that appears, it will be much easier to follow references in longer discussions here on the forum.[/quote]
&lt;p&gt;Ok, thanks, I will.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/62636/can-not-upload-hex-file/255284"]And which nRF Connect SDK Version are you working with, v.3.4.0?[/quote]
&lt;p&gt;Correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255284?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 13:35:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1bb5790-b6ed-4263-b705-6bad3628306b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
[quote user="edgars.dev"]Problem is that when I press&amp;nbsp;Write button it immidiately resets MCU and after that it goes in to application mode (LEDs fade in) It doesn&amp;#39;t even matter what hex file I provide.[/quote]
&lt;p&gt;As shown in your video, it seems that the device stays in MCUBoot until you press write, at which point it reverts to application. What .hex files have you tried?&lt;br /&gt;The .hex files needs to have the correct memory range, to be acceptable. The note from step 7 of the programing guide reads:&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span&gt;Note:&lt;/span&gt;&lt;span&gt;&amp;nbsp;A normal firmware image HEX file cannot be used when programming applications through USB, since the MCUboot bootloader is used. The HEX file needs to contain the application at the appropriate memory offset for use with MCUboot.&lt;/span&gt;&lt;/p&gt;
[quote user="edgars.dev"]v0.5, the one that I had hard time to set up and now it compiles hex. Anyhow. I don&amp;#39;t see how it is related.[/quote]
&lt;p&gt;What does this mean, what parts of my comment are you referring to here?&lt;br /&gt;If you highlight a part of a comment and click the &amp;quot;quote&amp;quot; button that appears, it will be much easier to follow references in longer discussions here on the forum.&lt;/p&gt;
[quote user="edgars.dev"]Programmer is v1.4.2[/quote]
&lt;p&gt;And which nRF Connect SDK Version are you working with, v.3.4.0?&lt;br /&gt;Is the application you are trying to flash the unmodified asset tracker sample, or a modified version?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255274?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 13:16:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c162b612-e972-48e4-b9c8-bc725710054a</guid><dc:creator>edgars.dev</dc:creator><description>&lt;p&gt;Yes. Did everything exactly as it was told in instruction. Problem is that when I press&amp;nbsp;Write button it immidiately resets MCU and after that it goes in to application mode (LEDs fade in) It doesn&amp;#39;t even matter what hex file I provide.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;v0.5, the one that I had hard time to set up and now it compiles hex. Anyhow. I don&amp;#39;t see how it is related.&lt;/p&gt;
&lt;p&gt;Programmer is v1.4.2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can not upload HEX file</title><link>https://devzone.nordicsemi.com/thread/255263?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 12:52:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab55606c-ed1b-4fde-8bd9-7b0290aa7fb5</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Thanks for your help last time, highly appreciated.[/quote]
&lt;p&gt;No problem at all, we are here to help!&lt;/p&gt;
[quote user=""]However I haven&amp;#39;t got till actuall programming because now I can&amp;#39;t upload hex files. I start Thingy:91 in boot mode, connect, press write and it immidiately goes in application mode and programmer sofware throws error that I have to check that it is in boot mode. I have no clue how to fix this. Any hints?[/quote]
&lt;p&gt;I am sure you have seen the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nc_programmer/UG/nrf_connect_programmer/ncp_pgming_thingy91_usb.html"&gt;programming applications through USB ( MCUBoot ) guide&lt;/a&gt;, but I link it here just in case.&lt;br /&gt;To verify if the issue is with the .hex used, or nRF Connect desktop application, could you go ahead and download the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Prototyping-platforms/Nordic-Thingy-91/Download#infotabs"&gt;latest firmware from this site&lt;/a&gt;, and follow the programming applications guide to program the&amp;nbsp;&lt;em&gt;thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex&lt;/em&gt; from the downloaded zip folder?&lt;br /&gt;Please let me know if this works, or if you are encountering the same issue when doing this.&lt;br /&gt;&lt;br /&gt;For the record, could you also tell me which NCS version you are working with?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>