<?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>run demo central-uart problem with NRF52840dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85700/run-demo-central-uart-problem-with-nrf52840dk</link><description>I start a application from the demo central-uart with the NRF CONNECT SDK 1.9.1 
 I try to communication via the com. 
 but the first byte of the rx buffer is wrong,I did not change the code of the demo,just build and debug it. 
 Can anyone help me to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Mar 2022 17:20:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85700/run-demo-central-uart-problem-with-nrf52840dk" /><item><title>RE: run demo central-uart problem with NRF52840dk</title><link>https://devzone.nordicsemi.com/thread/358495?ContentTypeID=1</link><pubDate>Wed, 16 Mar 2022 17:20:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae404193-09c7-478b-8bda-87b821e544d5</guid><dc:creator>shandawei</dc:creator><description>&lt;p&gt;Hi, maybe it&amp;#39;s a issue about uart0, when i connect uart1,and try again ,it works fine, uart0 for debug and uart1 for data transfer.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: run demo central-uart problem with NRF52840dk</title><link>https://devzone.nordicsemi.com/thread/358021?ContentTypeID=1</link><pubDate>Mon, 14 Mar 2022 15:19:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddcf0cf4-21fe-49b3-a23e-9f1c7b77c0e2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m still not able to reproduce the first issue. Can you explain in detail the exact steps required to reproduce it with an unmodified central_uart sample?&lt;/p&gt;
&lt;p&gt;The second issue seems to already be reported here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84635/peripheral_uart-sample-crashes-with-a-lot-of-data"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/84635/peripheral_uart-sample-crashes-with-a-lot-of-data&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: run demo central-uart problem with NRF52840dk</title><link>https://devzone.nordicsemi.com/thread/357759?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2022 19:25:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1fdb47e-c160-4244-869e-a47b589f8ab4</guid><dc:creator>shandawei</dc:creator><description>&lt;p&gt;Thanks for your reply,&lt;/p&gt;
&lt;p&gt;I try with your suggestion, The first buffer is ok,but when i try to send&amp;nbsp;the same data again, the rx buffer is wrong,the first byte was replaced by other char.&lt;/p&gt;
&lt;p&gt;then i try the peripherial-uart without any change, then i connected via android ble app,and subsribe the notify &lt;em&gt;&lt;span class="skip"&gt;characteristic&lt;/span&gt;&lt;/em&gt;, i recieved the data transfer from the uart, the first time the data is ok,but i try again the notify data is wrong like use central-uart.&lt;/p&gt;
&lt;p&gt;When i try send some char to&amp;nbsp;&lt;span&gt;peripherial-uart&amp;nbsp;device. the device will crash with error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS buil
d v2.7.99-ncs1-1  ***

Starting Nordic UART service exam
ple

ASSERTION
 FAIL [chunk_used(h, c)] @ WEST_TOPDIR/zephyr/lib/os/heap.c
:163
	unexpected heap state (double-free?) for memory at 
0x2000858c

*** B
ooting Zephyr OS build v2.7.99-ncs1-1  ***
Starting Nor
dic UART service example
&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: run demo central-uart problem with NRF52840dk</title><link>https://devzone.nordicsemi.com/thread/357708?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2022 14:35:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ebd014f-b0ff-4e4b-9499-1a856b8973df</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you try with a different serial terminal application? I just tested the same example from nRF Connect SDK v1.9.1 together with RealTerm, and it is receiving the data correctly:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/nus_5F00_central_5F00_uart.png" /&gt;&lt;/p&gt;
&lt;p&gt;Looks like your application is shifted ~50 lines compared to the original sample, so there seems to be some changes in your application.&lt;/p&gt;
&lt;p&gt;You can also check the UART pins with a logic analyzer, to see if the correct data is sent on the lines.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>