<?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>thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68915/thread_cli_ftd_uart_pca10100-example-move-uart-port-to-different-pins</link><description>I want to move the uart communication port from default pins to 
 #define RX_PIN_NUMBER 33 #define TX_PIN_NUMBER 34 #define CTS_PIN_NUMBER 35 #define RTS_PIN_NUMBER 36 
 I changed the defines in pca10100.h 
 uart_pca10100 example works fine. 
 thread_cli_ftd_uart_pca10100</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Dec 2020 16:53:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68915/thread_cli_ftd_uart_pca10100-example-move-uart-port-to-different-pins" /><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282931?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 16:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4096cb01-72f9-42b0-ac45-56e1c1b49c5c</guid><dc:creator>rcerati</dc:creator><description>&lt;p&gt;I found the setting:&lt;/p&gt;
&lt;p&gt;names are listed in examples/common-switches.mk&lt;/p&gt;
&lt;p&gt;EXTERNAL_HEAP=1 is required, so the complete cmd is&lt;/p&gt;
&lt;p&gt;&lt;span&gt;make -f examples/Makefile-nrf52833 BORDER_ROUTER=1 COAP=1 COMMISSIONER=1 DNS_CLIENT=1 JOINER=1 MAC_FILTER=1 MTD_NETDIAG=1 SERVICE=1 TMF_PROXY=1&amp;nbsp;EXTERNAL_HEAP=1&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282925?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 15:21:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64260f9e-160b-4709-a99a-d27029e795ab</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is possible according to this thread in stackoverflow, can you try it?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://stackoverflow.com/questions/5302390/is-it-possible-to-define-a-c-macro-in-a-makefile"&gt;Is it possible to define a C macro in a makefile? - Stack Overflow&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282853?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 10:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d1de9c3-9e54-4053-9778-2f3dc5ac7c89</guid><dc:creator>rcerati</dc:creator><description>&lt;p&gt;I&amp;#39;ve compiled openthread libraries changing UART pin settings and now&amp;nbsp;thread_cli_ftd_uart_pca10100 works.&lt;/p&gt;
&lt;p&gt;I followed&lt;/p&gt;
&lt;p&gt;&lt;a href="https://openthread.io/codelabs/openthread-hardware#2"&gt;https://openthread.io/codelabs/openthread-hardware#2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.thread_zigbee.v1.0.0%2Fthread_intro.html&amp;amp;cp=4_2_0_1_0_4&amp;amp;anchor=thread_qsg_libraries"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.thread_zigbee.v1.0.0%2Fthread_intro.html&amp;amp;cp=4_2_0_1_0_4&amp;amp;anchor=thread_qsg_libraries&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;with&lt;/p&gt;
&lt;p&gt;&lt;span&gt;make -f examples/Makefile-nrf52833 BORDER_ROUTER=1 COAP=1 COMMISSIONER=1 DNS_CLIENT=1 JOINER=1 MAC_FILTER=1 MTD_NETDIAG=1 SERVICE=1 TMF_PROXY=1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Only to compile suitable libraries I hardcoded a setting in&lt;/p&gt;
&lt;p&gt;src/core/config/openthread-core-default-config.h&lt;/p&gt;
&lt;p&gt;# define OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE 1&lt;/p&gt;
&lt;p&gt;instead of 0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is it possible to set it from command line ?&lt;/p&gt;
&lt;p&gt;I mean&lt;/p&gt;
&lt;p&gt;&lt;span&gt;make -f examples/Makefile-nrf52833&amp;nbsp;YYZZ=1 ....&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282739?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 16:16:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8305df53-a891-4fc7-a11d-b103e284c9ef</guid><dc:creator>rcerati</dc:creator><description>&lt;p&gt;I&amp;#39;m in my&lt;span&gt;&amp;nbsp;company&amp;#39;s internal network&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282733?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 15:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:602b7bb9-dad0-4536-b20f-759a90714f27</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Have you checked your network settings? also might be a computer issue. I suggest you:&lt;/p&gt;
&lt;p&gt;1. Simply try with another computer.&lt;/p&gt;
&lt;p&gt;2. Change network environment. If you are in your company&amp;#39;s internal network, some ports might be blocked for security reson. Try at your home network if possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282728?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 15:40:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d877376-9c77-4968-9f48-b13c17e4c7e0</guid><dc:creator>rcerati</dc:creator><description>&lt;p&gt;&lt;span&gt;nRF Connect for Desktop shows messages I previous reported, and the window is &amp;quot;blank&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1606837138095v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there a manual procedure ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282718?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 15:10:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81014cbe-a640-45d9-a293-de43c2fac2fe</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;If you are a Window user, the installation is pretty simple as specified on&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.0/nrf/gs_assistant.html#installing-the-toolchain-manager"&gt;Installing the nRF Connect SDK through nRF Connect for Desktop &amp;mdash; nRF Connect SDK 1.4.0 documentation (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;1. Install nRF Connect for Desktop, then install Toolchain Manger app.&lt;/p&gt;
&lt;p&gt;2. Instll nRF Connect SDKv.14.0 in&amp;nbsp;&lt;span&gt;Toolchain Manger app.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3. Double click &amp;quot;Open IDE&amp;quot; to open SES.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282712?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 14:55:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f06cba8f-a310-47a7-8b99-d1d64c951d77</guid><dc:creator>rcerati</dc:creator><description>&lt;p&gt;OK, now I have ncs v1.4.0 and I&amp;#39;ve updated&amp;nbsp;&lt;span&gt;nrf52833dk_nrf52833.overlay.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I use SES Nordic Edition but I haven&amp;#39;t&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Select&amp;nbsp;&lt;/span&gt;&lt;span class="guilabel"&gt;File&lt;/span&gt;&lt;span&gt;&amp;nbsp;-&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class="guilabel"&gt;Open nRF Connect SDK Project&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So, how can I import the project ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do I need to installa package with Package Manager ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282691?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 13:51:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:576d091d-5794-47f8-8069-ad26227fd79e</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;If you follow this tutorial:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.0/nrf/gs_installing.html"&gt;Installing the nRF Connect SDK manually &amp;mdash; nRF Connect SDK 1.4.0 documentation (nordicsemi.com)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You should see&lt;/p&gt;
&lt;p&gt;ncs\v1.4.0\nrf&amp;gt; git branch&lt;br /&gt;* (HEAD detached at v1.4.0)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282685?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 13:43:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d4b6d00-25f9-4def-aaf4-5ec0b46e3a89</guid><dc:creator>rcerati</dc:creator><description>&lt;p&gt;How can I check the version from command line ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282640?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 11:42:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e013f436-78ec-4ac0-91db-7de43d895e1d</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;That is not the correct sample. Are you using NCS1.4.0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282632?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 11:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:477d82dc-0cb7-4415-aa07-6fb2a24d916d</guid><dc:creator>rcerati</dc:creator><description>&lt;p&gt;I have a different file tree&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1606820669160v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;he found&amp;nbsp;&lt;span&gt;nrf52833dk_nrf52833.overlay under&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ncs\zephyr\tests\drivers\counter\counter_basic_api\boards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I cannot use&amp;nbsp;&amp;nbsp;nRF Connect for Desktop app, because I have the following error&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Unable to download latest app info: Unable to download apps list: Unable to download&amp;nbsp;&lt;a href="https://raw.githubusercontent.com/NordicSemiconductor/pc-nrfconnect-launcher/master/apps.json" rel="noopener noreferrer" target="_blank"&gt;https://raw.githubusercontent.com/NordicSemiconductor/pc-nrfconnect-launcher/master/apps.json&lt;/a&gt;: net::ERR_NAME_NOT_RESOLVED. If you are using a proxy server, you may need to configure it as described on&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-nrfconnect-launcher" rel="noopener noreferrer" target="_blank"&gt;https://github.com/NordicSemiconductor/pc-nrfconnect-launcher&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;so I followed instruction for &amp;quot;Installing the nRF Connect SDK manually&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282617?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 10:04:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21d45a74-dd6b-4f40-9de8-8d306e9a7567</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Roberto,&lt;/p&gt;
&lt;p&gt;I found another better solution. If you switch to NCS for your development, this will become much easier. For &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/openthread/cli/README.html"&gt;the NCS openthread CLI sample&lt;/a&gt;. You only need to change&amp;nbsp;ncs\nrf\samples\openthread\cli\boards\nrf52833dk_nrf52833.overlay to the following settings:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	status = &amp;quot;okay&amp;quot;;
	rx-pin = &amp;lt;33&amp;gt;;
	tx-pin = &amp;lt;34&amp;gt;;
	cts-pin = &amp;lt;35&amp;gt;;
	rts-pin = &amp;lt;36&amp;gt;;
	hw-flow-control;
};

