<?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 make and flash hex files?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68101/how-to-make-and-flash-hex-files</link><description>I used armgcc and built out nrf52810_xxaa.hex (file size 60656) in 
 nRF5_SDK_17.0.0_9d13099/examples/ble_peripheral/ble_app_beacon/pca10040e/s112/armgcc/_build 
 
 I used SES download it into board successfully, no error prompt. but the board does not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Nov 2020 15:01:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68101/how-to-make-and-flash-hex-files" /><item><title>RE: how to make and flash hex files?</title><link>https://devzone.nordicsemi.com/thread/279061?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2020 15:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f46dc4a-1786-4d1c-a2b7-98df75ed2fd2</guid><dc:creator>srony</dc:creator><description>&lt;p&gt;Thanks Hung.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just use SES download an intel hex file.&lt;/p&gt;
&lt;p&gt;Now it is clear.&amp;nbsp;I believe my application doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;Just now I installed&amp;nbsp;nRF-Command-Line-Tools on windows. It works well.&lt;/p&gt;
&lt;p&gt;Thanks for your explanations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make and flash hex files?</title><link>https://devzone.nordicsemi.com/thread/279034?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2020 14:05:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:937cb2e7-a323-4b61-9ab2-b27c9ec4aa37</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;Could you let me know what exactly you did on &amp;quot;&lt;span&gt;I used SES download it into board successfully, no error prompt. but the board does not work.&amp;quot; ? How did you import it to SES ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For flashing the application I would suggest to go through the following:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- First try to do an erase all: nrfjprog --eraseall&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Then try to flash an application that doesn&amp;#39;t require softdevice, for example blinky:&amp;nbsp;\examples\peripheral\blinky\pca10040e\blank\armgcc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Then flash the softdevice .hex file. You can find the softdevice .hex files in&amp;nbsp;\components\softdevice&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- After that flash the application that require softdevice, for example the one you built in&amp;nbsp;examples/ble_peripheral/ble_app_beacon/pca10040e/s112/armgcc/_build. Use --sectorerase, don&amp;#39;t use --chiperase.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The hex file we provide in&amp;nbsp;&lt;span&gt;/examples/ble_peripheral/ble_app_beacon/hex is a merged hex file. You can merge softdevice hex file to application hex file if you want, just use mergehex.exe. It&amp;#39;s provided with the nrf command line tools .&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to make and flash hex files?</title><link>https://devzone.nordicsemi.com/thread/278997?ContentTypeID=1</link><pubDate>Mon, 09 Nov 2020 12:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de7e5efc-eca0-47b6-887e-d501fa812357</guid><dc:creator>srony</dc:creator><description>&lt;p&gt;I learned from a related case, below command used to flash application.&lt;/p&gt;
&lt;p&gt;nrfjprog -f nrf52 --program your_application.hex --sectorerase --reset&lt;/p&gt;
&lt;p&gt;it is for linux IDE, right? what about SES?&lt;/p&gt;
&lt;p&gt;besides I still need to know how to flash softdevice only? and how to generate all-in-one hex file and flash it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;/p&gt;
&lt;p&gt;srony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>