<?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>the file specified is not a valid hex file, has data outside valid areas</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42333/the-file-specified-is-not-a-valid-hex-file-has-data-outside-valid-areas</link><description>dear i am developing dfu function and face a problem as follow: 
 rfjprog.exe --program whole.hex --verify -f NRF52 Parsing hex file. ERROR: The file specified is not a valid hex file, has data outside valid areas ERROR: or does not have data in valid</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Jan 2019 13:46:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42333/the-file-specified-is-not-a-valid-hex-file-has-data-outside-valid-areas" /><item><title>RE: the file specified is not a valid hex file, has data outside valid areas</title><link>https://devzone.nordicsemi.com/thread/164934?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 13:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a73896bd-8356-4b5d-82f1-dd574aeedb82</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For some reason you have a bootloader start address of 0x80000 there, but the nRF52832 only has 0x80000 bytes of flash and so the bootloader ends up outside of the flash region. Default bootloader placement for nRF52832 is 0x78000 to 0x7E000 (see &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v14-2-0/lib_bootloader?272#lib_bootloader_memory"&gt;Memory Layout&lt;/a&gt;.)&lt;/p&gt;
&lt;p&gt;The main.c file that you list is used for several projects. What exact project and what toolchain are you using?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>