<?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>Modifying ble_app_uart from pca10028 to pca20006</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17444/modifying-ble_app_uart-from-pca10028-to-pca20006</link><description>I have customised the ble_app_uart example for my application and the modified code works with the DK board. When I wanted to deploy this to the beacon board (pca20006), I only changed BOARD_PCA100028 to BOARD_PCA20006 in Flash &amp;gt; Configure Flash Tools</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Nov 2016 10:34:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17444/modifying-ble_app_uart-from-pca10028-to-pca20006" /><item><title>RE: Modifying ble_app_uart from pca10028 to pca20006</title><link>https://devzone.nordicsemi.com/thread/67019?ContentTypeID=1</link><pubDate>Wed, 16 Nov 2016 10:34:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e45220eb-71db-4c91-bc11-bc187bd543c8</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I guess this is the reason why we stopped supporting CMSIS. If you switch to the no-pack SDK version (you will have to do this eventually if you want to mirate to a newer SDK version), you should be able to switch device without getting these errors. Then you should only need to set the correct RAM/ROM settings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart from pca10028 to pca20006</title><link>https://devzone.nordicsemi.com/thread/67018?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 23:54:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e20ffe38-ac69-467e-972e-846cfd544581</guid><dc:creator>Johnson</dc:creator><description>&lt;p&gt;Yes, I use CMSIS.
When I switched to a new device, it created a new folder, s110\arm5\RTE\nRF_Drivers\nRF51822_xxAA, that contained nrf_drv_config.h with GPIOTE_ENABLED disabled.
When switching to a new device, the RTEs had red-circles with white x. I had right-click on each h and s file and selected Update Config File (ver 0.0.0 -&amp;gt; ver &lt;em&gt;.&lt;/em&gt;.*) to make the red-circles go away. This is a rather long painful process which is more like Keil&amp;#39;s problem, not nRF.
In the nutshell, what is the proper/correct way of switching to a new device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart from pca10028 to pca20006</title><link>https://devzone.nordicsemi.com/thread/67017?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2016 12:07:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bfed18b-e835-4e7e-8058-30ff269efce5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Are you using (&lt;a href="https://devzone.nordicsemi.com/blogs/880/deprecating-support-for-cmsis-pack-in-nrf5-sdk/"&gt;the deprecated&lt;/a&gt;) CMSIS pack SDK? In the no-pack SDK v10, the file &lt;em&gt;nrf_drv_config.h&lt;/em&gt; should be stored in &lt;code&gt;[EXAMPLE_FOLDER]\config&lt;/code&gt;. This file should not be replaced or changed if you change the device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart from pca10028 to pca20006</title><link>https://devzone.nordicsemi.com/thread/67016?ContentTypeID=1</link><pubDate>Mon, 07 Nov 2016 02:16:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f6a41f0-9d7a-404d-b127-dcabd4c0b6d7</guid><dc:creator>Johnson</dc:creator><description>&lt;p&gt;I see. I looked up nrf_drv_config.h when the device was nRF51422. It had #define GPIOTE_ENABLED 1 and #define UART0_ENABLED 1. When I switched the device type to nRF51822, it created a new copy of nrf_drv_config.h which had both GPIOTE and UART0 disabled.&lt;/p&gt;
&lt;p&gt;Then, when I looked up nrf_drv_config.h in Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\config, I noticed they were both disabled too. I was using SDK 10 (I think).&lt;/p&gt;
&lt;p&gt;I may have enabled them when working with the DK board last year. So switching to a new device will fetch the original file which had them disabled?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart from pca10028 to pca20006</title><link>https://devzone.nordicsemi.com/thread/67015?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 09:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:092130c8-1bb3-42b9-b3bf-428369d47523</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Those errors come from UART0 and GPIOTE being disabled in &lt;em&gt;nrf_drv_config.h&lt;/em&gt;. Did you do any change to that file? Which SDK version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart from pca10028 to pca20006</title><link>https://devzone.nordicsemi.com/thread/67014?ContentTypeID=1</link><pubDate>Tue, 01 Nov 2016 21:55:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19a27f03-6832-4f09-af3c-b1b499950f14</guid><dc:creator>Johnson</dc:creator><description>&lt;p&gt;I changed the device from nRF51422_xxAC to nRF51822_xxAA. Since the ROM and RAM were reset, I changed IROM1 to Start: 0x18000, Size: 0x28000 and IRAM1 to Start: 0x20002000, Size: 0x6000.&lt;/p&gt;
&lt;p&gt;The preprocessor symbol was
BLE_STACK_SUPPORT_REQD BOARD_PCA20006 S110 NRF51 SOFTDEVICE_PRESENT SWI_DISABLE0&lt;/p&gt;
&lt;p&gt;Built the code (I didn&amp;#39;t change the output target - so still &amp;#39;nrf51422_xxac_s110&amp;#39;)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;*** Using Compiler &amp;#39;V5.06 update 2 (build 183)&amp;#39;, folder: &amp;#39;C:\Keil_v5\ARM\ARMCC\Bin&amp;#39;
Build target &amp;#39;nrf51422_xxac_s110&amp;#39;
compiling app_uart_fifo.c...
RTE\nRF_Drivers\nRF51822_xxAA\app_uart_fifo.c(117): error:  #20: identifier &amp;quot;UART0_CONFIG_PSEL_TXD&amp;quot; is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
RTE\nRF_Drivers\nRF51822_xxAA\app_uart_fifo.c(117): error:  #20: identifier &amp;quot;UART0_CONFIG_PSEL_RXD&amp;quot; is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
RTE\nRF_Drivers\nRF51822_xxAA\app_uart_fifo.c(117): error:  #20: identifier &amp;quot;UART0_CONFIG_PSEL_CTS&amp;quot; is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
RTE\nRF_Drivers\nRF51822_xxAA\app_uart_fifo.c(117): error:  #20: identifier &amp;quot;UART0_CONFIG_PSEL_RTS&amp;quot; is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
RTE\nRF_Drivers\nRF51822_xxAA\app_uart_fifo.c(117): error:  #20: identifier &amp;quot;UART0_CONFIG_HWFC&amp;quot; is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
RTE\nRF_Drivers\nRF51822_xxAA\app_uart_fifo.c(117): error:  #20: identifier &amp;quot;UART0_CONFIG_PARITY&amp;quot; is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
RTE\nRF_Drivers\nRF51822_xxAA\app_uart_fifo.c(117): error:  #20: identifier &amp;quot;UART0_CONFIG_BAUDRATE&amp;quot; is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
RTE\nRF_Drivers\nRF51822_xxAA\app_uart_fifo.c(117): error:  #20: identifier &amp;quot;UART0_CONFIG_IRQ_PRIORITY&amp;quot; is undefined
      nrf_drv_uart_config_t config = 
RF_DRV_UART_DEFAULT_CONFIG;
RTE\nRF_Drivers\nRF51822_xxAA\app_uart_fifo.c: 0 warnings, 8 errors
compiling nrf_drv_uart.c...
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\uart\nrf_drv_uart.c(74): error:  #20: identifier &amp;quot;UART0_CONFIG_PSEL_TXD&amp;quot; is undefined
  static const nrf_drv_uart_config_t m_default_config = 
RF_DRV_UART_DEFAULT_CONFIG;
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\uart\nrf_drv_uart.c(74): error:  #20: identifier &amp;quot;UART0_CONFIG_PSEL_RXD&amp;quot; is undefined
  static const nrf_drv_uart_config_t m_default_config = 
RF_DRV_UART_DEFAULT_CONFIG;
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\uart\nrf_drv_uart.c(74): error:  #20: identifier &amp;quot;UART0_CONFIG_PSEL_CTS&amp;quot; is undefined
  static const nrf_drv_uart_config_t m_default_config = 
RF_DRV_UART_DEFAULT_CONFIG;
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\uart\nrf_drv_uart.c(74): error:  #20: identifier &amp;quot;UART0_CONFIG_PSEL_RTS&amp;quot; is undefined
  static const nrf_drv_uart_config_t m_default_config = 
RF_DRV_UART_DEFAULT_CONFIG;
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\uart\nrf_drv_uart.c(74): error:  #20: identifier &amp;quot;UART0_CONFIG_HWFC&amp;quot; is undefined
  static const nrf_drv_uart_config_t m_default_config = 
RF_DRV_UART_DEFAULT_CONFIG;
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\uart\nrf_drv_uart.c(74): error:  #20: identifier &amp;quot;UART0_CONFIG_PARITY&amp;quot; is undefined
  static const nrf_drv_uart_config_t m_default_config = 
RF_DRV_UART_DEFAULT_CONFIG;
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\uart\nrf_drv_uart.c(74): error:  #20: identifier &amp;quot;UART0_CONFIG_BAUDRATE&amp;quot; is undefined
  static const nrf_drv_uart_config_t m_default_config = 
RF_DRV_UART_DEFAULT_CONFIG;
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\uart\nrf_drv_uart.c(74): error:  #20: identifier &amp;quot;UART0_CONFIG_IRQ_PRIORITY&amp;quot; is undefined
  static const nrf_drv_uart_config_t m_default_config = 
RF_DRV_UART_DEFAULT_CONFIG;
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\uart\nrf_drv_uart.c: 0 warnings, 8 errors
compiling nrf_drv_gpiote.c...
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\gpiote\nrf_drv_gpiote.c(43): error:  #20: identifier &amp;quot;GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS&amp;quot; is undefined
      nrf_drv_gpiote_evt_handler_t handlers[
UMBER_OF_GPIO_TE+GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS];
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\gpiote\nrf_drv_gpiote.c(157): error:  #20: identifier &amp;quot;GPIOTE_CONFIG_IRQ_PRIORITY&amp;quot; is undefined
      nrf_drv_common_irq_enable(GPIOTE_IRQn, GPIOTE_CONFIG_IRQ_PRIORITY);
C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.1.0\gpiote\nrf_drv_gpiote.c: 0 warnings, 2 errors
&amp;quot;.\_build\nrf51422_xxac_s110.axf&amp;quot; - 18 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modifying ble_app_uart from pca10028 to pca20006</title><link>https://devzone.nordicsemi.com/thread/67013?ContentTypeID=1</link><pubDate>Tue, 01 Nov 2016 09:30:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c8a2d62-30ff-4e6c-8b4e-dced9967e5b6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Besides the lack of ANT support in nRF51822, the chips should have the same pin-out and HW architecture. It should be sufficient to change BOARD_PCA100028 to BOARD_PCA20006 as long as both your boards have the same amount of RAM and Flash available (see the IC revision overview in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/pdflinks/nrf51_comp_matrix.html?cp=3_0"&gt;compatibility matrix section&lt;/a&gt; at the infocenter).&lt;/p&gt;
&lt;p&gt;Changing the Device in Keil might reset the RAM and ROM settings, preventing you from flashing the application if a softdevice is present. It should however not cause any compile errors. Can you post the errors you are getting?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>