From 56336ce608d00c214057e430517762deff487122 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期二, 01 七月 2025 18:14:26 +0800 Subject: [PATCH] 修改了一些授权判断逻辑,授权查找未修改 --- keil/Objects/uwb_simple_example.htm | 102 +++++++++++++++++++++++++------------------------- 1 files changed, 51 insertions(+), 51 deletions(-) diff --git a/keil/Objects/uwb_simple_example.htm b/keil/Objects/uwb_simple_example.htm index cb79395..9eca691 100644 --- a/keil/Objects/uwb_simple_example.htm +++ b/keil/Objects/uwb_simple_example.htm @@ -3,7 +3,7 @@ <title>Static Call Graph - [.\Objects\uwb_simple_example.axf]</title></head> <body><HR> <H1>Static Call Graph for image .\Objects\uwb_simple_example.axf</H1><HR> -<BR><P>#<CALLGRAPH># ARM Linker, 6140002: Last Updated: Sun Jun 29 17:22:12 2025 +<BR><P>#<CALLGRAPH># ARM Linker, 6140002: Last Updated: Tue Jul 1 17:23:13 2025 <BR><P> <H3>Maximum Stack Usage = 1580 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3> Call chain for Maximum Stack Depth:</H3> @@ -612,25 +612,23 @@ </UL> <BR>[Address Reference Count : 1]<UL><LI> startup_mk800x.o(RESET) </UL> -<P><STRONG><a name="[67]"></a>Anchor_App</STRONG> (Thumb, 420 bytes, Stack size 40 bytes, uwb_app.o(.text.Anchor_App)) -<BR><BR>[Stack]<UL><LI>Max Depth = 500<LI>Call Chain = Anchor_App ⇒ Anchor_RecNearPoll ⇒ uwb_tx ⇒ mac_tx ⇒ mac_tx_desc_construct ⇒ trace_assert_dump ⇒ trace_print_backtrace ⇒ mk_snprintf ⇒ trace_format ⇒ _PrintInt ⇒ _PrintUnsigned ⇒ __aeabi_uidiv +<P><STRONG><a name="[67]"></a>Anchor_App</STRONG> (Thumb, 348 bytes, Stack size 40 bytes, uwb_app.o(.text.Anchor_App)) +<BR><BR>[Stack]<UL><LI>Max Depth = 492<LI>Call Chain = Anchor_App ⇒ Anchor_RecNearPoll ⇒ uwb_tx ⇒ mac_tx ⇒ mac_tx_desc_construct ⇒ trace_assert_dump ⇒ trace_print_backtrace ⇒ mk_snprintf ⇒ trace_format ⇒ _PrintInt ⇒ _PrintUnsigned ⇒ __aeabi_uidiv </UL> -<BR>[Calls]<UL><LI><a href="#[6a]">>></a> gpio_pin_set -<LI><a href="#[6b]">>></a> gpio_pin_clr -<LI><a href="#[69]">>></a> Anchor_RecNearPoll +<BR>[Calls]<UL><LI><a href="#[69]">>></a> Anchor_RecNearPoll <LI><a href="#[68]">>></a> __aeabi_memcpy </UL> <BR>[Called By]<UL><LI><a href="#[2d]">>></a> rx_int_callback </UL> -<P><STRONG><a name="[69]"></a>Anchor_RecNearPoll</STRONG> (Thumb, 268 bytes, Stack size 32 bytes, uwb_app.o(.text.Anchor_RecNearPoll)) -<BR><BR>[Stack]<UL><LI>Max Depth = 460<LI>Call Chain = Anchor_RecNearPoll ⇒ uwb_tx ⇒ mac_tx ⇒ mac_tx_desc_construct ⇒ trace_assert_dump ⇒ trace_print_backtrace ⇒ mk_snprintf ⇒ trace_format ⇒ _PrintInt ⇒ _PrintUnsigned ⇒ __aeabi_uidiv +<P><STRONG><a name="[69]"></a>Anchor_RecNearPoll</STRONG> (Thumb, 280 bytes, Stack size 24 bytes, uwb_app.o(.text.Anchor_RecNearPoll)) +<BR><BR>[Stack]<UL><LI>Max Depth = 452<LI>Call Chain = Anchor_RecNearPoll ⇒ uwb_tx ⇒ mac_tx ⇒ mac_tx_desc_construct ⇒ trace_assert_dump ⇒ trace_print_backtrace ⇒ mk_snprintf ⇒ trace_format ⇒ _PrintInt ⇒ _PrintUnsigned ⇒ __aeabi_uidiv </UL> -<BR>[Calls]<UL><LI><a href="#[70]">>></a> uwb_tx -<LI><a href="#[6f]">>></a> phy_timer_count_get -<LI><a href="#[6d]">>></a> ranging_tx_time -<LI><a href="#[6c]">>></a> phy_shr_duration -<LI><a href="#[6e]">>></a> ranging_ant_delays_get +<BR>[Calls]<UL><LI><a href="#[6e]">>></a> uwb_tx +<LI><a href="#[6d]">>></a> phy_timer_count_get +<LI><a href="#[6b]">>></a> ranging_tx_time +<LI><a href="#[6a]">>></a> phy_shr_duration +<LI><a href="#[6c]">>></a> ranging_ant_delays_get </UL> <BR>[Called By]<UL><LI><a href="#[67]">>></a> Anchor_App </UL> @@ -712,16 +710,16 @@ <P><STRONG><a name="[2]"></a>HardFault_Handler</STRONG> (Thumb, 124 bytes, Stack size 0 bytes, mk_trace.o(.text.HardFault_Handler)) <BR><BR>[Stack]<UL><LI>Max Depth = 276<LI>Call Chain = HardFault_Handler ⇒ trace_exception_handler ⇒ trace_print_backtrace ⇒ mk_snprintf ⇒ trace_format ⇒ _PrintInt ⇒ _PrintUnsigned ⇒ __aeabi_uidiv </UL> -<BR>[Calls]<UL><LI><a href="#[71]">>></a> trace_exception_handler +<BR>[Calls]<UL><LI><a href="#[6f]">>></a> trace_exception_handler </UL> <BR>[Address Reference Count : 1]<UL><LI> startup_mk800x.o(RESET) </UL> -<P><STRONG><a name="[72]"></a>IIC2_Send_pca_Byte</STRONG> (Thumb, 430 bytes, Stack size 16 bytes, pca9555.o(.text.IIC2_Send_pca_Byte)) +<P><STRONG><a name="[70]"></a>IIC2_Send_pca_Byte</STRONG> (Thumb, 430 bytes, Stack size 16 bytes, pca9555.o(.text.IIC2_Send_pca_Byte)) <BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = IIC2_Send_pca_Byte </UL> <BR>[Calls]<UL><LI><a href="#[73]">>></a> delay_us -<LI><a href="#[6a]">>></a> gpio_pin_set -<LI><a href="#[6b]">>></a> gpio_pin_clr +<LI><a href="#[72]">>></a> gpio_pin_set +<LI><a href="#[71]">>></a> gpio_pin_clr </UL> <BR>[Called By]<UL><LI><a href="#[77]">>></a> IIC_Write_Pca9555 </UL> @@ -731,9 +729,9 @@ </UL> <BR>[Calls]<UL><LI><a href="#[73]">>></a> delay_us <LI><a href="#[75]">>></a> gpio_pin_set_dir -<LI><a href="#[6a]">>></a> gpio_pin_set +<LI><a href="#[72]">>></a> gpio_pin_set <LI><a href="#[76]">>></a> gpio_pin_get_val -<LI><a href="#[6b]">>></a> gpio_pin_clr +<LI><a href="#[71]">>></a> gpio_pin_clr </UL> <BR>[Called By]<UL><LI><a href="#[77]">>></a> IIC_Write_Pca9555 </UL> @@ -742,10 +740,10 @@ <BR><BR>[Stack]<UL><LI>Max Depth = 56<LI>Call Chain = IIC_Write_Pca9555 ⇒ IIC2_Wait_pca_Ack </UL> <BR>[Calls]<UL><LI><a href="#[73]">>></a> delay_us -<LI><a href="#[6a]">>></a> gpio_pin_set -<LI><a href="#[6b]">>></a> gpio_pin_clr +<LI><a href="#[72]">>></a> gpio_pin_set +<LI><a href="#[71]">>></a> gpio_pin_clr <LI><a href="#[74]">>></a> IIC2_Wait_pca_Ack -<LI><a href="#[72]">>></a> IIC2_Send_pca_Byte +<LI><a href="#[70]">>></a> IIC2_Send_pca_Byte </UL> <BR>[Called By]<UL><LI><a href="#[9e]">>></a> PCA9555_Set_One_Value_Output </UL> @@ -1035,7 +1033,7 @@ </UL> <BR>[Address Reference Count : 1]<UL><LI> startup_mk800x.o(RESET) </UL> -<P><STRONG><a name="[ae]"></a>SecondTask</STRONG> (Thumb, 192 bytes, Stack size 24 bytes, main.o(.text.SecondTask)) +<P><STRONG><a name="[ae]"></a>SecondTask</STRONG> (Thumb, 196 bytes, Stack size 24 bytes, main.o(.text.SecondTask)) <BR><BR>[Stack]<UL><LI>Max Depth = 852<LI>Call Chain = SecondTask ⇒ copy_taglist_to_flash ⇒ save_taglist_map_to_flash ⇒ flash_open ⇒ trace_printf ⇒ trace_output ⇒ trace_printf (Cycle) </UL> <BR>[Calls]<UL><LI><a href="#[af]">>></a> adc_get @@ -1079,10 +1077,12 @@ </UL> <BR>[Address Reference Count : 1]<UL><LI> startup_mk800x.o(RESET) </UL> -<P><STRONG><a name="[b6]"></a>TagListUpdate</STRONG> (Thumb, 292 bytes, Stack size 48 bytes, uwb_app.o(.text.TagListUpdate)) +<P><STRONG><a name="[b6]"></a>TagListUpdate</STRONG> (Thumb, 448 bytes, Stack size 48 bytes, uwb_app.o(.text.TagListUpdate)) <BR><BR>[Stack]<UL><LI>Max Depth = 48<LI>Call Chain = TagListUpdate </UL> -<BR>[Calls]<UL><LI><a href="#[3b]">>></a> __aeabi_memclr +<BR>[Calls]<UL><LI><a href="#[72]">>></a> gpio_pin_set +<LI><a href="#[71]">>></a> gpio_pin_clr +<LI><a href="#[3b]">>></a> __aeabi_memclr </UL> <BR>[Called By]<UL><LI><a href="#[10f]">>></a> uwb_app_poll </UL> @@ -1397,7 +1397,7 @@ <LI><a href="#[128]">>></a> uart_open <LI><a href="#[77]">>></a> IIC_Write_Pca9555 <LI><a href="#[74]">>></a> IIC2_Wait_pca_Ack -<LI><a href="#[72]">>></a> IIC2_Send_pca_Byte +<LI><a href="#[70]">>></a> IIC2_Send_pca_Byte <LI><a href="#[cf]">>></a> uwb_configure <LI><a href="#[df]">>></a> board_clock_run <LI><a href="#[bf]">>></a> UpdateProcess @@ -1618,22 +1618,22 @@ <BR>[Called By]<UL><LI><a href="#[24]">>></a> main </UL> -<P><STRONG><a name="[6b]"></a>gpio_pin_clr</STRONG> (Thumb, 16 bytes, Stack size 0 bytes, mk_gpio.o(.text.gpio_pin_clr)) +<P><STRONG><a name="[71]"></a>gpio_pin_clr</STRONG> (Thumb, 16 bytes, Stack size 0 bytes, mk_gpio.o(.text.gpio_pin_clr)) <BR><BR>[Called By]<UL><LI><a href="#[77]">>></a> IIC_Write_Pca9555 <LI><a href="#[74]">>></a> IIC2_Wait_pca_Ack -<LI><a href="#[72]">>></a> IIC2_Send_pca_Byte -<LI><a href="#[67]">>></a> Anchor_App +<LI><a href="#[70]">>></a> IIC2_Send_pca_Byte +<LI><a href="#[b6]">>></a> TagListUpdate </UL> <P><STRONG><a name="[76]"></a>gpio_pin_get_val</STRONG> (Thumb, 16 bytes, Stack size 0 bytes, mk_gpio.o(.text.gpio_pin_get_val)) <BR><BR>[Called By]<UL><LI><a href="#[74]">>></a> IIC2_Wait_pca_Ack </UL> -<P><STRONG><a name="[6a]"></a>gpio_pin_set</STRONG> (Thumb, 16 bytes, Stack size 0 bytes, mk_gpio.o(.text.gpio_pin_set)) +<P><STRONG><a name="[72]"></a>gpio_pin_set</STRONG> (Thumb, 16 bytes, Stack size 0 bytes, mk_gpio.o(.text.gpio_pin_set)) <BR><BR>[Called By]<UL><LI><a href="#[77]">>></a> IIC_Write_Pca9555 <LI><a href="#[74]">>></a> IIC2_Wait_pca_Ack -<LI><a href="#[72]">>></a> IIC2_Send_pca_Byte -<LI><a href="#[67]">>></a> Anchor_App +<LI><a href="#[70]">>></a> IIC2_Send_pca_Byte +<LI><a href="#[b6]">>></a> TagListUpdate </UL> <P><STRONG><a name="[75]"></a>gpio_pin_set_dir</STRONG> (Thumb, 80 bytes, Stack size 0 bytes, mk_gpio.o(.text.gpio_pin_set_dir)) @@ -1731,7 +1731,7 @@ <BR><BR>[Stack]<UL><LI>Max Depth = 332<LI>Call Chain = mac_cs_construct ⇒ trace_assert_dump ⇒ trace_print_backtrace ⇒ mk_snprintf ⇒ trace_format ⇒ _PrintInt ⇒ _PrintUnsigned ⇒ __aeabi_uidiv </UL> <BR>[Calls]<UL><LI><a href="#[65]">>></a> trace_assert_dump -<LI><a href="#[6f]">>></a> phy_timer_count_get +<LI><a href="#[6d]">>></a> phy_timer_count_get <LI><a href="#[fb]">>></a> phy_crypto_sts_index_get </UL> <BR>[Called By]<UL><LI><a href="#[103]">>></a> mac_tx @@ -1782,7 +1782,7 @@ </UL> <P><STRONG><a name="[134]"></a>mac_start</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, mk_mac.o(.text.mac_start)) -<BR><BR>[Called By]<UL><LI><a href="#[70]">>></a> uwb_tx +<BR><BR>[Called By]<UL><LI><a href="#[6e]">>></a> uwb_tx <LI><a href="#[9d]">>></a> uwb_rx </UL> @@ -1802,7 +1802,7 @@ <LI><a href="#[fa]">>></a> mac_cs_construct <LI><a href="#[104]">>></a> mac_tx_desc_construct </UL> -<BR>[Called By]<UL><LI><a href="#[70]">>></a> uwb_tx +<BR>[Called By]<UL><LI><a href="#[6e]">>></a> uwb_tx </UL> <P><STRONG><a name="[104]"></a>mac_tx_desc_construct</STRONG> (Thumb, 328 bytes, Stack size 56 bytes, mk_mac.o(.text.mac_tx_desc_construct)) @@ -1862,7 +1862,7 @@ </UL> <BR>[Called By]<UL><LI><a href="#[66]">>></a> trace_printf <LI><a href="#[65]">>></a> trace_assert_dump -<LI><a href="#[71]">>></a> trace_exception_handler +<LI><a href="#[6f]">>></a> trace_exception_handler <LI><a href="#[125]">>></a> trace_print_backtrace </UL> @@ -1953,12 +1953,12 @@ <BR>[Called By]<UL><LI><a href="#[cf]">>></a> uwb_configure </UL> -<P><STRONG><a name="[6c]"></a>phy_shr_duration</STRONG> (Thumb, 20 bytes, Stack size 0 bytes, mk_phy.o(.text.phy_shr_duration)) +<P><STRONG><a name="[6a]"></a>phy_shr_duration</STRONG> (Thumb, 20 bytes, Stack size 0 bytes, mk_phy.o(.text.phy_shr_duration)) <BR><BR>[Called By]<UL><LI><a href="#[69]">>></a> Anchor_RecNearPoll <LI><a href="#[2d]">>></a> rx_int_callback </UL> -<P><STRONG><a name="[6f]"></a>phy_timer_count_get</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, mk_phy.o(.text.phy_timer_count_get)) +<P><STRONG><a name="[6d]"></a>phy_timer_count_get</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, mk_phy.o(.text.phy_timer_count_get)) <BR><BR>[Called By]<UL><LI><a href="#[69]">>></a> Anchor_RecNearPoll <LI><a href="#[2c]">>></a> tx_int_callback <LI><a href="#[2d]">>></a> rx_int_callback @@ -2013,7 +2013,7 @@ <BR>[Calls]<UL><LI><a href="#[11b]">>></a> power_fem_tx_ctrl <LI><a href="#[11c]">>></a> power_fem_rx_ctrl </UL> -<BR>[Called By]<UL><LI><a href="#[70]">>></a> uwb_tx +<BR>[Called By]<UL><LI><a href="#[6e]">>></a> uwb_tx <LI><a href="#[9d]">>></a> uwb_rx </UL> @@ -2021,7 +2021,7 @@ <BR><BR>[Called By]<UL><LI><a href="#[10d]">>></a> sleep_timer_open </UL> -<P><STRONG><a name="[6e]"></a>ranging_ant_delays_get</STRONG> (Thumb, 20 bytes, Stack size 0 bytes, lib_ranging.o(.text.ranging_ant_delays_get)) +<P><STRONG><a name="[6c]"></a>ranging_ant_delays_get</STRONG> (Thumb, 20 bytes, Stack size 0 bytes, lib_ranging.o(.text.ranging_ant_delays_get)) <BR><BR>[Called By]<UL><LI><a href="#[69]">>></a> Anchor_RecNearPoll <LI><a href="#[2d]">>></a> rx_int_callback </UL> @@ -2055,7 +2055,7 @@ <BR>[Called By]<UL><LI><a href="#[2d]">>></a> rx_int_callback </UL> -<P><STRONG><a name="[6d]"></a>ranging_tx_time</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, lib_ranging.o(.text.ranging_tx_time)) +<P><STRONG><a name="[6b]"></a>ranging_tx_time</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, lib_ranging.o(.text.ranging_tx_time)) <BR><BR>[Called By]<UL><LI><a href="#[69]">>></a> Anchor_RecNearPoll </UL> @@ -2163,7 +2163,7 @@ </UL> <BR>[Called By]<UL><LI><a href="#[66]">>></a> trace_printf <LI><a href="#[65]">>></a> trace_assert_dump -<LI><a href="#[71]">>></a> trace_exception_handler +<LI><a href="#[6f]">>></a> trace_exception_handler </UL> <P><STRONG><a name="[7f]"></a>sys_timer_get</STRONG> (Thumb, 12 bytes, Stack size 8 bytes, mk_misc.o(.text.sys_timer_get)) @@ -2239,10 +2239,10 @@ <BR><BR>[Calls]<UL><LI><a href="#[dd]">>></a> reset_module </UL> <BR>[Called By]<UL><LI><a href="#[65]">>></a> trace_assert_dump -<LI><a href="#[71]">>></a> trace_exception_handler +<LI><a href="#[6f]">>></a> trace_exception_handler </UL> -<P><STRONG><a name="[71]"></a>trace_exception_handler</STRONG> (Thumb, 1152 bytes, Stack size 40 bytes, mk_trace.o(.text.trace_exception_handler)) +<P><STRONG><a name="[6f]"></a>trace_exception_handler</STRONG> (Thumb, 1152 bytes, Stack size 40 bytes, mk_trace.o(.text.trace_exception_handler)) <BR><BR>[Stack]<UL><LI>Max Depth = 276<LI>Call Chain = trace_exception_handler ⇒ trace_print_backtrace ⇒ mk_snprintf ⇒ trace_format ⇒ _PrintInt ⇒ _PrintUnsigned ⇒ __aeabi_uidiv </UL> <BR>[Calls]<UL><LI><a href="#[124]">>></a> sys_tick_us @@ -2260,7 +2260,7 @@ <BR>[Calls]<UL><LI><a href="#[127]">>></a> uart_tx_in_progress </UL> <BR>[Called By]<UL><LI><a href="#[65]">>></a> trace_assert_dump -<LI><a href="#[71]">>></a> trace_exception_handler +<LI><a href="#[6f]">>></a> trace_exception_handler </UL> <P><STRONG><a name="[111]"></a>trace_format</STRONG> (Thumb, 968 bytes, Stack size 72 bytes, mk_trace.o(.text.trace_format)) @@ -2465,7 +2465,7 @@ <LI><a href="#[2d]">>></a> rx_int_callback </UL> -<P><STRONG><a name="[70]"></a>uwb_tx</STRONG> (Thumb, 84 bytes, Stack size 24 bytes, mk_uwb.o(.text.uwb_tx)) +<P><STRONG><a name="[6e]"></a>uwb_tx</STRONG> (Thumb, 84 bytes, Stack size 24 bytes, mk_uwb.o(.text.uwb_tx)) <BR><BR>[Stack]<UL><LI>Max Depth = 428<LI>Call Chain = uwb_tx ⇒ mac_tx ⇒ mac_tx_desc_construct ⇒ trace_assert_dump ⇒ trace_print_backtrace ⇒ mk_snprintf ⇒ trace_format ⇒ _PrintInt ⇒ _PrintUnsigned ⇒ __aeabi_uidiv </UL> <BR>[Calls]<UL><LI><a href="#[11d]">>></a> power_on_radio @@ -2612,7 +2612,7 @@ <BR>[Calls]<UL><LI><a href="#[110]">>></a> mk_snprintf </UL> <BR>[Called By]<UL><LI><a href="#[65]">>></a> trace_assert_dump -<LI><a href="#[71]">>></a> trace_exception_handler +<LI><a href="#[6f]">>></a> trace_exception_handler </UL> <P><STRONG><a name="[35]"></a>trace_sending_continue</STRONG> (Thumb, 228 bytes, Stack size 24 bytes, mk_trace.o(.text.trace_sending_continue)) @@ -2649,11 +2649,11 @@ </UL> <BR>[Calls]<UL><LI><a href="#[11a]">>></a> power_off_radio <LI><a href="#[9d]">>></a> uwb_rx -<LI><a href="#[6f]">>></a> phy_timer_count_get +<LI><a href="#[6d]">>></a> phy_timer_count_get <LI><a href="#[11e]">>></a> ranging_rx_time -<LI><a href="#[6c]">>></a> phy_shr_duration +<LI><a href="#[6a]">>></a> phy_shr_duration <LI><a href="#[67]">>></a> Anchor_App -<LI><a href="#[6e]">>></a> ranging_ant_delays_get +<LI><a href="#[6c]">>></a> ranging_ant_delays_get <LI><a href="#[68]">>></a> __aeabi_memcpy </UL> <BR>[Address Reference Count : 1]<UL><LI> uwb_app.o(.text.Uwb_init) @@ -2662,7 +2662,7 @@ <BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = tx_int_callback ⇒ power_off_radio </UL> <BR>[Calls]<UL><LI><a href="#[11a]">>></a> power_off_radio -<LI><a href="#[6f]">>></a> phy_timer_count_get +<LI><a href="#[6d]">>></a> phy_timer_count_get </UL> <BR>[Address Reference Count : 1]<UL><LI> uwb_app.o(.text.Uwb_init) </UL> -- Gitblit v1.9.3