From 17acf589e4cb214a636813e60cdd3247b4cfabe3 Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期二, 08 四月 2025 10:42:22 +0800
Subject: [PATCH] V1.57 1.修复UWB唤醒读取ID的bug,会导致UWB出错的时候,卡死。充电的时候UWB有时会出现读取错误,但是去掉充电器之后,会自动恢复。

---
 MDK-ARM/L051/L051.htm |   34 ++++++++++++++++++++--------------
 1 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/MDK-ARM/L051/L051.htm b/MDK-ARM/L051/L051.htm
index 0309de3..f3824dc 100644
--- a/MDK-ARM/L051/L051.htm
+++ b/MDK-ARM/L051/L051.htm
@@ -3,7 +3,7 @@
 <title>Static Call Graph - [L051\L051.axf]</title></head>
 <body><HR>
 <H1>Static Call Graph for image L051\L051.axf</H1><HR>
-<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060750: Last Updated: Tue Mar 04 11:20:56 2025
+<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060750: Last Updated: Mon Apr 07 17:20:59 2025
 <BR><P>
 <H3>Maximum Stack Usage =        248 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
 Call chain for Maximum Stack Depth:</H3>
@@ -550,7 +550,7 @@
 
 <P><STRONG><a name="[192]"></a>__decompress1</STRONG> (Thumb, 86 bytes, Stack size unknown bytes, __dczerorl2.o(.text), UNUSED)
 
-<P><STRONG><a name="[6e]"></a>Anchor_RecNearPoll</STRONG> (Thumb, 304 bytes, Stack size 40 bytes, dw_mbx_tag.o(i.Anchor_RecNearPoll))
+<P><STRONG><a name="[6e]"></a>Anchor_RecNearPoll</STRONG> (Thumb, 306 bytes, Stack size 40 bytes, dw_mbx_tag.o(i.Anchor_RecNearPoll))
 <BR><BR>[Stack]<UL><LI>Max Depth = 160<LI>Call Chain = Anchor_RecNearPoll &rArr; dwt_starttx &rArr; dwt_entersleepaftertx &rArr; dwt_write32bitoffsetreg &rArr; dwt_writetodevice &rArr; writetospi &rArr; Uwb_CS_di &rArr; __2printf
 </UL>
 <BR>[Calls]<UL><LI><a href="#[75]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_LPTIM_ReadCounter
@@ -1591,18 +1591,20 @@
 <BR>[Called By]<UL><LI><a href="#[1e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
 </UL>
 
-<P><STRONG><a name="[106]"></a>LoraReportFreqPoll</STRONG> (Thumb, 52 bytes, Stack size 0 bytes, dw_mbx_tag.o(i.LoraReportFreqPoll))
-<BR><BR>[Called By]<UL><LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;LoraReportPoll
+<P><STRONG><a name="[105]"></a>LoraReportFreqPoll</STRONG> (Thumb, 56 bytes, Stack size 8 bytes, dw_mbx_tag.o(i.LoraReportFreqPoll))
+<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = LoraReportFreqPoll
+</UL>
+<BR>[Called By]<UL><LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;LoraReportPoll
 </UL>
 
-<P><STRONG><a name="[104]"></a>LoraReportPoll</STRONG> (Thumb, 346 bytes, Stack size 32 bytes, dw_mbx_tag.o(i.LoraReportPoll))
+<P><STRONG><a name="[104]"></a>LoraReportPoll</STRONG> (Thumb, 376 bytes, Stack size 32 bytes, dw_mbx_tag.o(i.LoraReportPoll))
 <BR><BR>[Stack]<UL><LI>Max Depth = 184<LI>Call Chain = LoraReportPoll &rArr; Get_Battary &rArr; __aeabi_dmul &rArr; _double_epilogue &rArr; _double_round
 </UL>
 <BR>[Calls]<UL><LI><a href="#[99]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_GPIO_WritePin
 <LI><a href="#[86]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_GPIO_ReadPin
 <LI><a href="#[103]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SwitchLoraSettings
-<LI><a href="#[105]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;TagListUpdate
-<LI><a href="#[106]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;LoraReportFreqPoll
+<LI><a href="#[106]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;TagListUpdate
+<LI><a href="#[105]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;LoraReportFreqPoll
 <LI><a href="#[100]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;LoraHeartBeartPoll
 <LI><a href="#[101]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Checksum_u16
 <LI><a href="#[98]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Get_Battary
@@ -1649,7 +1651,7 @@
 <BR>[Called By]<UL><LI><a href="#[1e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
 </UL>
 
-<P><STRONG><a name="[10c]"></a>Lora_Send_Poll</STRONG> (Thumb, 198 bytes, Stack size 24 bytes, dw_mbx_tag.o(i.Lora_Send_Poll))
+<P><STRONG><a name="[10c]"></a>Lora_Send_Poll</STRONG> (Thumb, 202 bytes, Stack size 24 bytes, dw_mbx_tag.o(i.Lora_Send_Poll))
 <BR><BR>[Stack]<UL><LI>Max Depth = 208<LI>Call Chain = Lora_Send_Poll &rArr; LoraReportPoll &rArr; Get_Battary &rArr; __aeabi_dmul &rArr; _double_epilogue &rArr; _double_round
 </UL>
 <BR>[Calls]<UL><LI><a href="#[103]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SwitchLoraSettings
@@ -1661,7 +1663,7 @@
 <BR>[Called By]<UL><LI><a href="#[1e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
 </UL>
 
