<?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>Actinius Icarus nrF9160 issues with hex file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72880/actinius-icarus-nrf9160-issues-with-hex-file</link><description>Hi, 
 I have a board Actinius Icarus nrf9160 and I&amp;#39;m trying to program with external hex file through nrfConnect sdk and Actinius programmer. 
 Loading prebuilt example works. 
 1) I followed step by step the hello_world example. Open nrfConnect sdk project</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Mar 2021 13:28:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72880/actinius-icarus-nrf9160-issues-with-hex-file" /><item><title>RE: Actinius Icarus nrF9160 issues with hex file</title><link>https://devzone.nordicsemi.com/thread/300950?ContentTypeID=1</link><pubDate>Fri, 19 Mar 2021 13:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34f28d2b-5a9c-4b6a-97b5-c5c0af2ecc15</guid><dc:creator>mike_actinius</dc:creator><description>&lt;p&gt;Hi Robi,&lt;/p&gt;
&lt;p&gt;The screenshots did not come through, but if I understand correctly you tried to upload merged.hex/zephyr.hex via USB (MCUboot) which indeed won&amp;#39;t work. The merged.hex should only be used when uploading with a JLink as it contains all of the hex files together (MCUboot, SPM, Application). When uploading with MCUboot, only the application should be uploaded (that&amp;#39;s the &amp;quot;&lt;span&gt;app_signed.hex&amp;quot; that is mentioned in the docs).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-- Mike&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Actinius Icarus nrF9160 issues with hex file</title><link>https://devzone.nordicsemi.com/thread/300820?ContentTypeID=1</link><pubDate>Fri, 19 Mar 2021 07:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d3a6074-3d37-46fb-93e9-97e42a6f2386</guid><dc:creator>Robi</dc:creator><description>&lt;p&gt;Hi Thanks, for the support, but ...&lt;/p&gt;
&lt;p&gt;First time I was selecting the wrong board. Quite awkward ...&lt;/p&gt;
&lt;p&gt;Now the board is the right one&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-components-multipleuploadfilemanager/83aa24e1_2D00_e3b4_2D00_475f_2D00_9a4f_2D00_1a8838abdc41-102324-complete/Schermata-2021_2D00_03_2D00_18-alle-16.30.02.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to use the Actinius Programmer to program with Icarus connected directly to the Mac via USB&lt;/p&gt;
&lt;p&gt;In hello_world folder&lt;/p&gt;
&lt;p&gt;&lt;img height="142" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-components-multipleuploadfilemanager/83aa24e1_2D00_e3b4_2D00_475f_2D00_9a4f_2D00_1a8838abdc41-102324-complete/Schermata-2021_2D00_03_2D00_18-alle-16.40.38.png" width="240" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In prj.conf&lt;/p&gt;
&lt;p&gt;&lt;img height="94" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-components-multipleuploadfilemanager/83aa24e1_2D00_e3b4_2D00_475f_2D00_9a4f_2D00_1a8838abdc41-102324-complete/Schermata-2021_2D00_03_2D00_18-alle-16.40.56.png" width="241" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In CMakeLists.txt&lt;/p&gt;
&lt;p&gt;&lt;img height="123" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-components-multipleuploadfilemanager/83aa24e1_2D00_e3b4_2D00_475f_2D00_9a4f_2D00_1a8838abdc41-102324-complete/Schermata-2021_2D00_03_2D00_18-alle-16.41.11.png" width="334" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then I build solution&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-components-multipleuploadfilemanager/83aa24e1_2D00_e3b4_2D00_475f_2D00_9a4f_2D00_1a8838abdc41-102324-complete/Schermata-2021_2D00_03_2D00_18-alle-16.41.36.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and I get both merged.hex and zephyr.hex&lt;/p&gt;
&lt;p&gt;From Actinius Programmer&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-components-multipleuploadfilemanager/83aa24e1_2D00_e3b4_2D00_475f_2D00_9a4f_2D00_1a8838abdc41-102324-complete/Schermata-2021_2D00_03_2D00_18-alle-16.33.30.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And after successful uploading ... nothing happen.&lt;/p&gt;
&lt;p&gt;So I went to the link from Mike and added the two files.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-components-multipleuploadfilemanager/83aa24e1_2D00_e3b4_2D00_475f_2D00_9a4f_2D00_1a8838abdc41-102324-complete/Schermata-2021_2D00_03_2D00_18-alle-17.03.11.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;and I also tried with and without the two additional lines in CmakeLists.txt&lt;/p&gt;
&lt;p&gt;Still the same result. Sorry if I keep wasting your time. I&amp;#39;m probably doing something stupid, but I don&amp;#39;t see it (with Arduino was easier ...)&lt;/p&gt;
&lt;p&gt;Thanks all&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Actinius Icarus nrF9160 issues with hex file</title><link>https://devzone.nordicsemi.com/thread/300722?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 14:34:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44505c73-f7fa-40de-a8e6-88e7eca985fd</guid><dc:creator>mike_actinius</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;From your screenshots it looks like you have the nRF9160 DK selected as the target for the build instead of the Icarus. Could you confirm that you actually selected the Icarus (actinius_icarus_ns) from the list during your tests? The &amp;quot;3rd party kits&amp;quot; checkbox needs to be checked, otherwise no board other than Nordic&amp;#39;s own boards appear in the board lists.&lt;/p&gt;
&lt;p&gt;Also, are you uploading via JLink or USB (MCUboot)? If it is the latter, you need to make sure that the partitions in your project are the same as what the MCUboot on the board expects, because partitioning changed after nRF Connect v1.3.x (see&amp;nbsp;&lt;a href="https://docs.actinius.com/icarus/building/zephyr"&gt;https://docs.actinius.com/icarus/building/zephyr&lt;/a&gt;). If you are using JLink or you have uploaded MCUboot yourself and you are not using the preinstalled MCUboot you can disregard this!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-- Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Actinius Icarus nrF9160 issues with hex file</title><link>https://devzone.nordicsemi.com/thread/300669?ContentTypeID=1</link><pubDate>Thu, 18 Mar 2021 12:55:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b606404-f744-4097-add9-322dde01fe3f</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When you build using the non-secure board, you need to use the file &amp;quot;merged.hex&amp;quot; (&lt;span&gt;/.../hello_world/build_nrf9160dk_nrf9160ns/zephyr/merged.hex). This is because any application to run on the non-secure board needs&amp;nbsp;have the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/spm/README.html"&gt;Secure Partition Manager sample&lt;/a&gt;&amp;nbsp;included as a child image, and merged.hex is then the resulting image.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;When building for the secure board, &amp;quot;zephyr.hex&amp;quot; is the full application image. I just tested it on my DK and it worked.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]secure or non secure gives anyway the same result.[/quote]
&lt;p&gt;&amp;nbsp;This is strange since &amp;quot;zephyr.hex&amp;quot; is the correct file to use when building for the secure board and when I tested it just now, it worked and printed&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.4.99-ncs1  ***
Hello World! nrf9160dk_nrf9160&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you walk me through the steps you took when building for the secure board and flashing the file to the device?&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></channel></rss>