<?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>Segger Embedded Studio outputs different then expected .hex file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27414/segger-embedded-studio-outputs-different-then-expected-hex-file</link><description>I&amp;#39;m trying to port Thingy52 firmware project from Keil to SES. 
 I followed this guide Segger Embedded Studio - A Cross Platform IDE 
 I manage to build without any errors but programming the device doesn&amp;#39;t run the project. 
 I compared SES output</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Nov 2017 11:53:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27414/segger-embedded-studio-outputs-different-then-expected-hex-file" /><item><title>RE: Segger Embedded Studio outputs different then expected .hex file</title><link>https://devzone.nordicsemi.com/thread/108278?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 11:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:add13123-16fe-439b-b9bb-3d1d7597be14</guid><dc:creator>Eyar Gilad</dc:creator><description>&lt;p&gt;I verified the start addresses with those in Keil and in ble_app_thingy_gcc_nrf52.ld file located in thingy_sdk_v2.1.0\project\pca20020_s132\armgcc , They match.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio outputs different then expected .hex file</title><link>https://devzone.nordicsemi.com/thread/108279?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 07:35:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7caec815-aaa8-4aae-bc0b-ae5298daf463</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;The start address looks wrong and there might be some other reasons. When I quickly looked on the blog post about how to set-up the project in SES it&amp;#39;s fairly long (and also mentions how to set ROM and RAM start addresses). Are you sure that you haven&amp;#39;t done any mistake and that all is aligned with Soft Device version you use?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio outputs different then expected .hex file</title><link>https://devzone.nordicsemi.com/thread/108277?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2017 06:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eca49dc8-8b84-4269-950d-1842f81f449a</guid><dc:creator>Eyar Gilad</dc:creator><description>&lt;p&gt;Thanks for the response.
I get what you say and indeed both the Keil .hex output and the Cygwin make output are different and both of them program and run fine.
SES output however does program but does not run, at least not the way it should.
flash_placement.xml and MemoryMap.xml are my best guesses to be the source of the problem since everything compiles fine.
If you think I should look else where please tell me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio outputs different then expected .hex file</title><link>https://devzone.nordicsemi.com/thread/108276?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 16:12:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da6e54a4-6532-42e1-8439-f549eae60b78</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Btw. note that this is about compilation chain and not IDE, so e.g. Eclipse can use several build-chains and thus generate different binaries depending on how you install and configure it. Other IDEs like Keil MDK or IAR Workbench are bundles of both graphical interface and compilation/debugging tool-chain.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Segger Embedded Studio outputs different then expected .hex file</title><link>https://devzone.nordicsemi.com/thread/108275?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 16:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a79f5aa1-9c1a-46a6-8eb0-0c45d60d074d</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Welcome to the world of ANSI C compilers and linkers;) Yes, different build chain means different output, this is expected. Nordic uses one toolchain to provide reference binaries (usually HEX files) and it used to be IAR, not sure if it is still true with nRF5 SDK v14.x and Thingy. But it should be written in release notes. This doesn&amp;#39;t mean that any of these HEX files won&amp;#39;t work! If you have correct source code and correctly configured compilation chain they should be both fine. It&amp;#39;s just different level of optimizations and other tricks which make binaries different, some tools are more expensive and promise smaller code size, RAM footprint or faster execution, some are simply open source and free but they can be pretty competitive nowadays. It&amp;#39;s up to you what are your priorities and budget.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>