-<P><STRONG><a name="[115]"></a>MbxTagUwbRec</STRONG> (Thumb, 394 bytes, Stack size 24 bytes, dw_mbx_tag.o(i.MbxTagUwbRec))
+<P><STRONG><a name="[115]"></a>MbxTagUwbRec</STRONG> (Thumb, 396 bytes, Stack size 24 bytes, dw_mbx_tag.o(i.MbxTagUwbRec))
 <BR><BR>[Stack]<UL><LI>Max Depth = 184<LI>Call Chain = MbxTagUwbRec &rArr; Anchor_RecNearPoll &rArr; dwt_starttx &rArr; dwt_entersleepaftertx &rArr; dwt_write32bitoffsetreg &rArr; dwt_writetodevice &rArr; writetospi &rArr; Uwb_CS_di &rArr; __2printf
 </UL>
 <BR>[Calls]<UL><LI><a href="#[75]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_LPTIM_ReadCounter
@@ -1718,10 +1720,11 @@
 </UL>
 <BR>[Address Reference Count : 1]<UL><LI> lora.o(i.LoraInit)
 </UL>
-<P><STRONG><a name="[27]"></a>OnTxDone</STRONG> (Thumb, 68 bytes, Stack size 16 bytes, lora.o(i.OnTxDone))
-<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = OnTxDone &rArr; __2printf
+<P><STRONG><a name="[27]"></a>OnTxDone</STRONG> (Thumb, 96 bytes, Stack size 16 bytes, lora.o(i.OnTxDone))
+<BR><BR>[Stack]<UL><LI>Max Depth = 88<LI>Call Chain = OnTxDone &rArr; SwitchLoraSettings
 </UL>
 <BR>[Calls]<UL><LI><a href="#[99]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_GPIO_WritePin
+<LI><a href="#[103]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SwitchLoraSettings
 <LI><a href="#[11d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__2printf
 </UL>
 <BR>[Address Reference Count : 1]<UL><LI> lora.o(i.LoraInit)
@@ -1744,7 +1747,7 @@
 <P><STRONG><a name="[4]"></a>PendSV_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, stm32l0xx_it.o(i.PendSV_Handler))
 <BR>[Address Reference Count : 1]<UL><LI> startup_stm32l051xx.o(RESET)
 </UL>
-<P><STRONG><a name="[11f]"></a>Program_Init</STRONG> (Thumb, 224 bytes, Stack size 24 bytes, main.o(i.Program_Init))
+<P><STRONG><a name="[11f]"></a>Program_Init</STRONG> (Thumb, 222 bytes, Stack size 24 bytes, main.o(i.Program_Init))
 <BR><BR>[Stack]<UL><LI>Max Depth = 160<LI>Call Chain = Program_Init &rArr; ceil &rArr; __aeabi_drsub &rArr; __aeabi_dadd &rArr; _double_epilogue &rArr; _double_round
 </UL>
 <BR>[Calls]<UL><LI><a href="#[63]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_ui2d
@@ -2620,6 +2623,7 @@
 <LI><a href="#[10c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Lora_Send_Poll
 <LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;LoraReportPoll
 <LI><a href="#[29]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;OnTxTimeout
+<LI><a href="#[27]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;OnTxDone
 <LI><a href="#[2a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;OnRxTimeout
 <LI><a href="#[2b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;OnRxError
 <LI><a href="#[28]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;OnRxDone
@@ -2650,7 +2654,7 @@
 <P><STRONG><a name="[1f]"></a>SystemInit</STRONG> (Thumb, 66 bytes, Stack size 0 bytes, system_stm32l0xx.o(i.SystemInit))
 <BR>[Address Reference Count : 1]<UL><LI> startup_stm32l051xx.o(.text)
 </UL>
-<P><STRONG><a name="[105]"></a>TagListUpdate</STRONG> (Thumb, 116 bytes, Stack size 20 bytes, dw_mbx_tag.o(i.TagListUpdate))
+<P><STRONG><a name="[106]"></a>TagListUpdate</STRONG> (Thumb, 116 bytes, Stack size 20 bytes, dw_mbx_tag.o(i.TagListUpdate))
 <BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = TagListUpdate
 </UL>
 <BR>[Called By]<UL><LI><a href="#[104]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;LoraReportPoll
@@ -2722,11 +2726,12 @@
 </UL>
 <BR>[Address Reference Count : 1]<UL><LI> startup_stm32l051xx.o(RESET)
 </UL>
-<P><STRONG><a name="[11c]"></a>UWB_Wkup</STRONG> (Thumb, 44 bytes, Stack size 16 bytes, dw_app.o(i.UWB_Wkup))
+<P><STRONG><a name="[11c]"></a>UWB_Wkup</STRONG> (Thumb, 68 bytes, Stack size 16 bytes, dw_app.o(i.UWB_Wkup))
 <BR><BR>[Stack]<UL><LI>Max Depth = 112<LI>Call Chain = UWB_Wkup &rArr; dwt_readdevid &rArr; dwt_read32bitoffsetreg &rArr; dwt_readfromdevice &rArr; readfromspi &rArr; Uwb_CS_di &rArr; __2printf
 </UL>
 <BR>[Calls]<UL><LI><a href="#[ee]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;delay_us
 <LI><a href="#[168]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;dwt_readdevid
+<LI><a href="#[11d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__2printf
 </UL>
 <BR>[Called By]<UL><LI><a href="#[28]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;OnRxDone
 </UL>
@@ -2806,6 +2811,7 @@
 <BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = __2printf
 </UL>
 <BR>[Called By]<UL><LI><a href="#[169]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UpdateProcess
+<LI><a href="#[11c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;UWB_Wkup
 <LI><a href="#[16a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Uwb_CS_di
 <LI><a href="#[155]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SX126x_CS_Di
 <LI><a href="#[27]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;OnTxDone

--
Gitblit v1.9.3