From 5305c5dddc995ab4d2c18f5909802fefc6c4cc6a Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期一, 25 三月 2024 10:28:32 +0800 Subject: [PATCH] V1.6,加入钟工最新标签逻辑,修复休眠无法唤醒bug --- MDK-ARM/L051/L051.htm | 64 +++++++++++++++++--------------- 1 files changed, 34 insertions(+), 30 deletions(-) diff --git a/MDK-ARM/L051/L051.htm b/MDK-ARM/L051/L051.htm index 4a2b009..d05d7e6 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>#<CALLGRAPH># ARM Linker, 5060750: Last Updated: Sun Mar 24 18:57:50 2024 +<BR><P>#<CALLGRAPH># ARM Linker, 5060750: Last Updated: Mon Mar 25 10:27:51 2024 <BR><P> <H3>Maximum Stack Usage = 464 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3> Call chain for Maximum Stack Depth:</H3> @@ -191,7 +191,8 @@ <P><STRONG><a name="[7f]"></a>__aeabi_uidivmod</STRONG> (Thumb, 44 bytes, Stack size 12 bytes, uidiv.o(.text)) <BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = __aeabi_uidivmod </UL> -<BR>[Called By]<UL><LI><a href="#[97]">>></a> dwt_initialise +<BR>[Called By]<UL><LI><a href="#[134]">>></a> MbxTagUwbRec +<LI><a href="#[97]">>></a> dwt_initialise <LI><a href="#[c4]">>></a> HAL_DMA_Init <LI><a href="#[c3]">>></a> HAL_DMA_DeInit <LI><a href="#[141]">>></a> Program_Init @@ -542,7 +543,7 @@ <P><STRONG><a name="[1d1]"></a>__aeabi_cfcmpeq</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, cfcmple.o(.text), UNUSED) -<P><STRONG><a name="[d6]"></a>__aeabi_cfcmple</STRONG> (Thumb, 20 bytes, Stack size 0 bytes, cfcmple.o(.text)) +<P><STRONG><a name="[d5]"></a>__aeabi_cfcmple</STRONG> (Thumb, 20 bytes, Stack size 0 bytes, cfcmple.o(.text)) <BR><BR>[Called By]<UL><LI><a href="#[d2]">>></a> HAL_LPTIM_CompareMatchCallback </UL> @@ -736,6 +737,7 @@ <BR>[Called By]<UL><LI><a href="#[124]">>></a> LoraReportPoll <LI><a href="#[121]">>></a> LoraHeartBeartPoll <LI><a href="#[18d]">>></a> SendComMap +<LI><a href="#[2d]">>></a> OnRxDone <LI><a href="#[12a]">>></a> LoraSendComMap <LI><a href="#[129]">>></a> LoraRspWriteCommap </UL> @@ -1151,8 +1153,8 @@ <LI><a href="#[10d]">>></a> IIC2_NAck <LI><a href="#[10a]">>></a> IIC2_Ack <LI><a href="#[12f]">>></a> MX_GPIO_Init -<LI><a href="#[d7]">>></a> Set4LEDColor_Off -<LI><a href="#[d4]">>></a> Set4LEDColor +<LI><a href="#[d6]">>></a> Set4LEDColor_Off +<LI><a href="#[d3]">>></a> Set4LEDColor <LI><a href="#[19a]">>></a> Uwb_CS_di <LI><a href="#[95]">>></a> Reset_DW1000 <LI><a href="#[174]">>></a> SX126xWriteRegisters @@ -1160,7 +1162,7 @@ <LI><a href="#[15f]">>></a> SX126xReadRegisters <LI><a href="#[17e]">>></a> SX126xReadBuffer <LI><a href="#[1e]">>></a> main -<LI><a href="#[d5]">>></a> Yuying_Poll +<LI><a href="#[d4]">>></a> Yuying_Poll <LI><a href="#[13f]">>></a> PowerDownDetect <LI><a href="#[118]">>></a> Jingzhi_Poll <LI><a href="#[2d]">>></a> OnRxDone @@ -1191,7 +1193,7 @@ <LI><a href="#[103]">>></a> UART_CheckIdleState </UL> -<P><STRONG><a name="[d3]"></a>HAL_IWDG_Refresh</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, stm32l0xx_hal_iwdg.o(i.HAL_IWDG_Refresh)) +<P><STRONG><a name="[d7]"></a>HAL_IWDG_Refresh</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, stm32l0xx_hal_iwdg.o(i.HAL_IWDG_Refresh)) <BR><BR>[Called By]<UL><LI><a href="#[d2]">>></a> HAL_LPTIM_CompareMatchCallback </UL> @@ -1228,17 +1230,17 @@ <BR><BR>[Called By]<UL><LI><a href="#[d8]">>></a> HAL_LPTIM_IRQHandler </UL> -<P><STRONG><a name="[d2]"></a>HAL_LPTIM_CompareMatchCallback</STRONG> (Thumb, 146 bytes, Stack size 24 bytes, main.o(i.HAL_LPTIM_CompareMatchCallback)) +<P><STRONG><a name="[d2]"></a>HAL_LPTIM_CompareMatchCallback</STRONG> (Thumb, 152 bytes, Stack size 24 bytes, main.o(i.HAL_LPTIM_CompareMatchCallback)) <BR><BR>[Stack]<UL><LI>Max Depth = 248<LI>Call Chain = HAL_LPTIM_CompareMatchCallback ⇒ SystemClock_Config ⇒ HAL_RCC_OscConfig ⇒ HAL_RCC_GetSysClockFreq ⇒ __aeabi_uldivmod ⇒ __aeabi_llsr </UL> <BR>[Calls]<UL><LI><a href="#[67]">>></a> __aeabi_i2f <LI><a href="#[59]">>></a> __aeabi_fadd -<LI><a href="#[d7]">>></a> Set4LEDColor_Off -<LI><a href="#[d4]">>></a> Set4LEDColor +<LI><a href="#[d6]">>></a> Set4LEDColor_Off +<LI><a href="#[d3]">>></a> Set4LEDColor <LI><a href="#[68]">>></a> __aeabi_ui2f -<LI><a href="#[d6]">>></a> __aeabi_cfcmple -<LI><a href="#[d3]">>></a> HAL_IWDG_Refresh -<LI><a href="#[d5]">>></a> Yuying_Poll +<LI><a href="#[d5]">>></a> __aeabi_cfcmple +<LI><a href="#[d7]">>></a> HAL_IWDG_Refresh +<LI><a href="#[d4]">>></a> Yuying_Poll <LI><a href="#[cb]">>></a> SystemClock_Config <LI><a href="#[8f]">>></a> Bat_Percent_Poll </UL> @@ -1719,11 +1721,11 @@ <BR>[Called By]<UL><LI><a href="#[1e]">>></a> main </UL> -<P><STRONG><a name="[118]"></a>Jingzhi_Poll</STRONG> (Thumb, 104 bytes, Stack size 16 bytes, main.o(i.Jingzhi_Poll)) -<BR><BR>[Stack]<UL><LI>Max Depth = 108<LI>Call Chain = Jingzhi_Poll ⇒ LpusartDeInit ⇒ HAL_UART_DeInit ⇒ HAL_UART_MspDeInit ⇒ HAL_DMA_DeInit ⇒ __aeabi_uidivmod +<P><STRONG><a name="[118]"></a>Jingzhi_Poll</STRONG> (Thumb, 106 bytes, Stack size 24 bytes, main.o(i.Jingzhi_Poll)) +<BR><BR>[Stack]<UL><LI>Max Depth = 116<LI>Call Chain = Jingzhi_Poll ⇒ LpusartDeInit ⇒ HAL_UART_DeInit ⇒ HAL_UART_MspDeInit ⇒ HAL_DMA_DeInit ⇒ __aeabi_uidivmod </UL> <BR>[Calls]<UL><LI><a href="#[10b]">>></a> HAL_GPIO_WritePin -<LI><a href="#[d7]">>></a> Set4LEDColor_Off +<LI><a href="#[d6]">>></a> Set4LEDColor_Off <LI><a href="#[eb]">>></a> HAL_SPI_DeInit <LI><a href="#[bd]">>></a> HAL_ADC_DeInit <LI><a href="#[119]">>></a> Usart5DeInit @@ -1834,8 +1836,8 @@ <BR><BR>[Called By]<UL><LI><a href="#[124]">>></a> LoraReportPoll </UL> -<P><STRONG><a name="[124]"></a>LoraReportPoll</STRONG> (Thumb, 414 bytes, Stack size 40 bytes, dw_mbx_tag.o(i.LoraReportPoll)) -<BR><BR>[Stack]<UL><LI>Max Depth = 328<LI>Call Chain = LoraReportPoll ⇒ GetPressAndHeight ⇒ pow ⇒ __kernel_poly ⇒ __aeabi_dmul ⇒ _double_epilogue ⇒ __aeabi_llsr +<P><STRONG><a name="[124]"></a>LoraReportPoll</STRONG> (Thumb, 416 bytes, Stack size 32 bytes, dw_mbx_tag.o(i.LoraReportPoll)) +<BR><BR>[Stack]<UL><LI>Max Depth = 320<LI>Call Chain = LoraReportPoll ⇒ GetPressAndHeight ⇒ pow ⇒ __kernel_poly ⇒ __aeabi_dmul ⇒ _double_epilogue ⇒ __aeabi_llsr </UL> <BR>[Calls]<UL><LI><a href="#[8e]">>></a> GetPressAndHeight <LI><a href="#[10f]">>></a> HAL_GPIO_ReadPin @@ -1870,7 +1872,7 @@ </UL> <P><STRONG><a name="[12b]"></a>Lora_Send_Poll</STRONG> (Thumb, 34 bytes, Stack size 8 bytes, main.o(i.Lora_Send_Poll)) -<BR><BR>[Stack]<UL><LI>Max Depth = 336<LI>Call Chain = Lora_Send_Poll ⇒ LoraReportPoll ⇒ GetPressAndHeight ⇒ pow ⇒ __kernel_poly ⇒ __aeabi_dmul ⇒ _double_epilogue ⇒ __aeabi_llsr +<BR><BR>[Stack]<UL><LI>Max Depth = 328<LI>Call Chain = Lora_Send_Poll ⇒ LoraReportPoll ⇒ GetPressAndHeight ⇒ pow ⇒ __kernel_poly ⇒ __aeabi_dmul ⇒ _double_epilogue ⇒ __aeabi_llsr </UL> <BR>[Calls]<UL><LI><a href="#[124]">>></a> LoraReportPoll </UL> @@ -1897,7 +1899,7 @@ <BR>[Called By]<UL><LI><a href="#[118]">>></a> Jingzhi_Poll </UL> -<P><STRONG><a name="[134]"></a>MbxTagUwbRec</STRONG> (Thumb, 392 bytes, Stack size 24 bytes, dw_mbx_tag.o(i.MbxTagUwbRec)) +<P><STRONG><a name="[134]"></a>MbxTagUwbRec</STRONG> (Thumb, 404 bytes, Stack size 24 bytes, dw_mbx_tag.o(i.MbxTagUwbRec)) <BR><BR>[Stack]<UL><LI>Max Depth = 200<LI>Call Chain = MbxTagUwbRec ⇒ Anchor_RecNearPoll ⇒ dwt_starttx ⇒ dwt_entersleepaftertx ⇒ dwt_write32bitoffsetreg ⇒ dwt_writetodevice ⇒ writetospi ⇒ Uwb_CS_di ⇒ __2printf </UL> <BR>[Calls]<UL><LI><a href="#[89]">>></a> HAL_LPTIM_ReadCounter @@ -1911,6 +1913,7 @@ <LI><a href="#[139]">>></a> dwt_forcetrxoff <LI><a href="#[13a]">>></a> dwt_entersleep <LI><a href="#[ae]">>></a> __aeabi_memcpy +<LI><a href="#[7f]">>></a> __aeabi_uidivmod </UL> <BR>[Called By]<UL><LI><a href="#[2d]">>></a> OnRxDone </UL> @@ -1918,8 +1921,8 @@ <P><STRONG><a name="[1]"></a>NMI_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, stm32l0xx_it.o(i.NMI_Handler)) <BR>[Address Reference Count : 1]<UL><LI> startup_stm32l051xx.o(RESET) </UL> -<P><STRONG><a name="[2d]"></a>OnRxDone</STRONG> (Thumb, 422 bytes, Stack size 32 bytes, lora.o(i.OnRxDone)) -<BR><BR>[Stack]<UL><LI>Max Depth = 232<LI>Call Chain = OnRxDone ⇒ MbxTagUwbRec ⇒ Anchor_RecNearPoll ⇒ dwt_starttx ⇒ dwt_entersleepaftertx ⇒ dwt_write32bitoffsetreg ⇒ dwt_writetodevice ⇒ writetospi ⇒ Uwb_CS_di ⇒ __2printf +<P><STRONG><a name="[2d]"></a>OnRxDone</STRONG> (Thumb, 500 bytes, Stack size 40 bytes, lora.o(i.OnRxDone)) +<BR><BR>[Stack]<UL><LI>Max Depth = 240<LI>Call Chain = OnRxDone ⇒ MbxTagUwbRec ⇒ Anchor_RecNearPoll ⇒ dwt_starttx ⇒ dwt_entersleepaftertx ⇒ dwt_write32bitoffsetreg ⇒ dwt_writetodevice ⇒ writetospi ⇒ Uwb_CS_di ⇒ __2printf </UL> <BR>[Calls]<UL><LI><a href="#[6a]">>></a> __aeabi_ui2d <LI><a href="#[63]">>></a> __aeabi_dsub @@ -1930,6 +1933,7 @@ <LI><a href="#[89]">>></a> HAL_LPTIM_ReadCounter <LI><a href="#[134]">>></a> MbxTagUwbRec <LI><a href="#[13b]">>></a> UWB_Wkup +<LI><a href="#[122]">>></a> Checksum_u16 <LI><a href="#[13c]">>></a> save_com_map_to_flash <LI><a href="#[6b]">>></a> __aeabi_d2iz <LI><a href="#[13d]">>></a> Usart5Init @@ -1982,7 +1986,7 @@ </UL> <BR>[Calls]<UL><LI><a href="#[10b]">>></a> HAL_GPIO_WritePin <LI><a href="#[10f]">>></a> HAL_GPIO_ReadPin -<LI><a href="#[d4]">>></a> Set4LEDColor +<LI><a href="#[d3]">>></a> Set4LEDColor <LI><a href="#[140]">>></a> delay_ms </UL> <BR>[Called By]<UL><LI><a href="#[1e]">>></a> main @@ -2011,7 +2015,7 @@ </UL> <BR>[Calls]<UL><LI><a href="#[147]">>></a> w28delay </UL> -<BR>[Called By]<UL><LI><a href="#[d4]">>></a> Set4LEDColor +<BR>[Called By]<UL><LI><a href="#[d3]">>></a> Set4LEDColor </UL> <P><STRONG><a name="[148]"></a>RGB_Set</STRONG> (Thumb, 62 bytes, Stack size 4 bytes, ws2812.o(i.RGB_Set)) @@ -2023,7 +2027,7 @@ <LI><a href="#[14a]">>></a> RGB_Set_GREEN <LI><a href="#[14c]">>></a> RGB_Set_BLUE </UL> -<BR>[Called By]<UL><LI><a href="#[d4]">>></a> Set4LEDColor +<BR>[Called By]<UL><LI><a href="#[d3]">>></a> Set4LEDColor </UL> <P><STRONG><a name="[14c]"></a>RGB_Set_BLUE</STRONG> (Thumb, 100 bytes, Stack size 4 bytes, ws2812.o(i.RGB_Set_BLUE)) @@ -2918,7 +2922,7 @@ <BR>[Called By]<UL><LI><a href="#[31]">>></a> UsartParseDataHandler </UL> -<P><STRONG><a name="[d4]"></a>Set4LEDColor</STRONG> (Thumb, 54 bytes, Stack size 24 bytes, ws2812.o(i.Set4LEDColor)) +<P><STRONG><a name="[d3]"></a>Set4LEDColor</STRONG> (Thumb, 54 bytes, Stack size 24 bytes, ws2812.o(i.Set4LEDColor)) <BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = Set4LEDColor ⇒ RGB_Set ⇒ RGB_Set_WHITE </UL> <BR>[Calls]<UL><LI><a href="#[10b]">>></a> HAL_GPIO_WritePin @@ -2930,7 +2934,7 @@ <LI><a href="#[d2]">>></a> HAL_LPTIM_CompareMatchCallback </UL> -<P><STRONG><a name="[d7]"></a>Set4LEDColor_Off</STRONG> (Thumb, 14 bytes, Stack size 8 bytes, ws2812.o(i.Set4LEDColor_Off)) +<P><STRONG><a name="[d6]"></a>Set4LEDColor_Off</STRONG> (Thumb, 14 bytes, Stack size 8 bytes, ws2812.o(i.Set4LEDColor_Off)) <BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = Set4LEDColor_Off </UL> <BR>[Calls]<UL><LI><a href="#[10b]">>></a> HAL_GPIO_WritePin @@ -3150,7 +3154,7 @@ <LI><a href="#[1ba]">>></a> readfromspi </UL> -<P><STRONG><a name="[d5]"></a>Yuying_Poll</STRONG> (Thumb, 52 bytes, Stack size 16 bytes, main.o(i.Yuying_Poll)) +<P><STRONG><a name="[d4]"></a>Yuying_Poll</STRONG> (Thumb, 52 bytes, Stack size 16 bytes, main.o(i.Yuying_Poll)) <BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = Yuying_Poll </UL> <BR>[Calls]<UL><LI><a href="#[10b]">>></a> HAL_GPIO_WritePin @@ -3718,8 +3722,8 @@ <LI><a href="#[12f]">>></a> MX_GPIO_Init <LI><a href="#[12e]">>></a> MX_DMA_Init <LI><a href="#[12d]">>></a> MX_ADC_Init -<LI><a href="#[d7]">>></a> Set4LEDColor_Off -<LI><a href="#[d4]">>></a> Set4LEDColor +<LI><a href="#[d6]">>></a> Set4LEDColor_Off +<LI><a href="#[d3]">>></a> Set4LEDColor <LI><a href="#[94]">>></a> Dw1000_Init <LI><a href="#[90]">>></a> Get_Battary <LI><a href="#[140]">>></a> delay_ms -- Gitblit v1.9.3