<?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>How to change the entrypoint  by binary file data in the C program</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26302/how-to-change-the-entrypoint-by-binary-file-data-in-the-c-program</link><description>Hello. 
 There is an executable file built by setting the address of the entry point (RO_Base) to 0x00000000 with Keil&amp;#39;s linker setting. 
 I converted this executable file into plain binary format data using &amp;quot;fromelf - bin&amp;quot; command. 
 This binary data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Oct 2017 12:46:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26302/how-to-change-the-entrypoint-by-binary-file-data-in-the-c-program" /><item><title>RE: How to change the entrypoint  by binary file data in the C program</title><link>https://devzone.nordicsemi.com/thread/103527?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2017 12:46:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fbf92da-5ec6-4605-8be5-a4db5eb2cea8</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I do not really understand why you need to rewrite the binary data when you have provided the solution yourself, i.e. build and link the code with 0x00010000 as the flash start address. Could you explain why you want to modify the binary and not just re-link the code with the correct entry point?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>