<?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>Write byte</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3619/write-byte</link><description>Hi, 
 How can i write one byte to specific memory address with sd_flash_write() 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Mar 2016 12:18:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3619/write-byte" /><item><title>RE: Write byte</title><link>https://devzone.nordicsemi.com/thread/13113?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 12:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abd19eb3-5c95-42ca-8635-5d597acc45df</guid><dc:creator>svecoldr</dc:creator><description>&lt;p&gt;This helped me in understanding how flash writing works: &lt;a href="https://devzone.nordicsemi.com/question/3025/able-to-write-only-one-time-in-nvmc/?answer=3027#post-id-3027"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write byte</title><link>https://devzone.nordicsemi.com/thread/13112?ContentTypeID=1</link><pubDate>Wed, 22 Oct 2014 12:22:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f96793d-1827-41a8-a325-db4c28eeb4cc</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The byte you want to write is 0xBB. To write to a specific byte use: 0xFFFFFFBB, 0xFFFFBBFF, 0xFFBBFFFF, 0xBBFFFFFF. You can write to each byte once(if you don&amp;#39;t exploit it), between each flash page erase.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write byte</title><link>https://devzone.nordicsemi.com/thread/13111?ContentTypeID=1</link><pubDate>Wed, 22 Oct 2014 12:14:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4b79263-10c6-4a59-85da-11648f331701</guid><dc:creator>max</dc:creator><description>&lt;p&gt;This is a word Write function. I need a byte write&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write byte</title><link>https://devzone.nordicsemi.com/thread/13110?ContentTypeID=1</link><pubDate>Tue, 23 Sep 2014 11:40:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:238f2b5d-e2d9-402f-a81f-b0fb17ebdf8b</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;pre&gt;&lt;code&gt;/**@brief Flash Write
 *
 * Commands to write a buffer to flash
 *
 * This call initiates the flash access command, and its completion will be communicated to the
 * application with exactly one of the following events:
 *      - NRF_EVT_FLASH_OPERATION_SUCCESS - The command was successfully completed.
 *      - NRF_EVT_FLASH_OPERATION_ERROR   - The command could not be started.
 *
 * @note
 *      - This call takes control over the radio and the CPU during flash erase and write to make sure that
 *        they will not interfere with the flash access. This means that all interrupts will be blocked
 *        for a predictable time (depending on the NVMC specification in nRF51 Series Reference Manual
 *        and the command parameters).
 *
 *
 * @param[in]  p_dst Pointer to start of flash location to be written.
 * @param[in]  p_src Pointer to buffer with data to be written
 * @param[in]  size  Number of 32-bit words to write. Maximum size is 256 32bit words.
 *
 * @retval ::NRF_ERROR_INVALID_ADDR   Tried to write to a non existing flash address, or p_dst or p_src was unaligned.
 * @retval ::NRF_ERROR_BUSY           The previous command has not yet completed.
 * @retval ::NRF_ERROR_INVALID_LENGTH Size was 0, or more than 256 words.
 * @retval ::NRF_ERROR_FORBIDDEN      Tried to write to or read from protected location.
 * @retval ::NRF_SUCCESS              The command was accepted.
 */
SVCALL(SD_FLASH_WRITE, uint32_t, sd_flash_write(uint32_t * const p_dst, uint32_t const * const p_src, uint32_t size));
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>