<?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 use Checkpoint</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73067/how-to-use-checkpoint</link><description>I want to develop a software that can restore the program after a power failure. I mean, if the device restart, I don&amp;#39;t want it to execute from the beginning of the main function. What should I do to store the state of the program and how can I restore</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Mar 2021 11:04:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73067/how-to-use-checkpoint" /><item><title>RE: How to use Checkpoint</title><link>https://devzone.nordicsemi.com/thread/301643?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 11:04:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f785a49-c662-40aa-8879-86b12a4b3304</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;In the nRF5 SDK there is a flash data storage module that can be used to store data:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_fds.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_fds.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This can be used to store&amp;nbsp;away some state of the program, however you should be somewhat careful not to use it very frequently and not to store too much data, you can wear out the flash if you for instance write to the same memory address &amp;gt;10000 times.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use Checkpoint</title><link>https://devzone.nordicsemi.com/thread/301558?ContentTypeID=1</link><pubDate>Wed, 24 Mar 2021 00:33:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99bd8d8a-c43d-4c51-bac4-8339910181f5</guid><dc:creator>Hiel</dc:creator><description>&lt;p&gt;Thank you for your comment. I wonder if you have any suggestions that I can use to achieve, for example, like Windows, when the power lost by accident, next time when I turn on the computer, the document opened in Word is still at the state before the power failure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use Checkpoint</title><link>https://devzone.nordicsemi.com/thread/301229?ContentTypeID=1</link><pubDate>Mon, 22 Mar 2021 13:53:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78c4473e-93a0-4469-a20e-164315fd075e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I am not aware of any such way, I think it would be&amp;nbsp;extremely&amp;nbsp;complicated (maybe impossible, considering that states of peripherals may not be the same).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>