<?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>CPU crash when parsing UART0 received data using strtok</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108158/cpu-crash-when-parsing-uart0-received-data-using-strtok</link><description>Hello. I am currently working on UART0 Async data parser. 
 
 Whenever the data is being received, I send it via the message queue. On the different thread, I have parser that receives the messages on the queue and parses them accordingly. 
 
 For example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Feb 2024 12:56:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108158/cpu-crash-when-parsing-uart0-received-data-using-strtok" /><item><title>RE: CPU crash when parsing UART0 received data using strtok</title><link>https://devzone.nordicsemi.com/thread/468060?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 12:56:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb24b3ae-e42c-4971-8117-5a946d3ec12c</guid><dc:creator>zazas321</dc:creator><description>&lt;p&gt;Really silly! The problem is with the return statement inside the thread! By removing the return statement at the end of parsing everything works as expected!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>