<?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 Memory access issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84217/flash-memory-access-issue</link><description>Hi everyone, 
 I&amp;#39;m using SEGGER Studio for development. I wrote a code for accessing Flash memory by modifying flshawrite example in SDK. 
 Now I want to copy all dependencies of this project to another project. 
 How can I do that ? 
 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Feb 2022 04:57:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84217/flash-memory-access-issue" /><item><title>RE: Flash Memory access issue</title><link>https://devzone.nordicsemi.com/thread/350552?ContentTypeID=1</link><pubDate>Tue, 01 Feb 2022 04:57:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d40db8d-f4ed-4beb-8c88-99fd18ca3ecb</guid><dc:creator>Yashodha</dc:creator><description>&lt;p&gt;Thanks all. Issue solved&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash Memory access issue</title><link>https://devzone.nordicsemi.com/thread/350520?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 19:31:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:058ff4fc-790f-44da-8924-a2dcdba79510</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Often it is best to start by choosing an example that already includes as much as possible of the libraries that you need for your application. That way it is less to add in addition.&lt;/p&gt;
&lt;p&gt;Adding a library to an nRF5 SDK project is unfortunately a very manual process. You must:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Include the library c files to the project, and use them from your project (including the needed #include directives).&lt;/li&gt;
&lt;li&gt;Have a look at sdk_config.h, and overwrite or copy over the relevant setting sections for the newly included functionality. In your case, the sections related to the flash library used.&lt;/li&gt;
&lt;li&gt;Add missing header file directories in project settings.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Build errors can sometimes be a bit cryptic, but they usually point at what is missing. You can often find solutions to particular build erros by searching for the error text here on DevZone.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash Memory access issue</title><link>https://devzone.nordicsemi.com/thread/350338?ContentTypeID=1</link><pubDate>Sun, 30 Jan 2022 17:46:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7379f85a-dd4b-4e99-be5b-2e4559c8643b</guid><dc:creator>sipan112</dc:creator><description>&lt;p&gt;&lt;span&gt;The Code and Data rows indicate how much memory does the source from this particular file use in data and code sections.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;The +/- values are always referenced to the last successful build you have done. I assume here that you switch between Debug and Release build where the release build is naturally smaller due to optimization and missing debug information. That is why LockMsg.c uses less memory when build without debug info and optimization.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Keep in mind that a release build is typically not designed to be debugged. Are you trying to debug the release build here? Does the release build an application to run if you build and flash it to the chip, then reset the chip and let it free running without the debugger, does the application work then?&lt;/span&gt;&lt;br /&gt;&lt;span&gt;If yes then everything is working as expected.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Should the release config not work for that particular Nordic SDK sample we recommend contacting Nordic support as the SDK is maintained and supported through Nordic and should be created in a way that all samples run out of the box.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>