<?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>nrf9160 : Writing to flash at a specified location using nrfjprog command line utility</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68586/nrf9160-writing-to-flash-at-a-specified-location-using-nrfjprog-command-line-utility</link><description>Hi, 
 We have a requirement where we need to store some application parameters (Eg. APN name ) in the nrf9160 flash. This parameters will be storing during production time by using the nrfjprog command line utility. 
 Our requirement is we need to write</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Nov 2020 13:31:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68586/nrf9160-writing-to-flash-at-a-specified-location-using-nrfjprog-command-line-utility" /><item><title>RE: nrf9160 : Writing to flash at a specified location using nrfjprog command line utility</title><link>https://devzone.nordicsemi.com/thread/281117?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 13:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaa0c297-cf5a-42fb-b008-39410594d87d</guid><dc:creator>Ivan Herrera</dc:creator><description>&lt;p&gt;Correct. The programmer will only write in that location and leave the other flash untouched. It does not erase anything unless you specifically tell it to do so.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 : Writing to flash at a specified location using nrfjprog command line utility</title><link>https://devzone.nordicsemi.com/thread/281112?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 13:19:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9737fc32-9652-4a73-b670-323d320fde2d</guid><dc:creator>Aswin P V</dc:creator><description>&lt;p&gt;oh okay. The program command will only write in those location? Does it erase the other portion of flash?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 : Writing to flash at a specified location using nrfjprog command line utility</title><link>https://devzone.nordicsemi.com/thread/281062?ContentTypeID=1</link><pubDate>Fri, 20 Nov 2020 10:04:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bb428a3-42cf-4cd0-a538-11263adf58d1</guid><dc:creator>Ivan Herrera</dc:creator><description>&lt;p&gt;An intel hex file (.hex) already contains data on the off-set (start-address) the data needs to be written to.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Intel_HEX#Format"&gt;https://en.wikipedia.org/wiki/Intel_HEX#Format&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you properly encode your hex file, you should just be able to program it using nrfjprog --program into place.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>