<?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>Flash FDS Error/Stopped by Vector Catch When Accessing Stored Data.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75829/flash-fds-error-stopped-by-vector-catch-when-accessing-stored-data</link><description>I&amp;#39;m working on modifying the flash fds example to write to memory then to retrieve it. I&amp;#39;ve successfully used the writeTime function to write the word &amp;quot;test&amp;quot; to a memory location and verified that the location contains the correct info. Using the getTime</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Jun 2021 07:26:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75829/flash-fds-error-stopped-by-vector-catch-when-accessing-stored-data" /><item><title>RE: Flash FDS Error/Stopped by Vector Catch When Accessing Stored Data.</title><link>https://devzone.nordicsemi.com/thread/314083?ContentTypeID=1</link><pubDate>Tue, 08 Jun 2021 07:26:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b341e13-14a6-477f-922b-dc40b9e476b5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for confirming, I just had to make sure. But I&amp;#39;m afraid can&amp;#39;t think of any other obvious explanations for why your FW behaves differently. I guess it could be some differences in the toolchain as we have confirmed that we are compiling the same source code. &lt;/p&gt;
&lt;p&gt;Could you try to download and install SES from &lt;a href="https://www.segger.com/products/development-tools/embedded-studio/editions/arm/"&gt;https://www.segger.com/products/development-tools/embedded-studio/editions/arm/&lt;/a&gt;, then see if you get the same result? I used SES v5.44 to build the hex file earlier.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash FDS Error/Stopped by Vector Catch When Accessing Stored Data.</title><link>https://devzone.nordicsemi.com/thread/313990?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 15:01:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:210b1cc6-cfbf-40a5-8839-54e366a8d857</guid><dc:creator>jake11212</dc:creator><description>&lt;p&gt;I made a mistake, the example I ran was from the nRF5 SDK 17.0.2 folder and was ran within the folder.&amp;nbsp; I was using the nRF connect SDK as well for a different project and confused the two, sorry.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash FDS Error/Stopped by Vector Catch When Accessing Stored Data.</title><link>https://devzone.nordicsemi.com/thread/313878?ContentTypeID=1</link><pubDate>Mon, 07 Jun 2021 10:11:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67d99d80-5178-4289-9caf-9140bbade887</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You mentioned the toolchain manager to install the SDK, but that&amp;#39;s only meant for the new &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF-Connect-SDK"&gt;nRF connect SDK&lt;/a&gt;. The &lt;a href="https://www.nordicsemi.com/Software-and-tools/Software/nRF5-SDK/Download#infotabs"&gt;nRF5 SDK&lt;/a&gt; (17.0.2) is distributed as a .zip file and does not require any installation.&lt;/p&gt;
&lt;p&gt;If you haven&amp;#39;t already, plase try to download and extract the nRF5 SDK 17.0.2 zip and then build the project from this folder. This will ensure that we build with the same set of source files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash FDS Error/Stopped by Vector Catch When Accessing Stored Data.</title><link>https://devzone.nordicsemi.com/thread/313756?ContentTypeID=1</link><pubDate>Fri, 04 Jun 2021 20:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7dbc113-9f8f-48aa-84d9-3903549bd7ca</guid><dc:creator>jake11212</dc:creator><description>&lt;p&gt;I ran your hex file and it works correctly when I flash it to the device.&amp;nbsp; So this probably means there is something in my SDK that is incorrect then?&amp;nbsp; How should I go about troubleshooting this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash FDS Error/Stopped by Vector Catch When Accessing Stored Data.</title><link>https://devzone.nordicsemi.com/thread/313288?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 07:49:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b950df2e-d7bd-474b-a58a-b0e43a67170e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, I didn&amp;#39;t encounter the vector catch on first boot. I had left the getTime() function enabled and I also made sure the chip was erased before I loaded the application.&lt;/p&gt;
&lt;p&gt;Attached below is the .hex file I built here. Please try programming it on your board and see if you still get the same result.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/flash_5F00_fds_5F00_blank_5F00_pca10040.hex"&gt;devzone.nordicsemi.com/.../flash_5F00_fds_5F00_blank_5F00_pca10040.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash FDS Error/Stopped by Vector Catch When Accessing Stored Data.</title><link>https://devzone.nordicsemi.com/thread/312963?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 18:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2337c41a-9015-49b5-b836-5cfb444e323c</guid><dc:creator>jake11212</dc:creator><description>&lt;p&gt;Thanks for looking into it!&amp;nbsp; So you were able to erase the device memory completely and the program ran for the first time with the getTime function enabled?&amp;nbsp; I double checked my SDK and I&amp;#39;m also running SDK 17.0.2 and installed it through nRF connect toolchain manager with nRF connect SDK v1.5.0.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I reinstalled the SDK and ran the program but I&amp;#39;m still getting the same problem where if I try to build to an erased device while getTime is enabled the cli doesn&amp;#39;t work.&amp;nbsp; I also checked the memory and nothing was written so even though getTime is called after writeTime writeTime breaks as well which I don&amp;#39;t understand.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When I add a breakpoint to debug I get the vector catch error, and I tried with a fresh unedited flash_fds example adding a breakpoint above the cli_start() function to check how the memory was initializing but I get a vector catch here as well.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash FDS Error/Stopped by Vector Catch When Accessing Stored Data.</title><link>https://devzone.nordicsemi.com/thread/312882?ContentTypeID=1</link><pubDate>Tue, 01 Jun 2021 12:35:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:419239ed-647b-4fc4-b34c-1fb780472e2e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I did not manage to replicate the vector catch on my end, nor spot any obvious coding issues, unfortunately. I copied your code into the flash fds sample in SDK 17.0.2 and ran it on a 52 DK. Below is the log output I got after a few startups. &lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1622550491556v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Any chance that some of the SDK source files may have gotten modified on you setup? It may be a good idea to try again with a fresh SDK copy in that case.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>