<?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 generate nRF52840 dongle hex file with using external J-Link to program and run directly?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115691/how-to-generate-nrf52840-dongle-hex-file-with-using-external-j-link-to-program-and-run-directly</link><description>NCS v2.7.0 
 nRF52840 dongle 
 I want to program the nRF52840 dongle with external J-Link, and I can connect to nRF52840 dongle with SWD now. Using &amp;quot;nRF52840 Dongle nRF52840&amp;quot; configuration to generate the .hex file, the address start from 0x1000. 
 How</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Oct 2024 19:16:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115691/how-to-generate-nrf52840-dongle-hex-file-with-using-external-j-link-to-program-and-run-directly" /><item><title>RE: How to generate nRF52840 dongle hex file with using external J-Link to program and run directly?</title><link>https://devzone.nordicsemi.com/thread/507217?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2024 19:16:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1203e881-84fd-43a9-bb7f-dc8057e1bfbf</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]How to change the .hex file start from address 0x0000 without using bootloader(MBR)?[/quote]
&lt;p&gt;&lt;span&gt;You can add the configurations&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;span dir="ltr"&gt;CONFIG_FLASH_LOAD_OFFSET&lt;/span&gt;&lt;/span&gt;&lt;span&gt;=0 or&amp;nbsp;&lt;/span&gt;&lt;span&gt;&lt;span dir="ltr"&gt;CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n in the prj.conf simply.&amp;nbsp;Then you should see that the generated application image will no longer have the 0x1000 offset, and you should be able to program it with an external programmer, and it should run as you&amp;#39;d expect.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards,&lt;br /&gt;Amanda H.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>