&amp;amp;uart1 {
	status = &amp;quot;disabled&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	rx-pin = &amp;lt;33&amp;gt;;
	tx-pin = &amp;lt;34&amp;gt;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Then it should work as expected, I have verified on my nRF52840DK, it works well. Since the development on nRF52 SDK will stop, and NCS will become the next generation development platform, so I strongly suggest you move to NCS now.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Charlie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: thread_cli_ftd_uart_pca10100 example: move UART port to different pins</title><link>https://devzone.nordicsemi.com/thread/282612?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2020 09:23:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df8f2ec4-5a20-4602-8a2a-f24a80760d1a</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi Roberto,&lt;/p&gt;
&lt;p&gt;I tried with my nRF52840DK and experienced the same issue as your description. Furthermore, I found the original pins still work even I changed them on sdk_config.h. After checking the code, I found the uart setting for thread CLI might be &lt;span&gt;&amp;quot;hardcoded&amp;quot; under this&amp;nbsp;otCliUartInit function. The nRF52 SDK uses a prebuilt library from &lt;a href="https://github.com/openthread/openthread"&gt;the OpenThread project&lt;/a&gt;. You can refer to this ticked to change the pins.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35609/thread-sdk-hardcodes-uart-pins"&gt;Thread SDK hardcodes UART pins - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>