<?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>Logging thread stack overflow</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92283/logging-thread-stack-overflow</link><description>Hello, 
 I am having an issue with Zephyr, it constantly reboots the system because of stack overflow. 
 
 Sometimes in these faults, it says &amp;quot;Fault during interrupt handling&amp;quot;. 
 The code line for the faulting address is: 
 
 It is actually in reference</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Oct 2022 00:15:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92283/logging-thread-stack-overflow" /><item><title>RE: Logging thread stack overflow</title><link>https://devzone.nordicsemi.com/thread/389289?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 00:15:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a18846-737d-4edf-8c93-8d818cb73855</guid><dc:creator>thiago_hd</dc:creator><description>&lt;p&gt;Hello @Simon, actually I got to solve that problem by trying and changing some stack sizes within tasks that are intrinsic to the system, and also my tasks&amp;#39; stack sizes.&lt;/p&gt;
&lt;p&gt;Apparently, it is really necessary during the investigation to compile the code with CONFIG_NO_OPTIMIZATIONS=y so that the system can tell you correctly which thread and which line were executed right before going into fault.&lt;/p&gt;
&lt;p&gt;I have&amp;nbsp;miniaturised my application by removing some tasks, then, testing and enabling each task at a time, and retesting, and so on.&lt;/p&gt;
&lt;p&gt;Also, apparently, you cannot enable STACK_SENTINEL in the same time as you have MPU_STACK_GUARD enabled as well (I have seen this kind of argument on github, though I cannot recall where I have seen it on github). Since the default config for nRF52840 is that it uses hardware stack guard (MPU_STACK_GUARD), I have not used STACK_SENTINEL, neither STACK_CANARIES.&lt;/p&gt;
&lt;p&gt;I also &amp;quot;disabled&amp;quot; the LOGGING Thread by setting&amp;nbsp;CONFIG_LOG_MODE_IMMEDIATE=y. I find this a better use of logging. This forces the system to do the logging immediately, inside the own task which called the logging function, though, as a side effect causing the need of more stack size for each task which uses logging.&lt;/p&gt;
&lt;p&gt;The main configuration changes regarding FAULTS, HEAP size, STACK sizes, Thread Analyzer I have used for solving my problem is below:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# ----------------------------------------------------
# HEAP Mem, Stack, Falhas, Thread Analyzer
# ----------------------------------------------------
CONFIG_HEAP_MEM_POOL_SIZE=32768

CONFIG_REBOOT=y
# CONFIG_RESET_ON_FATAL_ERROR=y
CONFIG_FATAL_ERROR_LOG_LEVEL_DBG=y
CONFIG_BT_HCI_VS_FATAL_ERROR=y


CONFIG_EXTRA_EXCEPTION_INFO=y

CONFIG_THREAD_NAME=y
CONFIG_THREAD_ANALYZER=y
CONFIG_THREAD_STACK_INFO=y
CONFIG_THREAD_MONITOR=y
CONFIG_THREAD_ANALYZER_ISR_STACK_USAGE=y
CONFIG_THREAD_ANALYZER_AUTO_INTERVAL=5
# CONFIG_THREAD_ANALYZER_USE_PRINTK=n
CONFIG_THREAD_ANALYZER_AUTO=y
CONFIG_THREAD_ANALYZER_USE_LOG=y
CONFIG_THREAD_ANALYZER_AUTO_STACK_SIZE=65536

CONFIG_INIT_STACKS=y
CONFIG_STACK_USAGE=y
# Aparentemente stack sentinel e mpu stack guard nao podem ser usados simultaneamente (fonte: github, investigar mais a fundo)
#CONFIG_MPU_STACK_GUARD=y 
#CONFIG_STACK_SENTINEL=y


# --- Tamanhos Stacks ---
CONFIG_IDLE_STACK_SIZE=4096
CONFIG_MAIN_STACK_SIZE=8196
CONFIG_ISR_STACK_SIZE=8196
CONFIG_MPSL_WORK_STACK_SIZE=8196
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=8196


CONFIG_BT_RX_STACK_SIZE=4096
CONFIG_BT_HCI_TX_STACK_SIZE=4096

