<?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>Not able to flash NFC code while Softdevice is loaded.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41833/not-able-to-flash-nfc-code-while-softdevice-is-loaded</link><description>Hi! 
 
 I am trying to use the NFC &amp;quot; writable_ndef_msg &amp;quot; code along with the &amp;quot; ble_app_uart &amp;quot; code from SDK 15.0 with Softdevice s140 on nRF52840 DK. I am using keil-MDK 5. But when I try to flash the NFC code when the softdevice is present, the Keil</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Dec 2018 04:48:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41833/not-able-to-flash-nfc-code-while-softdevice-is-loaded" /><item><title>RE: Not able to flash NFC code while Softdevice is loaded.</title><link>https://devzone.nordicsemi.com/thread/163110?ContentTypeID=1</link><pubDate>Fri, 28 Dec 2018 04:48:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:946fb5af-30e4-4253-af1d-b0a6e604e896</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How&amp;nbsp;did you change the ROM setting to ? Have you tested with any BLE example in the SDK ? Please follow the ROM configuration in the example. Do you plan to use the softdevice ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would suggest to copy your NFC code to a BLE example.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to flash NFC code while Softdevice is loaded.</title><link>https://devzone.nordicsemi.com/thread/162814?ContentTypeID=1</link><pubDate>Fri, 21 Dec 2018 10:11:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:147b397d-8f28-4aa1-9774-a7fb518e3c41</guid><dc:creator>Nikhilesh</dc:creator><description>&lt;p&gt;Hi Ashish,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the answer. I tried changing the ROM address of the NFC code. The code now gets flashed. But it not working. Nothing happens when I take my NFC reader close to the tag on the development kit (As per the code, the LED1 on the development kit should lit once it gets in the range of the reader. But nothing happens. Without softdevice it is working perfectly fine) Can you please suggest how to solve this issue?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to flash NFC code while Softdevice is loaded.</title><link>https://devzone.nordicsemi.com/thread/162776?ContentTypeID=1</link><pubDate>Fri, 21 Dec 2018 06:53:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb6c0404-2531-48cc-8d68-e1a178744142</guid><dc:creator>Ashish</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please take a look at the softdevice specs:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/DocLib/Content/SoftDevice_Spec/s140/latest/SDS/s1xx/s140"&gt;https://www.nordicsemi.com/DocLib/Content/SoftDevice_Spec/s140/latest/SDS/s1xx/s140&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If you look at chapter 14, you can see the memory layout and usage. The softdevice is present&amp;nbsp;starting from the lower address.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the NFC example, the ROM start address is set at 0x00 where the softdevice will be present. Probably that&amp;#39;s the reason why you are getting an error while flashing when softdevice is present. You will need to change the starting ROM address to where the Softdevice has finished.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here you can find the release notes for the softdevice you are using:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Software/S140/Download#infotabs"&gt;https://www.nordicsemi.com/Software-and-Tools/Software/S140/Download#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the release notes, you can find the Flash size requirement for the Softdevice. Change the starting ROM address to that location, and you should be able to flash the NFC example.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Update:&lt;br /&gt;Should have linked this tutorial also,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/tutorials/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;devzone.nordicsemi.com/.../adjustment-of-ram-and-flash-memory&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>