From 00a42dde83853cc73976901bd8a0bdc8dc0a2be3 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期一, 02 十二月 2024 10:10:32 +0800 Subject: [PATCH] V2.18 换回SF7 解决lora 有时接收不工作的问题,罗姆10标签测试通过 --- MDK-ARM/L051/L051.htm | 56 ++++++++++++++++++++++++++------------------------------ 1 files changed, 26 insertions(+), 30 deletions(-) diff --git a/MDK-ARM/L051/L051.htm b/MDK-ARM/L051/L051.htm index 7be6486..35eddcf 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: Mon Apr 01 19:05:40 2024 +<BR><P>#<CALLGRAPH># ARM Linker, 5060750: Last Updated: Wed Nov 27 14:26:12 2024 <BR><P> <H3>Maximum Stack Usage = 248 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3> Call chain for Maximum Stack Depth:</H3> @@ -189,14 +189,12 @@ <BR>[Called By]<UL><LI><a href="#[10a]">>></a> LoraUp_Poll <LI><a href="#[11f]">>></a> Program_Init <LI><a href="#[b2]">>></a> HAL_LPTIM_CompareMatchCallback -<LI><a href="#[115]">>></a> MbxTagUwbRec <LI><a href="#[10c]">>></a> Lora_Send_Poll <LI><a href="#[82]">>></a> dwt_initialise <LI><a href="#[a4]">>></a> HAL_DMA_Init <LI><a href="#[a3]">>></a> HAL_DMA_DeInit <LI><a href="#[ae]">>></a> HAL_InitTick <LI><a href="#[6a]">>></a> ADC_DelayMicroSecond -<LI><a href="#[2a]">>></a> OnRxTimeout <LI><a href="#[e2]">>></a> UART_SetConfig <LI><a href="#[c7]">>></a> HAL_RCC_GetSysClockFreq </UL> @@ -552,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, 296 bytes, Stack size 40 bytes, dw_mbx_tag.o(i.Anchor_RecNearPoll)) +<P><STRONG><a name="[6e]"></a>Anchor_RecNearPoll</STRONG> (Thumb, 294 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 ⇒ dwt_starttx ⇒ dwt_entersleepaftertx ⇒ dwt_write32bitoffsetreg ⇒ dwt_writetodevice ⇒ writetospi ⇒ Uwb_CS_di ⇒ __2printf </UL> <BR>[Calls]<UL><LI><a href="#[75]">>></a> HAL_LPTIM_ReadCounter @@ -567,7 +565,7 @@ <BR>[Called By]<UL><LI><a href="#[115]">>></a> MbxTagUwbRec </UL> -<P><STRONG><a name="[77]"></a>BeepTask</STRONG> (Thumb, 34 bytes, Stack size 8 bytes, main.o(i.BeepTask)) +<P><STRONG><a name="[77]"></a>BeepTask</STRONG> (Thumb, 40 bytes, Stack size 8 bytes, main.o(i.BeepTask)) <BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = BeepTask ⇒ HAL_TIM_PWM_Stop ⇒ TIM_CCxChannelCmd </UL> <BR>[Calls]<UL><LI><a href="#[79]">>></a> HAL_TIM_PWM_Stop @@ -942,7 +940,6 @@ <LI><a href="#[e9]">>></a> HAL_UART_RxCpltCallback <LI><a href="#[b2]">>></a> HAL_LPTIM_CompareMatchCallback <LI><a href="#[10f]">>></a> MX_GPIO_Init -<LI><a href="#[115]">>></a> MbxTagUwbRec <LI><a href="#[104]">>></a> LoraReportPoll <LI><a href="#[ff]">>></a> LedTask <LI><a href="#[b9]">>></a> LedOff_task @@ -1094,7 +1091,6 @@ <BR><BR>[Called By]<UL><LI><a href="#[10a]">>></a> LoraUp_Poll <LI><a href="#[115]">>></a> MbxTagUwbRec <LI><a href="#[6e]">>></a> Anchor_RecNearPoll -<LI><a href="#[2a]">>></a> OnRxTimeout <LI><a href="#[28]">>></a> OnRxDone </UL> @@ -1491,7 +1487,7 @@ <BR>[Called By]<UL><LI><a href="#[1e]">>></a> main </UL> -<P><STRONG><a name="[f9]"></a>LIS3DH_Data_Init</STRONG> (Thumb, 98 bytes, Stack size 8 bytes, lis3dh_driver.o(i.LIS3DH_Data_Init)) +<P><STRONG><a name="[f9]"></a>LIS3DH_Data_Init</STRONG> (Thumb, 94 bytes, Stack size 8 bytes, lis3dh_driver.o(i.LIS3DH_Data_Init)) <BR><BR>[Stack]<UL><LI>Max Depth = 72<LI>Call Chain = LIS3DH_Data_Init ⇒ LIS3DH_WriteReg ⇒ LIS3DH_WriteOneByte ⇒ IIC2_Wait_Ack ⇒ IIC2_Stop </UL> <BR>[Calls]<UL><LI><a href="#[ee]">>></a> delay_us @@ -1597,11 +1593,11 @@ <BR>[Called By]<UL><LI><a href="#[1e]">>></a> main </UL> -<P><STRONG><a name="[106]"></a>LoraReportFreqPoll</STRONG> (Thumb, 54 bytes, Stack size 0 bytes, dw_mbx_tag.o(i.LoraReportFreqPoll)) +<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]">>></a> LoraReportPoll </UL> -<P><STRONG><a name="[104]"></a>LoraReportPoll</STRONG> (Thumb, 344 bytes, Stack size 32 bytes, dw_mbx_tag.o(i.LoraReportPoll)) +<P><STRONG><a name="[104]"></a>LoraReportPoll</STRONG> (Thumb, 350 bytes, Stack size 32 bytes, dw_mbx_tag.o(i.LoraReportPoll)) <BR><BR>[Stack]<UL><LI>Max Depth = 184<LI>Call Chain = LoraReportPoll ⇒ Get_Battary ⇒ __aeabi_dmul ⇒ _double_epilogue ⇒ _double_round </UL> <BR>[Calls]<UL><LI><a href="#[99]">>></a> HAL_GPIO_WritePin @@ -1635,7 +1631,7 @@ <BR>[Called By]<UL><LI><a href="#[28]">>></a> OnRxDone </UL> -<P><STRONG><a name="[10a]"></a>LoraUp_Poll</STRONG> (Thumb, 590 bytes, Stack size 32 bytes, lora.o(i.LoraUp_Poll)) +<P><STRONG><a name="[10a]"></a>LoraUp_Poll</STRONG> (Thumb, 588 bytes, Stack size 32 bytes, lora.o(i.LoraUp_Poll)) <BR><BR>[Stack]<UL><LI>Max Depth = 112<LI>Call Chain = LoraUp_Poll ⇒ FLASH_Prepare ⇒ HAL_FLASHEx_Erase ⇒ FLASH_WaitForLastOperation ⇒ FLASH_SetErrorCode </UL> <BR>[Calls]<UL><LI><a href="#[b3]">>></a> HAL_IWDG_Refresh @@ -1655,10 +1651,11 @@ <BR>[Called By]<UL><LI><a href="#[1e]">>></a> main </UL> -<P><STRONG><a name="[10c]"></a>Lora_Send_Poll</STRONG> (Thumb, 52 bytes, Stack size 16 bytes, dw_mbx_tag.o(i.Lora_Send_Poll)) +<P><STRONG><a name="[10c]"></a>Lora_Send_Poll</STRONG> (Thumb, 126 bytes, Stack size 16 bytes, dw_mbx_tag.o(i.Lora_Send_Poll)) <BR><BR>[Stack]<UL><LI>Max Depth = 200<LI>Call Chain = Lora_Send_Poll ⇒ LoraReportPoll ⇒ Get_Battary ⇒ __aeabi_dmul ⇒ _double_epilogue ⇒ _double_round </UL> -<BR>[Calls]<UL><LI><a href="#[104]">>></a> LoraReportPoll +<BR>[Calls]<UL><LI><a href="#[103]">>></a> SwitchLoraSettings +<LI><a href="#[104]">>></a> LoraReportPoll <LI><a href="#[ff]">>></a> LedTask <LI><a href="#[b9]">>></a> LedOff_task <LI><a href="#[6b]">>></a> __aeabi_uidivmod @@ -1666,11 +1663,10 @@ <BR>[Called By]<UL><LI><a href="#[1e]">>></a> main </UL> -<P><STRONG><a name="[115]"></a>MbxTagUwbRec</STRONG> (Thumb, 404 bytes, Stack size 24 bytes, dw_mbx_tag.o(i.MbxTagUwbRec)) +<P><STRONG><a name="[115]"></a>MbxTagUwbRec</STRONG> (Thumb, 422 bytes, Stack size 24 bytes, dw_mbx_tag.o(i.MbxTagUwbRec)) <BR><BR>[Stack]<UL><LI>Max Depth = 184<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="#[99]">>></a> HAL_GPIO_WritePin -<LI><a href="#[75]">>></a> HAL_LPTIM_ReadCounter +<BR>[Calls]<UL><LI><a href="#[75]">>></a> HAL_LPTIM_ReadCounter <LI><a href="#[7c]">>></a> CmpTagInList <LI><a href="#[6e]">>></a> Anchor_RecNearPoll <LI><a href="#[118]">>></a> dwt_write32bitoffsetreg @@ -1681,7 +1677,6 @@ <LI><a href="#[11a]">>></a> dwt_forcetrxoff <LI><a href="#[11b]">>></a> dwt_entersleep <LI><a href="#[107]">>></a> __aeabi_memcpy -<LI><a href="#[6b]">>></a> __aeabi_uidivmod </UL> <BR>[Called By]<UL><LI><a href="#[28]">>></a> OnRxDone </UL> @@ -1689,7 +1684,7 @@ <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="[28]"></a>OnRxDone</STRONG> (Thumb, 510 bytes, Stack size 40 bytes, lora.o(i.OnRxDone)) +<P><STRONG><a name="[28]"></a>OnRxDone</STRONG> (Thumb, 524 bytes, Stack size 40 bytes, lora.o(i.OnRxDone)) <BR><BR>[Stack]<UL><LI>Max Depth = 224<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="#[63]">>></a> __aeabi_ui2d @@ -1711,19 +1706,17 @@ </UL> <BR>[Address Reference Count : 1]<UL><LI> lora.o(i.LoraInit) </UL> -<P><STRONG><a name="[2b]"></a>OnRxError</STRONG> (Thumb, 34 bytes, Stack size 8 bytes, lora.o(i.OnRxError)) +<P><STRONG><a name="[2b]"></a>OnRxError</STRONG> (Thumb, 40 bytes, Stack size 8 bytes, lora.o(i.OnRxError)) <BR><BR>[Stack]<UL><LI>Max Depth = 80<LI>Call Chain = OnRxError ⇒ SwitchLoraSettings </UL> <BR>[Calls]<UL><LI><a href="#[103]">>></a> SwitchLoraSettings </UL> <BR>[Address Reference Count : 1]<UL><LI> lora.o(i.LoraInit) </UL> -<P><STRONG><a name="[2a]"></a>OnRxTimeout</STRONG> (Thumb, 84 bytes, Stack size 16 bytes, lora.o(i.OnRxTimeout)) -<BR><BR>[Stack]<UL><LI>Max Depth = 88<LI>Call Chain = OnRxTimeout ⇒ SwitchLoraSettings +<P><STRONG><a name="[2a]"></a>OnRxTimeout</STRONG> (Thumb, 68 bytes, Stack size 8 bytes, lora.o(i.OnRxTimeout)) +<BR><BR>[Stack]<UL><LI>Max Depth = 80<LI>Call Chain = OnRxTimeout ⇒ SwitchLoraSettings </UL> <BR>[Calls]<UL><LI><a href="#[103]">>></a> SwitchLoraSettings -<LI><a href="#[75]">>></a> HAL_LPTIM_ReadCounter -<LI><a href="#[6b]">>></a> __aeabi_uidivmod </UL> <BR>[Address Reference Count : 1]<UL><LI> lora.o(i.LoraInit) </UL> @@ -1735,7 +1728,7 @@ </UL> <BR>[Address Reference Count : 1]<UL><LI> lora.o(i.LoraInit) </UL> -<P><STRONG><a name="[29]"></a>OnTxTimeout</STRONG> (Thumb, 34 bytes, Stack size 8 bytes, lora.o(i.OnTxTimeout)) +<P><STRONG><a name="[29]"></a>OnTxTimeout</STRONG> (Thumb, 40 bytes, Stack size 8 bytes, lora.o(i.OnTxTimeout)) <BR><BR>[Stack]<UL><LI>Max Depth = 80<LI>Call Chain = OnTxTimeout ⇒ SwitchLoraSettings </UL> <BR>[Calls]<UL><LI><a href="#[103]">>></a> SwitchLoraSettings @@ -1753,7 +1746,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, 226 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 ⇒ ceil ⇒ __aeabi_drsub ⇒ __aeabi_dadd ⇒ _double_epilogue ⇒ _double_round </UL> <BR>[Calls]<UL><LI><a href="#[63]">>></a> __aeabi_ui2d @@ -2039,12 +2032,13 @@ <BR>[Called By]<UL><LI><a href="#[7f]">>></a> Dw1000_Init </UL> -<P><STRONG><a name="[148]"></a>ReturnFactorySettings</STRONG> (Thumb, 90 bytes, Stack size 8 bytes, global_param.o(i.ReturnFactorySettings)) +<P><STRONG><a name="[148]"></a>ReturnFactorySettings</STRONG> (Thumb, 84 bytes, Stack size 8 bytes, global_param.o(i.ReturnFactorySettings)) <BR><BR>[Stack]<UL><LI>Max Depth = 104<LI>Call Chain = ReturnFactorySettings ⇒ save_com_map_to_flash ⇒ FLASH_Prepare ⇒ HAL_FLASHEx_Erase ⇒ FLASH_WaitForLastOperation ⇒ FLASH_SetErrorCode </UL> <BR>[Calls]<UL><LI><a href="#[b6]">>></a> save_com_map_to_flash </UL> <BR>[Called By]<UL><LI><a href="#[169]">>></a> UpdateProcess +<LI><a href="#[b5]">>></a> parameter_init </UL> <P><STRONG><a name="[120]"></a>STMFLASH_ReadHalfWord</STRONG> (Thumb, 4 bytes, Stack size 0 bytes, flash.o(i.STMFLASH_ReadHalfWord)) @@ -2625,6 +2619,7 @@ </UL> <BR>[Called By]<UL><LI><a href="#[10a]">>></a> LoraUp_Poll <LI><a href="#[102]">>></a> LoraInit +<LI><a href="#[10c]">>></a> Lora_Send_Poll <LI><a href="#[104]">>></a> LoraReportPoll <LI><a href="#[29]">>></a> OnTxTimeout <LI><a href="#[2a]">>></a> OnRxTimeout @@ -3215,7 +3210,7 @@ </UL> <BR>[Address Reference Count : 1]<UL><LI> printfb.o(i.__0printf$bare) </UL> -<P><STRONG><a name="[1e]"></a>main</STRONG> (Thumb, 278 bytes, Stack size 0 bytes, main.o(i.main)) +<P><STRONG><a name="[1e]"></a>main</STRONG> (Thumb, 284 bytes, Stack size 0 bytes, main.o(i.main)) <BR><BR>[Stack]<UL><LI>Max Depth = 200<LI>Call Chain = main ⇒ Lora_Send_Poll ⇒ LoraReportPoll ⇒ Get_Battary ⇒ __aeabi_dmul ⇒ _double_epilogue ⇒ _double_round </UL> <BR>[Calls]<UL><LI><a href="#[99]">>></a> HAL_GPIO_WritePin @@ -3249,10 +3244,11 @@ </UL> <BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B) </UL> -<P><STRONG><a name="[b5]"></a>parameter_init</STRONG> (Thumb, 16 bytes, Stack size 8 bytes, global_param.o(i.parameter_init)) -<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = parameter_init ⇒ FLASH_Read +<P><STRONG><a name="[b5]"></a>parameter_init</STRONG> (Thumb, 30 bytes, Stack size 8 bytes, global_param.o(i.parameter_init)) +<BR><BR>[Stack]<UL><LI>Max Depth = 112<LI>Call Chain = parameter_init ⇒ ReturnFactorySettings ⇒ save_com_map_to_flash ⇒ FLASH_Prepare ⇒ HAL_FLASHEx_Erase ⇒ FLASH_WaitForLastOperation ⇒ FLASH_SetErrorCode </UL> -<BR>[Calls]<UL><LI><a href="#[17e]">>></a> FLASH_Read +<BR>[Calls]<UL><LI><a href="#[148]">>></a> ReturnFactorySettings +<LI><a href="#[17e]">>></a> FLASH_Read </UL> <BR>[Called By]<UL><LI><a href="#[11f]">>></a> Program_Init <LI><a href="#[b2]">>></a> HAL_LPTIM_CompareMatchCallback -- Gitblit v1.9.3