CONFIG_PRIVILEGED_STACK_SIZE=8196
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging thread stack overflow</title><link>https://devzone.nordicsemi.com/thread/389204?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 12:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:753f1091-a5b1-4dfc-82fc-e6919244a82d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I got some useful input internally&lt;/p&gt;
&lt;p&gt;When the&amp;nbsp;sentinel check fails, it means that the sentinel (&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/kernel/thread.c#L353"&gt;magic&lt;/a&gt;) value is overwritten, it is not the sentinel function itself that is the issue. It does not seem like it is the logging thread, so maybe some other thread is writing out of bounds. Try placing a data write breakpoint on the sentinel location (&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/kernel/thread.c#L374"&gt;stack start&lt;/a&gt;) and check what code overwrites it.&lt;/p&gt;
&lt;p&gt;You can also use THREAD_ANALYZER and other related Kconfig to auto print the stack usage every few seconds, and if any thread is missing from its list, the thread has likely overflowed by a huge amount and corrupting many thread stacks.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging thread stack overflow</title><link>https://devzone.nordicsemi.com/thread/389194?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 12:02:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b789810b-4f74-46a2-be66-35f443b14995</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hello and sorry for the late reply,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what the issue might be then.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve asked internally&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging thread stack overflow</title><link>https://devzone.nordicsemi.com/thread/388008?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 21:02:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7a8ec3f-31d4-4719-8968-341b3f9d5813</guid><dc:creator>thiago_hd</dc:creator><description>&lt;p&gt;*&amp;nbsp;&lt;span&gt;CONFIG_LOG_PROCESS_THREAD_STACK_SIZE&amp;nbsp;= 65536 (I&amp;#39;ve changed it, and checked it in the build/zephyr/.config file, it keeps the value that I set).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;* Child images - Yes, I have MCUBoot enabled in my Application prj.conf file. I can see in the build/mcuboot/zephyr/.config file that&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_MCUBOOT_LOG_THREAD_STACK_SIZE&lt;/span&gt;&lt;span&gt;=768. Though there is no CONFIG_LOG_PROCESS_THREAD_STACK_SIZE. I haven&amp;#39;t seen any log in the RTT viewer related to the MCUBoot, so I am not sure if MCUBoot is really logging anything during application runtime. Anyway, how could I change&amp;nbsp;CONFIG_MCUBOOT_LOG_THREAD_STACK_SIZE?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;* I can see that MCUBoot has&amp;nbsp;&lt;/span&gt;CONFIG_PRINTK enabled, might that be an issue? I&amp;#39;ve seen some issues in Zephyr&amp;#39;s Github repository that it&amp;#39;s not good to use both printk and LOG. But since I am new to Zephyr, I can&amp;#39;t really confirm this.&lt;/p&gt;
&lt;p&gt;* Minimal reproducible sample - I&amp;#39;ll try to prepare this. In the meantime, any other suggestions / tryouts?&lt;/p&gt;
&lt;div&gt;&lt;/div&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: Logging thread stack overflow</title><link>https://devzone.nordicsemi.com/thread/388004?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 20:13:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9bc93c4-df41-41d5-a365-1ee7f5ec3ee0</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I can see that the &amp;quot;logging&amp;quot; threads stack size is set by&amp;nbsp;CONFIG_LOG_PROCESS_THREAD_STACK_SIZE&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/subsys/logging/log_core.c#L688"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/subsys/logging/log_core.c#L688&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But you&amp;#39;ve already set that to a really high value, so I&amp;#39;m not sure what the issue might be&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Could you check the file &amp;lt;sample&amp;gt;/build/zephyr/.config and search for&amp;nbsp;&lt;span&gt;CONFIG_LOG_PROCESS_THREAD_STACK_SIZE and see if it&amp;#39;s actually set&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Do you have any child images in your application? For example mcuboot. In that case, are you sure that the log is not coming from the child image? Then you need to set&amp;nbsp;&lt;span&gt;CONFIG_LOG_PROCESS_THREAD_STACK_SIZE in the mcuboot prj.conf file, and&amp;nbsp;confirm the value using the file&amp;nbsp;&amp;lt;sample&amp;gt;/build/mcuboot/zephyr/.config&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Would you be able to share a minimal reproducible sample, so I can test it on my end?&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Logging thread stack overflow</title><link>https://devzone.nordicsemi.com/thread/387999?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 18:51:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cafdd480-3ae9-46b7-80b6-a9efd68e9e67</guid><dc:creator>thiago_hd</dc:creator><description>&lt;p&gt;I am running now without enabling the logging thread, by setting the following:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG_PROCESS_THREAD=n
CONFIG_LOG_MODE_IMMEDIATE=y
#CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=100000&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I have also added the following:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;# Thread analyzer
CONFIG_THREAD_ANALYZER=y
CONFIG_THREAD_NAME=y
CONFIG_THREAD_ANALYZER_ISR_STACK_USAGE=y
CONFIG_THREAD_ANALYZER_AUTO_INTERVAL=10
CONFIG_THREAD_ANALYZER_AUTO=y
CONFIG_THREAD_ANALYZER_USE_LOG=y
CONFIG_THREAD_ANALYZER_AUTO_STACK_SIZE=4096&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Through the log, the fault happened a little different now:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; [01:01:48.405,303] &amp;lt;inf&amp;gt; internaluart: Requisicao Status ok
00&amp;gt; [01:01:48.644,317] &amp;lt;inf&amp;gt; internaluart: Requisicao LORA ok
00&amp;gt; [01:01:48.773,315] &amp;lt;dbg&amp;gt; sx12xx_common: sx12xx_lora_send: Expected air time of 171 bytes = 277ms
00&amp;gt; [01:01:55.327,392] &amp;lt;inf&amp;gt; thread_analyzer: Thread analyze:
00&amp;gt; [01:01:55.327,850] &amp;lt;inf&amp;gt; thread_analyzer:  BT CTLR ECDH        : STACK: unused 196 usage 708 / 904 (78 %); CPU: 0 %
00&amp;gt; [01:01:55.328,460] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 852
00&amp;gt; [01:01:55.329,559] &amp;lt;inf&amp;gt; thread_analyzer:  BT RX               : STACK: unused 3900 usage 196 / 4096 (4 %); CPU: 0 %
00&amp;gt; [01:01:55.330,200] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 2
00&amp;gt; [01:01:55.330,810] &amp;lt;inf&amp;gt; thread_analyzer:  BT TX               : STACK: unused 996 usage 540 / 1536 (35 %); CPU: 0 %
00&amp;gt; [01:01:55.331,451] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 76
00&amp;gt; [01:01:55.332,427] &amp;lt;inf&amp;gt; thread_analyzer:  thread_analyzer     : STACK: unused 3180 usage 916 / 4096 (22 %); CPU: 0 %
00&amp;gt; [01:01:55.333,099] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 814167
00&amp;gt; [01:01:55.334,960] &amp;lt;inf&amp;gt; thread_analyzer:  lora_task_id        : STACK: unused 7868 usage 2372 / 10240 (23 %); CPU: 0 %
00&amp;gt; [01:01:55.335,601] &amp;lt;inf&amp;gt; thread_analyzer: [01:01:55.351,165] &amp;lt;inf&amp;gt; thread_analyzer:  internal_comm_task_id: STACK: unused 340 usage 684 / 1024 (66 %); CPU: 0 %
00&amp;gt; [01:01:55.356,933] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 97168
00&amp;gt; [01:01:55.358,093] &amp;lt;inf&amp;gt; thread_analyzer:  ble_task_id         : STACK: unused 4308 usage 812 / 5120 (15 %); CPU: 0 %
00&amp;gt; [01:01:55.358,703] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 376413
00&amp;gt; [01:01:55.359,771] &amp;lt;inf&amp;gt; thread_analyzer:  sysworkq            : STACK: unused 3676 usage 420 / 4096 (10 %); CPU: 0 %
00&amp;gt; [01:01:55.360,412] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 5224
00&amp;gt; [01:01:55.361,022] &amp;lt;inf&amp;gt; thread_analyzer:  MPSL Work           : STACK: unused 780 usage 244 / 1024 (23 %); CPU: 0 %
00&amp;gt; [01:01:55.366,790] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 123
00&amp;gt; [01:01:55.367,370] &amp;lt;inf&amp;gt; thread_analyzer:  BT_LW_WQ            : STACK: unused 628 usage 676 / 1304 (51 %); CPU: 0 %
00&amp;gt; [01:01:55.368,041] &amp;lt;inf&amp;gt; thread_anal[01:01:55.384,216] &amp;lt;inf&amp;gt; thread_analyzer:  idle                : STACK: unused 3964 usage 132 / 4096 (3 %); CPU: 98 %
00&amp;gt; [01:01:55.384,918] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 119996721
00&amp;gt; [01:01:55.390,319] &amp;lt;inf&amp;gt; thread_analyzer:  ISR0                : STACK: unused 31636 usage 1132 / 32768 (3 %)
00&amp;gt; [01:02:05.390,991] &amp;lt;inf&amp;gt; thread_analyzer: Thread analyze:
00&amp;gt; [01:02:05.391,448] &amp;lt;inf&amp;gt; thread_analyzer:  BT CTLR ECDH        : STACK: unused 196 usage 708 / 904 (78 %); CPU: 0 %
00&amp;gt; [01:02:05.392,059] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 852
00&amp;gt; [01:02:05.393,157] &amp;lt;inf&amp;gt; thread_analyzer:  BT RX               : STACK: unused 3900 usage 196 / 4096 (4 %); CPU: 0 %
00&amp;gt; [01:02:05.393,798] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 2
00&amp;gt; [01:02:05.394,439] &amp;lt;inf&amp;gt; thread_analyzer:  BT TX               : STACK: unused 996 usage 540 / 1536 (35 %); CPU: 0 %
00&amp;gt; [01:02:05.395,080] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 76
00&amp;gt; [01:02:05.396,209] &amp;lt;inf&amp;gt; thread_analyzer:  thread_analyzer     : STACK: unused 3180 usage 916 / 4096 (22 %); CPU: 0 %
00&amp;gt; [01:02:05.396,850] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 816241
00&amp;gt; [01:02:05.398,559] &amp;lt;inf&amp;gt; thread_analyzer:  lora_task_id        : STACK: unused 7868 usage 2372 / 10240 (23 %); CPU: 0 %
00&amp;gt; [01:02:05.404,205] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 56096
00&amp;gt; [01:02:05.404,754] &amp;lt;inf&amp;gt; thread_analyzer:  internal_comm_task_id: STACK: unused 340 usage 684 / 1024 (66 %); CPU: 0 %
00&amp;gt; [01:02:05.405,456] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cyc[01:02:05.421,722] &amp;lt;inf&amp;gt; thread_analyzer:  ble_task_id         : STACK: unused 4308 usage 812 / 5120 (15 %); CPU: 0 %
00&amp;gt; [01:02:05.427,490] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 377422
00&amp;gt; [01:02:05.428,558] &amp;lt;inf&amp;gt; thread_analyzer:  sysworkq            : STACK: unused 3676 usage 420 / 4096 (10 %); CPU: 0 %
00&amp;gt; [01:02:05.429,229] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 5224
00&amp;gt; [01:02:05.429,840] &amp;lt;inf&amp;gt; thread_analyzer:  MPSL Work           : STACK: unused 780 usage 244 / 1024 (23 %); CPU: 0 %
00&amp;gt; [01:02:05.430,480] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 123
00&amp;gt; [01:02:05.431,060] &amp;lt;inf&amp;gt; thread_analyzer:  BT_LW_WQ            : STACK: unused 628 usage 676 / 1304 (51 %); CPU: 0 %
00&amp;gt; [01:02:05.431,823] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 110
00&amp;gt; [01:02:05.443,359] &amp;lt;inf&amp;gt; thread_analyzer:  idle                : STACK: unused 3964 usage 132 / 4096 (3 %); CPU: 98 %
00&amp;gt; [01:02:05.444,000] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 120322396
00&amp;gt; [01:02:05.449,523] &amp;lt;inf&amp;gt; thread_analyzer:  ISR0                : STACK: unused 31636 usage 1132 / 32768 (3 %)
00&amp;gt; [01:02:06.437,408] &amp;lt;inf&amp;gt; internaluart: Requisicao Status ok
00&amp;gt; [01:02:06.676,513] &amp;lt;inf&amp;gt; internaluart: Requisicao LORA ok
00&amp;gt; [01:02:06.805,572] &amp;lt;dbg&amp;gt; sx12xx_common: sx12xx_lora_send: Expected air time of 171 bytes = 277ms
00&amp;gt; [01:02:15.450,225] &amp;lt;inf&amp;gt; thread_analyzer: Thread analyze:
00&amp;gt; [01:02:15.450,683] &amp;lt;inf&amp;gt; thread_analyzer:  BT CTLR ECDH        : STACK: unused 196 usage 708 / 904 (78 %); CPU: 0 %
00&amp;gt; [01:02:15.451,385] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 852
00&amp;gt; [01:02:15.452,453] &amp;lt;inf&amp;gt; thread_analyzer:  BT RX               : STACK: unused 3900 usage 196 / 4096 (4 %); CPU: 0 %
00&amp;gt; [01:02:15.453,094] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 2
00&amp;gt; [01:02:15.453,735] &amp;lt;inf&amp;gt; thread_analyzer:  BT TX               : STACK: unused 996 usage 540 / 1536 (35 %); CPU: 0 %
00&amp;gt; [01:02:15.454,376] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 76
00&amp;gt; [01:02:15.455,352] &amp;lt;inf&amp;gt; thread_analyzer:  thread_analyzer     : STACK: unused 3180 usage 916 / 4096 (22 %); CPU: 0 %
00&amp;gt; [01:02:15.455,993] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 818166
00&amp;gt; [01:02:15.457,794] &amp;lt;inf&amp;gt; thread_analyzer:  lora_task_id        : STACK: unused 7868 usage 2372 / 10240 (23 %); CPU: 0 %
00&amp;gt; [01:02:15.463,500] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 56347
00&amp;gt; [01:02:15.464,050] &amp;lt;inf&amp;gt; thread_analyzer:  internal_comm_task_id: STACK: unused 340 usage 684 / 1024 (66 %); CPU: 0 %
00&amp;gt; [01:02:15.464,691] &amp;lt;inf&amp;gt; thread_analyzer[01:02:15.480,957] &amp;lt;inf&amp;gt; thread_analyzer:  ble_task_id         : STACK: unused 4308 usage 812 / 5120 (15 %); CPU: 0 %
00&amp;gt; [01:02:15.486,663] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 378423
00&amp;gt; [01:02:15.487,792] &amp;lt;inf&amp;gt; thread_analyzer:  sysworkq            : STACK: unused 3676 usage 420 / 4096 (10 %); CPU: 0 %
00&amp;gt; [01:02:15.488,433] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 5251
00&amp;gt; [01:02:15.489,044] &amp;lt;inf&amp;gt; thread_analyzer:  MPSL Work           : STACK: unused 780 usage 244 / 1024 (23 %); CPU: 0 %
00&amp;gt; [01:02:15.489,715] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 123
00&amp;gt; [01:02:15.490,295] &amp;lt;inf&amp;gt; thread_analyzer:  BT_LW_WQ            : STACK: unused 628 usage 676 / 1304 (51 %); CPU: 0 %
00&amp;gt; [01:02:15.495,971] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 110
00&amp;gt; [01:02:15.497,161] &amp;lt;inf&amp;gt; thread_analyzer:  idle                : STACK: unused 3964 usage 132 / 4096 (3 %); CPU: 98 %
00&amp;gt; [01:02:15.497,802] &amp;lt;inf&amp;gt; thread_analyz[01:02:15.518,859] &amp;lt;inf&amp;gt; thread_analyzer:  ISR0                : STACK: unused 31636 usage 1132 / 32768 (3 %)
00&amp;gt; [01:02:24.448,974] &amp;lt;inf&amp;gt; internaluart: Requisicao Status ok
00&amp;gt; [01:02:24.687,347] &amp;lt;inf&amp;gt; internaluart: Requisicao LORA ok
00&amp;gt; [01:02:24.816,375] &amp;lt;dbg&amp;gt; sx12xx_common: sx12xx_lora_send: Expected air time of 172 bytes = 277ms
00&amp;gt; [01:02:25.519,531] &amp;lt;inf&amp;gt; thread_analyzer: Thread analyze:
00&amp;gt; [01:02:25.519,989] &amp;lt;inf&amp;gt; thread_analyzer:  BT CTLR ECDH        : STACK: unused 196 usage 708 / 904 (78 %); CPU: 0 %
00&amp;gt; [01:02:25.520,599] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 852
00&amp;gt; [01:02:25.521,697] &amp;lt;inf&amp;gt; thread_analyzer:  BT RX               : STACK: unused 3900 usage 196 / 4096 (4 %); CPU: 0 %
00&amp;gt; [01:02:25.522,338] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 2
00&amp;gt; [01:02:25.522,949] &amp;lt;inf&amp;gt; thread_analyzer:  BT TX               : STACK: unused 996 usage 540 / 1536 (35 %); CPU: 0 %
00&amp;gt; [01:02:25.523,590] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 76
00&amp;gt; [01:02:25.524,566] &amp;lt;inf&amp;gt; thread_analyzer:  thread_analyzer     : STACK: unused 3180 usage 916 / 4096 (22 %); CPU: 0 %
00&amp;gt; [01:02:25.525,207] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 820419
00&amp;gt; [01:02:25.526,977] &amp;lt;inf&amp;gt; thread_analyzer:  lora_task_id        : STACK: unused 7868 usage 2372 / 10240 (23 %); CPU: 0 %
00&amp;gt; [01:02:25.527,648] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles[01:02:25.543,304] &amp;lt;inf&amp;gt; thread_analyzer:  internal_comm_task_id: STACK: unused 340 usage 684 / 1024 (66 %); CPU: 0 %
00&amp;gt; [01:02:25.549,072] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 98023
00&amp;gt; [01:02:25.550,231] &amp;lt;inf&amp;gt; thread_analyzer:  ble_task_id         : STACK: unused 4308 usage 812 / 5120 (15 %); CPU: 0 %
00&amp;gt; [01:02:25.550,872] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 379431
00&amp;gt; [01:02:25.551,971] &amp;lt;inf&amp;gt; thread_analyzer:  sysworkq            : STACK: unused 3676 usage 420 / 4096 (10 %); CPU: 0 %
00&amp;gt; [01:02:25.552,612] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 5258
00&amp;gt; [01:02:25.553,222] &amp;lt;inf&amp;gt; thread_analyzer:  MPSL Work           : STACK: unused 780 usage 244 / 1024 (23 %); CPU: 0 %
00&amp;gt; [01:02:25.553,863] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 123
00&amp;gt; [01:02:25.559,570] &amp;lt;inf&amp;gt; thread_analyzer:  BT_LW_WQ            : STACK: unused 628 usage 676 / 1304 (51 %); CPU: 0 %
00&amp;gt; [01:02:25.560,211] &amp;lt;inf&amp;gt; thread_anal[01:02:25.576,843] &amp;lt;inf&amp;gt; thread_analyzer:  idle                : STACK: unused 3964 usage 132 / 4096 (3 %); CPU: 98 %
00&amp;gt; [01:02:25.582,550] &amp;lt;inf&amp;gt; thread_analyzer:       : Total CPU cycles used: 120972248
00&amp;gt; [01:02:25.588,043] &amp;lt;inf&amp;gt; thread_analyzer:  ISR0                : STACK: unused 31636 usage 1132 / 32768 (3 %)
00&amp;gt; [01:02:29.924,682] &amp;lt;err&amp;gt; lora_task: Another LoRa device was ACKed!
00&amp;gt; [01:02:29.925,109] &amp;lt;err&amp;gt; os: ***** USAGE FAULT *****
00&amp;gt; [01:02:29.925,476] &amp;lt;err&amp;gt; os:   Illegal load of EXC_RETURN into PC
00&amp;gt; [01:02:29.925,903] &amp;lt;err&amp;gt; os: r0/a1:  0xaaaaaaaa  r1/a2:  0xaaaaaaaa  r2/a3:  0xaaaaaaaa
00&amp;gt; [01:02:29.926,452] &amp;lt;err&amp;gt; os: r3/a4:  0xaaaaaaaa r12/ip:  0xaaaaaaaa r14/lr:  0xaaaaaaaa
00&amp;gt; [01:02:29.927,001] &amp;lt;err&amp;gt; os:  xpsr:  0xaaaaaa00
00&amp;gt; [01:02:29.927,368] &amp;lt;err&amp;gt; os: r4/v1:  0x200038b0  r5/v2:  0x20008661  r6/v3:  0x00000000
00&amp;gt; [01:02:29.927,917] &amp;lt;err&amp;gt; os: r7/v4:  0x00000000  r8/v5:  0x00000000  r9/v6:  0x00000000
00&amp;gt; [01:02:29.928,436] &amp;lt;err&amp;gt; os: r10/v7: 0x00000000  r11/v8: 0x00000000    psp:  0x20011c10
00&amp;gt; [01:02:29.928,955] &amp;lt;err&amp;gt; os: EXC_RETURN: 0xfffffffd
00&amp;gt; [01:02:29.929,351] &amp;lt;err&amp;gt; os: Faulting instruction address (r15/pc): 0xaaaaaaaa
00&amp;gt; [01:02:29.929,840] &amp;lt;err&amp;gt; os: &amp;gt;&amp;gt;&amp;gt; ZEPHYR FATAL ERROR 0: CPU exception on CPU 0[0m
00&amp;gt; [01:02:29.940,277] &amp;lt;err&amp;gt; os: Current thread: 0x200038f8 (idle)
00&amp;gt; [01:02:29.960,571] [1;31m&amp;lt;err&amp;gt; fatal_error: Resetting system[0m&lt;/pre&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>