<?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>Build example into chips with preinstalled SOFTDEVICE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17713/build-example-into-chips-with-preinstalled-softdevice</link><description>Hello to everyone. I&amp;#39;ll need to use ble things with pwm. I&amp;#39;m trying to play around with pwm library it&amp;#39;s ok, but it&amp;#39;s build only on erased chip, trying to flash it into chip with preinstalled sdk 2.1.0 raise an error: Flash Download failed - &amp;quot;Cortex-</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Nov 2016 03:49:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17713/build-example-into-chips-with-preinstalled-softdevice" /><item><title>RE: Build example into chips with preinstalled SOFTDEVICE</title><link>https://devzone.nordicsemi.com/thread/68138?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 03:49:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6820c5b5-ab54-479a-9f6d-dfe105ec4aa9</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Thanks you a lot. Now I&amp;#39;ve changed addresses in ROM and RAM keil&amp;#39;s setting like in ble template example and everything goes well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build example into chips with preinstalled SOFTDEVICE</title><link>https://devzone.nordicsemi.com/thread/68134?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2016 12:41:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:028aaad2-42b0-4bb2-9e1a-7da221d261bd</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;It&amp;#39;s no problem using PWM with BLE. The SoftDevice uses TIMER0, but you are able to use TIMER1 for the PWM. The error refers to wrong settings for the ROM/RAM in Keil; you are trying to put the application code where the SoftDevice is located. With the &amp;quot;ble_app_template&amp;quot; project, you will not get this error, since the settings in Keil are here setup to put the application code on top of the SoftDevice code in flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build example into chips with preinstalled SOFTDEVICE</title><link>https://devzone.nordicsemi.com/thread/68136?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2016 12:28:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93b3751b-2758-412b-99e9-9c13e6d9382c</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;I&amp;#39;ll do that. Will I be able to use the same way of working with pwm in ble_app_template saying like in the screenshot above? I know that the softdevice using some timers and some part of flash memory. This error somehow refers with that fact?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build example into chips with preinstalled SOFTDEVICE</title><link>https://devzone.nordicsemi.com/thread/68137?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2016 12:16:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddffeb24-1ba6-472a-9937-84d6f34c50ae</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The examples located in the peripheral folder doesn’t use BLE. If you want to use the PWM example with BLE, I would recommend to start with the example “ble_app_template” or “ble_app_uart”, and then start to add the code for the PWM in that example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build example into chips with preinstalled SOFTDEVICE</title><link>https://devzone.nordicsemi.com/thread/68135?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2016 12:08:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0c9bd22-5907-4a25-a8d7-a42e863bf72c</guid><dc:creator>Stas</dc:creator><description>&lt;p&gt;Thanks for fast reply. I can build &amp;quot;pwm library&amp;quot; example into clear chip without problem. If I install softdevice 132 before I can&amp;#39;t build it raise me error: Flash Download failed - &amp;quot;Cortex- M4&amp;quot; (KEIL).
It&amp;#39;s example locates in NRF5_SDK_12.1.0\examples\peripheral\pwm_driver\pca10040*&lt;em&gt;blank&lt;/em&gt;*\arm5_no_packs.
I think key of this error is this example locates in &amp;quot;blank&amp;quot; folder. I don&amp;#39;t know how to remake this app that I&amp;#39;ll be able to build it into chip with preinstalled softdevice&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Build example into chips with preinstalled SOFTDEVICE</title><link>https://devzone.nordicsemi.com/thread/68133?ContentTypeID=1</link><pubDate>Mon, 14 Nov 2016 12:00:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c1d46fa-1920-4521-a908-cbcd33b8f6b9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;You can use nRFgo Studio(&lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/51497/64/46855726"&gt;Win32&lt;/a&gt; / &lt;a href="https://www.nordicsemi.com/eng/nordic/download_resource/51498/66/67412214"&gt;Win64&lt;/a&gt;) to flash the SoftDevice.&lt;/p&gt;
&lt;p&gt;You can find the SoftDevice in&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;SDK_INSTALL_FOLDER/components/softdevice/
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and the SDK(Software Development Kit) can be found &lt;a href="https://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v12.x.x/"&gt;here&lt;/a&gt;.
For nRF52 you need to use SoftDevice S132.&lt;/p&gt;
&lt;p&gt;After you have flashed the SoftDevice, use Keil to flash your application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>