<?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>RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45374/rtc1_irqhandler-error</link><description>Hi all, 
 
 I am debugging a program after compiling with no errors using the SDK 15.2.0 on a windows laptop and nRF52840 board. The program was designed to save 8 bytes of data to flash every 50ms for 3 days using fstorage. There should be enough storage</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Apr 2019 12:30:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45374/rtc1_irqhandler-error" /><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/182388?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 12:30:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:550183c7-3c4f-4df1-bccf-5b023259c05b</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Perfect I&amp;#39;m glad to finally know the reason behind the issues I&amp;#39;ve been having! I will look into what is taking up flash space as current consumption is relatively important if I get time.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for all the help,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/182071?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2019 10:52:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5a73628-83bf-4a9b-b649-55478127b601</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jack&lt;/p&gt;
&lt;p&gt;This seemed very strange at first, so I conferred with my colleagues, and yes, setting the DEBUG macro did fix it. This is probably because the memory layout in what you had before, did not have these pages free for some reason. There might be a module or something that you haven&amp;#39;t seen taking up space in these pages of flash.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Seeing as releasing a product that runs with the DEBUG macro will be considerably more hungry, I suggest you go back and try to find out what exactly is taking up the space in flash in the first place, I don&amp;#39;t have any clue what it can be though. If current consumption is not an issue for you, and you just need it to work like this, it works!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/181909?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2019 19:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a1a2591-2859-46ef-87fa-caa817cc3c28</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I did everything you said to and instead of returning an error code the program ran until the desired flash region, 0x3f000 - 0x57000, was full! It even continued to run after this and I was able to confirm this with multiple tests.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screen-Shot-2019_2D00_04_2D00_12-at-10.29.36-AM.png" /&gt;&lt;/p&gt;
&lt;p&gt;Could adding debug to the pre-processor definitions have fixed the bug? Even if not thank you so much for all the help I really appreciate your time! I can change what I have marked as the answer if you think adding debug to the definitions was the solution.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/181789?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2019 08:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8309ea58-d210-42e8-9a99-bb1604de779b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jack&lt;/p&gt;
&lt;p&gt;It seems like you have been changing quite a few things within the files, and all these additional errors seems to be due to the changes made in the SDK files. This makes it almost impossible for us to find the error, and the project as a whole will get harder to work with. I suggest you go back to where you were. The point where you got consistent errors.&lt;/p&gt;
&lt;p&gt;After you&amp;#39;ve done this, please ensure that you&amp;#39;ve set DEBUG in the preprocessor defines like this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;right click your project in SEGGER and click Options.&lt;/li&gt;
&lt;li&gt;Make sure your configurations are set to Common.&lt;/li&gt;
&lt;li&gt;Click the Preprocessor Definitions.&lt;/li&gt;
&lt;li&gt;Enter DEBUG into the Preprocessor Definitions, and click OK until you are back to your project.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-310da9f6d5944caaafff5066f0c5c6c8/preprocessor-DEBUG.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When this is done, use the unmodified error handler to check what error code you get when encountering the original error.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/181706?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 16:40:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86af5716-e0fc-49f2-8255-9c567b09f4f1</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I have been using logging this whole time and I am pretty sure I have been in debug mode.&amp;nbsp; However, I noticed that even with the debug flag on, debug was still turned off in the app_error_weak.c file. After looking into &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/42364/how-to-turn-on-debug-flag-on-ses"&gt;this&lt;/a&gt;, it appears to be a known issue with the sdk 15.2.0 in segger, but it is only visual. Unfortunately in my case, the program would still encounter NRF_BREAKPOINT_COND. After manually moving the lines from the #ifndef DEBUG to the break point, I am still running into inconsistent failures. Unlike before, the flash initialization is no longer working as it will always hard fault, as well as the adc function will get stuck in a loop. These bugs are even stranger as I never changed anything in the ADC timer, or anything other than the saving period in the fstorage timeout handler. Is it possible that there could be an issue with the hardware? I apologize for the off-topic errors, but I was unable to debug these issues and do not have any other resources to help....I hope these errors are all related.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, if I did in fact have logging and debug set up properly before, I would consistently get the 2006 error.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again for your time,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/180936?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 08:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acef1aa7-c9aa-43bf-9b3d-39f8d8d35ecf</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jack&lt;/p&gt;
&lt;p&gt;I have consulted with one of the gurus here, and first, just stow away the ACL idea for now. Next, could you add DEBUG in preprocessor defines and enable logging. This way you should be able to find out which APP_ERROR_CHECK(err_code) is returning and what exact err_code it is. I&amp;#39;m not so sure it describes the flash page and error, it could be a multitude of things.&lt;/p&gt;
&lt;p&gt;You should probably increase the saving frequency when testing by quite a bit, so you won&amp;#39;t have to wait for hours each time.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/180839?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 15:48:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9cafea9-5786-408a-b824-ad9c03761391</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I tried allowing read an write access to the flash memory using the ACL based off of the example in the link you shared. However, I included the below code after erasing the region I wanted to write to and the program would hard fault when&amp;nbsp; getting to the ACL part of the program. There was never a call stack or error code and I needed to reset the board in order to continue debugging. What am I doing wrong?&lt;/p&gt;
&lt;p&gt;NRF_ACL-&amp;gt;ACL[0].ADDR = 0x3f000;&lt;br /&gt; NRF_ACL-&amp;gt;ACL[0].SIZE = 24;&lt;br /&gt; NRF_ACL-&amp;gt;ACL[0].PERM = ACL_ACL_PERM_WRITE_Enable &amp;lt;&amp;lt; ACL_ACL_PERM_WRITE_Pos;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/180568?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 19:33:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb3e25c0-650b-42f4-978b-63580cf645dd</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Yes the test ran for about 12 hours again. The segger IDE reported that there are 816.9 KB of flash free and 225.8 KB of RAM. The nRF Conect programmer read that there are 1024 KB of flash in pages of 4KB. I previously did not know the pages were 4KB and each test was only able to write this amount which suggests that it is an issue with writing to a new page. However, I ran another test in which I started saving to the address 0x46b00 so that the program would have to save on the next page, and it did so flawlessly. I also used nrf_end_address_get() which returned 1048567 (or 00100000 in Hex), proving plenty of room has been allocated for use in the flash_save_init().&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the possibility of a timer, you are right, when I increased the saving frequency, the test only took around 2 hours.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am still working on using ACL and will leave a comment when I get results from that, however I figured you may be able to get further insight with this info in the meantime.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;Jack&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/180440?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 08:28:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5da243db-0f37-4635-950c-a1300894272d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jack&lt;/p&gt;
&lt;p&gt;Have you looked at the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52840.ps%2Facl.html&amp;amp;cp=2_0_0_5_2"&gt;infocenter page &lt;/a&gt;for ACL, it should describe most ACL functions. Also &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/25926/flash-protection-nrf52840-sdk-14-0-0/102119#102119"&gt;this case&lt;/a&gt; has an example of implementing the ACL.&lt;/p&gt;
&lt;p&gt;Page 20 makes more sense to me as well when thinking about how long the application is running before crashing. Did it run for 12 or so hours this time as well? Do you know how much of the flash your application and SoftDevice uses, this is also a factor, as you won&amp;#39;t have the entire 1MB free to write on. You can check this by reading your device with the programmer app in nRFConnect for desktop.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also this could be a timer issue as you say, but that would cause it to crash at the same exact time after start every time, which I&amp;#39;m not sure it does.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/180376?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 17:08:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43676b4e-be53-480a-ad89-757769cc6810</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I looked into ACL as you suggested but could not find information on the correct syntax or placement of any text to configure the ACL. Do you know how to do this by chance? I agree that the errors described to be generated from an ACL issue are similar to the errors I&amp;#39;ve been observing and would like to test to see if this is the source of the error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was able to recreate the crash again and recorded the following details:&lt;/p&gt;
&lt;p&gt;last programmed flash address: 0x46B08&lt;/p&gt;
&lt;p&gt;Error code: 0x00002006 (correction: i believe this means error 6 on page 20, no page 2)&lt;/p&gt;
&lt;p&gt;Last Call Stack: RTC1_IRQHandler();&lt;/p&gt;
&lt;p&gt;I am a little confused by these results. First, the last programmed flash address was 0x46B08 instead of&amp;nbsp;&lt;span&gt;0x42fc4 which was recorded in the last test. I also looked into the flash storage initialization and the flash is erased from 0x3f000 to 0x57000 when initialized which should leave plenty of room for the data I am trying to store. The error code also suggests that the error occurred on page 20, which would mean that the program didn&amp;#39;t have any issues switching fstorage pages.&amp;nbsp;Is there a chance the error is related to the timer(s) and not fstorage?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you, I really appreciate the time you&amp;#39;ve put into my issue,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jack&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/180189?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 08:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:239b1f74-f5f3-49e9-847a-254e7ae3b83b</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jack&lt;/p&gt;
&lt;p&gt;A shot in the dark, but can you check out the Access Control Lists peripheral (Chapter 6.3 - ACL, in the nRF52840 product specification) to see that you have permission to do the actions you are doing?&lt;/p&gt;
&lt;p&gt;If this doesn&amp;#39;t help, or you&amp;#39;ve already tried it, I think recreating the error and getting the crash details would be helpful.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/180190?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 08:13:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ac48146-fc23-48c8-bc2d-6a5d7b19fe9e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jack&lt;/p&gt;
&lt;p&gt;A shot in the dark, but can you check out the Access Control Lists peripheral (Chapter 6.3 - ACL, in the nRF52840 product specification) to see that you have permission to do the actions you are doing?&lt;/p&gt;
&lt;p&gt;If this doesn&amp;#39;t help, or you&amp;#39;ve already tried it, I think recreating the error and getting the crash details would be helpful.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/180056?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 14:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5f47995-8ec9-4565-a4e8-3e2e743321fa</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Yes, the three times I ran the test I observed the same error and believe that the 2 means its on that page but am not 100% sure. I&amp;#39;m not sure at what address the 3rd page starts at, but the error occurred at the location 0x42fc4 and took&amp;nbsp;&lt;span&gt;19130 seconds&lt;/span&gt;&amp;nbsp; in the second 2 tests (the first one didn&amp;#39;t probably due to the different saving frequency). Additionally I ran the test again, this time starting the memory address at 0x42fc4 and the test was able to run for a while but also eventually crashed. Unfortunately I wasn&amp;#39;t there when this test encountered the error and didn&amp;#39;t record the last location the flash was written to or how long it ran for. I am currently running another test to reproduce the error in a hope to give you more detail. If you think it would be helpful to recreate the error with the flash location starting at 0x42fc4 I will run that test as well and be sure to record the crash details this time!&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/179901?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2019 08:17:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:702a5304-9959-48af-8f01-033893469729</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jack&lt;/p&gt;
&lt;p&gt;Is the error always the same (Storage full on flash page 2)? Are you able to write anything at all on flash page 2, or is this when occuring when flash page 2 is full, and expected to go to page 3? Or is it just within page 2? There might be an issue when the application is&amp;nbsp;going to the next flash&amp;nbsp;page. Are you able to provide a log when this crash happens?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/179780?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 13:14:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43321b74-e465-4368-b763-aad6a193d9d2</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simon,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am always sure to either erase the device or change the start address for the memory write to an empty location. I have also forgotten to do this in the past and seen this behavior and am fairly certain this is a different error. I would also check in the memory 1 view to ensure the values were cleared. However, I will look into the product specifications to ensure I have been erasing the board properly. Could there be another cause for the error?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/179657?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2019 06:55:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:489320fd-e471-4e73-90d4-17ebee7cfc11</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jack&lt;/p&gt;
&lt;p&gt;Can you confirm that all the pages you are planning on writing to are erased prior to running the application. You won&amp;#39;t be able to run flash write on flash pages that aren&amp;#39;t empty. Please refer to the nRF52840 product specification on how to do this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/179499?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 12:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73bead26-18ea-459a-b684-375566b17881</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Yes, I am writing 32 bit every 5 seconds. However, the value being stored is just a counter, which crashes when it hits&amp;nbsp;4ABA. 4ABA is only 19130 seconds which only takes 15 bit to store, not 32, even though 32 bits are allocated in the memory for every instance. I can see the data stored correctly in the memory 1 view and unfortunately I don&amp;#39;t think the fds_gc function will work because I am using the fstorage library instead of FDS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/179388?ContentTypeID=1</link><pubDate>Mon, 01 Apr 2019 06:55:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f11d6af0-d7a6-43bd-9057-244b9bea1bbc</guid><dc:creator>Simonr</dc:creator><description>[quote user="jackiemoon98"]A single 32 bit variable is being stored but is only about 8 bit when the program crashes.[/quote]
&lt;p&gt;&amp;nbsp;What does this mean? Are you writing 32 bit every 5 seconds, or is this something else?&lt;/p&gt;
&lt;p&gt;Are you able to see the data stored when the application crashes, to confirm that the data is what you are expecting? You could try running the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgroup__fds.html&amp;amp;cp=4_0_1_6_11_24_15&amp;amp;anchor=ga90285f376c435c64b352023e725b7ebb"&gt;fds_gc&lt;/a&gt;&amp;nbsp;function to collect and delete any garbage data if you have any unexpected data in your flash storage.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/179257?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 13:53:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1e813f4-d617-407a-bc34-e2dc6810dc10</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Thanks for the helpful link! APP_TIMER_CONFIG_RTC_FREQUENCY is set to 31, I believe this sets the prescaler. The past two runs have both stopped at this &amp;quot;BA4A&amp;quot; value which is the value of the counter stored in flash. I believe in decimal this is about 13 hours because the hex value is stored different from its real value 4ABA, however I ran the test overnight and didn&amp;#39;t time it myself. Data is now being stored every 5 seconds and this was set by changing the timeout_ticks parameter passed in app_timer_start(). A single 32 bit variable is being stored but is only about 8 bit when the program crashes. Also, my interpretation of the error code was that there was an error 6 on page 2, error 6 being &amp;quot;storage full&amp;quot; based on&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgroup__sdk__error.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.0.0%2Fgroup__sdk__error.html&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/179123?ContentTypeID=1</link><pubDate>Fri, 29 Mar 2019 07:28:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee932e08-ac96-4015-8048-7f1909bbbb5c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jack&lt;/p&gt;
&lt;p&gt;What have you set your prescaler as? &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Frtc.html&amp;amp;cp=2_1_0_24_1&amp;amp;anchor=concept_iwc_1mj_sr"&gt;This link&lt;/a&gt;&amp;nbsp;explains how the prescaler works, as it might be that which overflows. If not. Does it still take about 90 minutes before your application stops? How often are you storing data, and how much are you storing each time now? What value is &amp;quot;BA 4A&amp;quot;? Also I am not able to find any errors with the code 0x00002006.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/178945?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 13:28:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73834b8f-936e-4cd8-965e-960d361319b7</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;While you were right about my math and the error code being a mistake, I ran the test again and the same error occurred, however I got the correct error code this time: 0x00002006. Also, it was also noted that the timer stopped at BA 4A and stored this value in the flash before it stopped. Once again the call stack shows the latest function call before the app error handler was the RTC1_IRQHandler(). What else could be causing this error?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/178683?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 13:22:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3170816d-d07a-4ef1-b33e-bd540757a449</guid><dc:creator>jackiemoon98</dc:creator><description>&lt;p&gt;Hi Simonr,&lt;/p&gt;
&lt;p&gt;Wow do I feel dumb for that post! You are absolutely right about my math, thank you for the clarification. Also the error code I saw I think was actually a flash location, I was just confused.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Jack&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC1_IRQHandler(); Error</title><link>https://devzone.nordicsemi.com/thread/178671?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 13:02:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50283ae7-fed2-4b05-847a-53e35296794f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Jack&lt;/p&gt;
&lt;p&gt;What do you mean with &amp;quot;an error value of what looks to be&amp;nbsp;&lt;span&gt;0x00026FC4&amp;quot;? This isn&amp;#39;t an error present in our SDK as far as I know. Are you getting this error on your laptop? Also, have you done your math correctly here? 8 bytes every 50ms = 160 byte every second. Which means you would fill up the 1 MB Flash in approximately 105 minutes. Do you agree on this?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>