<?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>Writing some parameters to flash using nrfjprog.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77641/writing-some-parameters-to-flash-using-nrfjprog</link><description>Hi all, 
 I am developing a BLE device prototype. There will be multiple such devices. How can I write the UUIDs to flash while flashing the hex file. Or how can I get the address of the location where to write UUID? 
 Suppose I am using static uint8_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Jul 2021 14:07:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77641/writing-some-parameters-to-flash-using-nrfjprog" /><item><title>RE: Writing some parameters to flash using nrfjprog.</title><link>https://devzone.nordicsemi.com/thread/320740?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 14:07:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d8bc6ec-88c2-485a-bf4d-087d2e75ee69</guid><dc:creator>yikestone</dc:creator><description>&lt;p&gt;Thanks a lot Hung for this pointer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing some parameters to flash using nrfjprog.</title><link>https://devzone.nordicsemi.com/thread/320732?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 13:58:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38c97213-ac13-4b76-998b-6411aa5e4859</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Yike,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If you want you can print out in the log the value of the UUID pointer so you know where it&amp;#39;s located in the flash. Or you can set a breakpoint and check the value of the UUID pointer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But if you modify the application code, or if you use different compiler, the location of the variable/array may change. So it&amp;#39;s better to set the array to a specified location that you choose.&amp;nbsp;&lt;br /&gt;To do that you can use the __attribute__ keyword. Please refer to how we configure the&amp;nbsp;m_uicr_bootloader_start_address variable to the location&amp;nbsp;0x10001014 in nrf_bootloader_info.c in the bootloader example, or the&amp;nbsp;m_dfu_settings_buffer array in nrf_dfu_settings.c to address&amp;nbsp;0x0007F000.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>