<?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>SES Build and Run</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41890/ses-build-and-run</link><description>Hi all, 
 Not being a developer, but having a fair general understanding in IT and computing science, if I wanted to have a first approach but clear idea of all the processes being executed by (for instance the Segger SES Studio IDE) when it runs a &amp;quot;Build</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Jan 2019 10:07:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41890/ses-build-and-run" /><item><title>RE: SES Build and Run</title><link>https://devzone.nordicsemi.com/thread/163692?ContentTypeID=1</link><pubDate>Thu, 03 Jan 2019 10:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:505b42e6-5116-4792-9617-38679354d20c</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;5/I) Ok&lt;/p&gt;
&lt;p&gt;6/&lt;/p&gt;
&lt;p&gt;.elf: It a symbol file for debugging, which is created as a result of the build.&lt;/p&gt;
&lt;p&gt;.ind: Contains a list of the object files that the compiler have produced.&lt;/p&gt;
&lt;p&gt;.ld: Is a linkerscript (for gcc), it specifies things such as RAM and Flash size, which sections are where and so on, it is a input file for the linker.&lt;/p&gt;
&lt;p&gt;.map: This file tells where all sections (code and data) is placed in RAM and ROM after the build.&lt;/p&gt;
&lt;p&gt;7/ ) That tutorial is based on a old SDK, where Segger was not supported, you can use Segger for SDK 15 and so on.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Build and Run</title><link>https://devzone.nordicsemi.com/thread/163451?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 13:39:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03d6077c-0218-4629-b8de-3303a0786de5</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;Hi Andreas, and happy new year too.&lt;/p&gt;
&lt;p&gt;5/I was referring to all the folders showing&amp;nbsp;in the SES Project Explorer&lt;span&gt;,&amp;nbsp;&amp;nbsp;&lt;/span&gt;excluding the folders named Application and Output Files. But forget it,&amp;nbsp;because I understand now what are they for.&lt;/p&gt;
&lt;p&gt;6/ You said &amp;quot;&lt;span&gt;The rest of the files in the folder is also a result of the build&amp;quot; but,&amp;nbsp;may I have an idea of what are those files used for? (.elf, .ind,&amp;nbsp; .id, and .map).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;7/ This&amp;nbsp;is the Getting started page I am looking at:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks again for your clarifying answer.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Build and Run</title><link>https://devzone.nordicsemi.com/thread/163346?ContentTypeID=1</link><pubDate>Wed, 02 Jan 2019 05:16:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98d6b176-129b-490c-89d6-01ffe04871d7</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi again and happy new year.&lt;/p&gt;
&lt;p&gt;1)&lt;br /&gt;Segger Embedded Studio compiles the Application source code into a .hex file. The SoftDevice or/and the MBR are already compiled by us and is found in the SDK you download.&lt;br /&gt;&lt;br /&gt;2)&lt;br /&gt;No, not correct. All the files added in the different folders are used to compile the Application, the name of the folders could have been anything.&lt;br /&gt;&lt;br /&gt;3)&lt;br /&gt;No, not correct. The SoftDevice comes precompiled, we do not share this code. The folder named nRF_SoftDevice contains the SoftDevice handler, which is used by the precompiled SoftDevice.&lt;br /&gt;&lt;br /&gt;4)&lt;br /&gt;The MBR is already precompiled, it can either be compiled together with the SoftDevice code, or as a standalone .hex file. You can find it in the nRF5_SDK_15.2.0\components\softdevice\mbr folder.&lt;br /&gt;&lt;br /&gt;5)&lt;br /&gt;Which folders are you talking about?&lt;br /&gt;&lt;br /&gt;6)&lt;br /&gt;Correct, the .hex file is created after you have compiled. But, it only has the Application, not the SoftDevice or MBR. When you wish to flash your device in Segger Embedded Studio, Segger will flash the .hex file created by the project you work in. But you can &amp;quot;load&amp;quot; additional files to be flashed in the Options menu, and by default all our SDK projects which require a SoftDevice have this option already added to the project. This is how Segger is able to program both the Application and the SoftDevice at the same time.&lt;br /&gt;The rest of the files in the folder is also a result of the build.&lt;br /&gt;&lt;br /&gt;7)&lt;br /&gt;You can of course use SES IDE, could you provide a link to the Getting started page you are looking at?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Build and Run</title><link>https://devzone.nordicsemi.com/thread/163252?ContentTypeID=1</link><pubDate>Sat, 29 Dec 2018 17:05:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39d99faa-7acf-4728-b98a-b0e74765bd51</guid><dc:creator>p143</dc:creator><description>&lt;p&gt;Hi Andreas.&lt;/p&gt;
&lt;p&gt;I &amp;#39;ve been last weeks&amp;nbsp;reviewing Nordic Infocenter and Documentation Library,&amp;nbsp; Segger Embedded Studio for ARM, Wikipedia getting familiarised with your developing tools and even bought C for Dummies book and I will hopefully keep reading these sources till I have a clear idea on&amp;nbsp;all the functionalities nRF52 SoCs have and how to customize them at my wish.&lt;/p&gt;
&lt;p&gt;But meanwhile, I would like to crosscheck if some of the very basic ideas I am building up in my head are on the good track, and I hope you won&amp;#39;t&amp;nbsp;mind to help me.&lt;/p&gt;
&lt;p&gt;1/ First of all, I understand that when you program one example using BLE from&amp;nbsp;your SDK and an SES IDE, this&amp;nbsp;program takes care of the building, linking and loading on the target device not only the Application firmware, but also the SoftDevice and the MBR. Is that right?&lt;/p&gt;
&lt;p&gt;2/ In this understanding, when I look at the SES Suite docked window on the left side of the screen,&amp;nbsp;the Project Explorer shows up to 24 folders in case you are trying&amp;nbsp;to load the Central&amp;amp;Peripheral&amp;nbsp; ble_app_interactive_s140_pca10056 example. May I understand that the folder named &amp;quot;Application&amp;quot; is &amp;quot;the only&amp;quot; containing the different C&amp;nbsp;source files from which the Application firmware&amp;nbsp;hex file is going to be built after issuing a Built and Run command?&lt;/p&gt;
&lt;p&gt;3/ My&lt;span&gt;&amp;nbsp;I understand that the folder named&amp;quot;nRF Softdevice&amp;quot; is &amp;quot;the only&amp;quot; containing the different C&amp;nbsp;source files from which the SoftDevicen firmware&amp;nbsp;hex file is going to be built after issuing a Built and Run command?&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4/&amp;nbsp;Wich folder is then taking care of building the MBR hex file to be programmed on the target device?&lt;/p&gt;
&lt;p&gt;5/ My I understand that the rest of the folders (except the one&amp;nbsp;named &amp;quot;Output&amp;quot;, do not directly contribute to build the Application, Softdevice nor MBR final firmware hex files, but only providing data to produce the source files contained in the &amp;quot;Application&amp;quot; and &amp;quot;nRF Softdevice&amp;quot; already referred folders?&lt;/p&gt;
&lt;p&gt;6/ My I understand that the hex file&amp;nbsp;ble_app_interactive_s140_pca10056.hex you find inside the &amp;quot;Output Files&amp;quot; folder appearing after you issue the Build and Run&amp;nbsp; SES command, is the one containing&amp;nbsp;the Application, SoftDevice and MBR firmware files to be programmed in the target device? What are then the rest of the files you find in this folder&amp;nbsp;for?&lt;/p&gt;
&lt;p&gt;7/ And finally. Later on, when I decide to program a Bootloader into the target device, may I also use an SES&amp;nbsp;IDE, or I will also be forced&amp;nbsp;to do it using a nRF52 Keil IDE, as described in your &amp;quot;Getting started with Nordic&amp;#39;s Secure DFU bootloader, a step by step guide&amp;quot; blog?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Waiting&amp;nbsp;for your answer,&lt;/p&gt;
&lt;p&gt;Thanks very much for your help, Andreas.&lt;/p&gt;
&lt;h1 class="title"&gt;&lt;/h1&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SES Build and Run</title><link>https://devzone.nordicsemi.com/thread/163041?ContentTypeID=1</link><pubDate>Thu, 27 Dec 2018 09:19:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9691831d-208b-42b4-8395-2179e8970fa9</guid><dc:creator>AndreasF</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Perhaps you can find the information you are looking for in the Segger Embedded Studio documentation? It is quite detailed, you can find it &lt;a href="https://studio.segger.com/index.htm?https://studio.segger.com/home.htm"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>