<?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>BLE hci_lpuart hangs and crashes app on nrf sdk 2+ (works with 1.9.1)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94278/ble-hci_lpuart-hangs-and-crashes-app-on-nrf-sdk-2-works-with-1-9-1</link><description>We tested our project a while ago with nrf sdk v1.9.1 using the lte_ble_gateway sample (app on nrf9160, hci_lpuart on nrf52840 using a nrf9160dk board). Now we have developed a good portion of our production firmware using the v2.1.2 SDK. We recently</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Nov 2022 15:40:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94278/ble-hci_lpuart-hangs-and-crashes-app-on-nrf-sdk-2-works-with-1-9-1" /><item><title>RE: BLE hci_lpuart hangs and crashes app on nrf sdk 2+ (works with 1.9.1)</title><link>https://devzone.nordicsemi.com/thread/398174?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 15:40:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6e341ea-6865-4caf-9811-3636b5cc5d58</guid><dc:creator>CRD</dc:creator><description>&lt;p&gt;SUCCESS!!&lt;br /&gt;&lt;br /&gt;Okay so after writing the last update I wanted to double check that hci_lpuart actually did work when built with both 1.9.1 and 2.1.2.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I rebuilt hci_lpuart with &lt;span&gt;sdk&amp;nbsp;v&lt;/span&gt;1.9.1 and flashed it to the nrf52840 and now&amp;nbsp;BLE works, also&amp;nbsp;I can still build my main app with the 2.1.2 sdk and it works fine.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution for now:&lt;/strong&gt; Build hci_lpuart app for the nrf52840 chip with SDK v1.9.1. The main app flashed to the nrf9160 can be built with newer sdk versions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE hci_lpuart hangs and crashes app on nrf sdk 2+ (works with 1.9.1)</title><link>https://devzone.nordicsemi.com/thread/398153?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 14:36:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f13a8f74-77c0-413c-a756-c8e2143f705e</guid><dc:creator>CRD</dc:creator><description>&lt;p&gt;Thanks for taking a look. I updated the previous post just now. I flashed a few times on my board that was working and all of a sudden it has the same issue, and I can&amp;#39;t seem to revert it even if I flash the app firmware that was working before.&lt;/p&gt;
&lt;p&gt;If there is a patch or something that can be tested to hot fix this, please let me know and I can test it. We were pushing to release prototypes soon so now my only other consideration is to reformat our entire project to build with sdk 1.9.1.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;For some extra info:&lt;/strong&gt;&lt;br /&gt;- I have built hci_lpuart for the nrf52840 with 1.9.1 and with 2.1.2 and it has worked with both of those builds.&lt;/p&gt;
&lt;p&gt;- Reproduced on multiple boards and with multiple apps including the default lte_ble_gateway app&lt;/p&gt;
&lt;p&gt;- Seems to occasionally work, then after flashing (no idea what changed in configs or app) stops working and will not work anymore even after re-flashing with different firmware.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE hci_lpuart hangs and crashes app on nrf sdk 2+ (works with 1.9.1)</title><link>https://devzone.nordicsemi.com/thread/398113?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 13:10:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:425e3bbf-1d4c-4f0a-80b8-3c8edf347165</guid><dc:creator>&amp;#216;ivind</dc:creator><description>&lt;p&gt;Hi, we are aware of some issues with the lpuart in newer SDK releases, I will look into whether this is the same issue and get back to you.&lt;/p&gt;
&lt;p&gt;It is interesting that you are only seeing issues on one of your boards, thank you for that update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE hci_lpuart hangs and crashes app on nrf sdk 2+ (works with 1.9.1)</title><link>https://devzone.nordicsemi.com/thread/397957?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 17:56:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fac39adc-3bcc-4b9e-a544-2c83c66efcd4</guid><dc:creator>CRD</dc:creator><description>&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration:line-through;"&gt;I have two nrf9160dks and only one of them has this issue, the other board boots and starts BLE with no issue using the same firmware on both boards.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="text-decoration:line-through;"&gt;&lt;strong&gt;Board 1 (works as expected):&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;PCA10090&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;1.0.1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;2021.37&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;&lt;strong&gt;Board 2 (Ble does not work):&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;PCA10090&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;1.0.0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;2021.15&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;Now it seems I will need to figure out what is different between these two boards. Hopefully this is just a quick solder update?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update to the update:&lt;/strong&gt; After flashing the board that was working a few times it no works with BLE either (same k_sem_take error at hci_core.c:327). Even if I load the firmware that was working for bit. So now I&amp;#39;m feeling like this is a software issue and not a hardware issue.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>