From 1b783d20cd9c53fada9c7855ed2b903399285de7 Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期四, 21 三月 2024 14:52:30 +0800
Subject: [PATCH] V1.11尝试解决标签回复出厂设置BUG 1.去掉开机判断55AA标志位 2.map表2校验,不对就重启

---
 MDK-ARM/L051/L051.build_log.htm |  112 ++++++++++++++++++++++++++++++++++++++------------------
 1 files changed, 76 insertions(+), 36 deletions(-)

diff --git a/MDK-ARM/L051/L051.build_log.htm b/MDK-ARM/L051/L051.build_log.htm
index f362e20..fc32407 100644
--- a/MDK-ARM/L051/L051.build_log.htm
+++ b/MDK-ARM/L051/L051.build_log.htm
@@ -3,64 +3,104 @@
 <pre>
 <h1>礦ision Build Log</h1>
 <h2>Tool Versions:</h2>
-IDE-Version: μVision V5.29.0.0
-Copyright (C) 2019 ARM Ltd and ARM Germany GmbH. All rights reserved.
+IDE-Version: μVision V5.30.0.0
+Copyright (C) 2020 ARM Ltd and ARM Germany GmbH. All rights reserved.
 License Information: ZHONG zhyinch@gmail.com, 111, LIC=YA39H-WXRJ4-KP5ZY-I1QRU-P01Q4-JRNSV
  
 Tool Versions:
-Toolchain:       MDK-ARM Plus  Version: 5.29.0.0
+Toolchain:       MDK-ARM Plus  Version: 5.30.0.0
 Toolchain Path:  D:\Keil_v5\ARM\ARMCC\Bin
 C Compiler:      Armcc.exe V5.06 update 6 (build 750)
 Assembler:       Armasm.exe V5.06 update 6 (build 750)
 Linker/Locator:  ArmLink.exe V5.06 update 6 (build 750)
 Library Manager: ArmAr.exe V5.06 update 6 (build 750)
 Hex Converter:   FromElf.exe V5.06 update 6 (build 750)
-CPU DLL:         SARMCM3.DLL V5.29.0.0
-Dialog DLL:      DARMCM1.DLL V1.19.2.0
-Target DLL:      Segger\JL2CM3.dll V2.99.36.0
-Dialog DLL:      TARMCM1.DLL V1.14.1.0
+CPU DLL:         SARMCM3.DLL V5.30.0.0
+Dialog DLL:      DARMCM1.DLL V1.19.3.0
+Target DLL:      Segger\JL2CM3.dll V2.99.38.0
+Dialog DLL:      TARMCM1.DLL V1.14.2.0
  
 <h2>Project:</h2>
-E:\GIT\XRange_Tag - 副本\MDK-ARM\L051.uvprojx
-Project File Date:  05/30/2023
+E:\GIT\XRange_Tag\MDK-ARM\L051.uvprojx
+Project File Date:  03/21/2024
 
 <h2>Output:</h2>
 *** Using Compiler 'V5.06 update 6 (build 750)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin'
 Build target 'L051'
+Note: source file '..\Src\radio\crc.c' - object file renamed from 'L051\crc.o' to 'L051\crc_1.o'.
+compiling dw_mbx_tag.c...
+..\Src\application\dw_mbx_tag.c(99): warning:  #940-D: missing return statement at end of non-void function "Anchor_RecNearPoll" 
+  }
+..\Src\application\dw_mbx_tag.c(104): warning:  #177-D: variable "temp"  was declared but never referenced
+      uint16_t i,j=0,k=0,temp[TAG_NUM_IN_SYS];
+..\Src\application\dw_mbx_tag.c(174): warning:  #177-D: variable "target_tagi"  was declared but never referenced
+          {   uint8_t target_tagi;
+..\Src\application\dw_mbx_tag.c(163): warning:  #177-D: variable "tag_recv_interval"  was declared but never referenced
+          uint16_t tag_recv_interval;
+..\Src\application\dw_mbx_tag.c(164): warning:  #177-D: variable "temp_tagpos"  was declared but never referenced
+          float temp_tagpos;
+..\Src\application\dw_mbx_tag.c(135): warning:  #177-D: variable "send_len"  was declared but never referenced
+      u8 send_len,i;
+..\Src\application\dw_mbx_tag.c(137): warning:  #177-D: variable "rec_syncid"  was declared but never referenced
+      uint32_t rec_syncid,status_reg;
+..\Src\application\dw_mbx_tag.c(138): warning:  #177-D: variable "checksum"  was declared but never referenced
+      uint16_t checksum;
+..\Src\application\dw_mbx_tag.c(139): warning:  #177-D: variable "kk"  was declared but never referenced
+      uint8_t kk;
+..\Src\application\dw_mbx_tag.c(338): warning:  #177-D: variable "bat"  was declared but never referenced
+                  u8 bat;
+..\Src\application\dw_mbx_tag.c(405): warning:  #1-D: last line of file ends without a newline
+  }
+..\Src\application\dw_mbx_tag.c(29): warning:  #550-D: variable "result"  was set but never used
+  static u8 frame_len,timeout,rec_nearbase_num,result;
+..\Src\application\dw_mbx_tag.c(33): warning:  #550-D: variable "status_reg"  was set but never used
+  static uint32_t status_reg,resp_tx_time;
+..\Src\application\dw_mbx_tag.c(42): warning:  #177-D: variable "ancidlist_rec"  was declared but never referenced
+  static uint16_t ancidlist_rec[TAG_NUM_IN_SYS],ancidlist_send[TAG_NUM_IN_SYS],rec_ancidlist[TAG_NUM_IN_SYS],rec_ancdistlist[TAG_NUM_IN_SYS];
+..\Src\application\dw_mbx_tag.c(42): warning:  #177-D: variable "ancidlist_send"  was declared but never referenced
+  static uint16_t ancidlist_rec[TAG_NUM_IN_SYS],ancidlist_send[TAG_NUM_IN_SYS],rec_ancidlist[TAG_NUM_IN_SYS],rec_ancdistlist[TAG_NUM_IN_SYS];
+..\Src\application\dw_mbx_tag.c(43): warning:  #550-D: variable "frame_seq_nb2"  was set but never used
+  static u8 frame_seq_nb2,battary,button,uwb_losttimer,taglist_pos;
+..\Src\application\dw_mbx_tag.c(43): warning:  #550-D: variable "battary"  was set but never used
+  static u8 frame_seq_nb2,battary,button,uwb_losttimer,taglist_pos;
+..\Src\application\dw_mbx_tag.c(43): warning:  #550-D: variable "button"  was set but never used
+  static u8 frame_seq_nb2,battary,button,uwb_losttimer,taglist_pos;
+..\Src\application\dw_mbx_tag.c(43): warning:  #550-D: variable "uwb_losttimer"  was set but never used
+  static u8 frame_seq_nb2,battary,button,uwb_losttimer,taglist_pos;
+..\Src\application\dw_mbx_tag.c: 19 warnings, 0 errors
+compiling Lora.c...
 compiling main.c...
-..\Drivers\ExternlDrivers\lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
+../Drivers/ExternlDrivers/lis3dh_driver.h(67): warning:  #1295-D: Deprecated declaration LIS3DH_ENTER_STY_Init - give arg types
   void LIS3DH_ENTER_STY_Init();
-..\Src\OnChipDevices\Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 125 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
+../Src/OnChipDevices/Flash.h(3): warning:  #47-D: incompatible redefinition of macro "FLASH_SIZE"  (declared at line 125 of "../Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_flash.h")
   #define FLASH_SIZE       		(uint32_t)0x10000
-../Src/main.c(117): warning:  #177-D: variable "current_time"  was declared but never referenced
-  {u16 current_time;
-../Src/main.c(161): warning:  #177-D: variable "lptime"  was declared but never referenced
-    int32_t lpcount,lptime,target_time;
-../Src/main.c(161): warning:  #177-D: variable "target_time"  was declared but never referenced
-    int32_t lpcount,lptime,target_time;
-../Src/main.c(261): warning:  #186-D: pointless comparison of unsigned integer with zero
-  		if(module_power<0)
-../Src/main.c(271): warning:  #223-D: function "printf" declared implicitly
-      printf("固件版本: 免布线基站 V%d.%d. \r\n",g_com_map[VERSION]>>8,g_com_map[VERSION]&0xff);
-../Src/main.c(212): warning:  #177-D: variable "temp"  was declared but never referenced
-  {	float temp;
-../Src/main.c(213): warning:  #177-D: variable "temp2"  was declared but never referenced
-  	uint16_t temp2;
-../Src/main.c(214): warning:  #177-D: variable "i"  was declared but never referenced
-  	uint16_t i;
-../Src/main.c(313): warning:  #177-D: variable "bat_count"  was declared but never referenced
+../Src/main.c(260): warning:  #186-D: pointless comparison of unsigned integer with zero
+      if(module_power<0)
+../Src/main.c(211): warning:  #177-D: variable "temp"  was declared but never referenced
+  {   float temp;
+../Src/main.c(212): warning:  #177-D: variable "temp2"  was declared but never referenced
+      uint16_t temp2;
+../Src/main.c(213): warning:  #177-D: variable "i"  was declared but never referenced
+      uint16_t i;
+../Src/main.c(291): warning:  #177-D: variable "bat_count"  was declared but never referenced
       static uint16_t bat_count = 0;
-../Src/main.c(400): warning:  #177-D: variable "blink_count"  was declared but never referenced
-  	{ static uint16_t blink_count=0;
-../Src/main.c(745): warning:  #223-D: function "Usart1InitVariables" declared implicitly
-  	Usart1InitVariables();
-../Src/main.c(278): warning:  #177-D: function "SystemPower_Config"  was declared but never referenced
+../Src/main.c(330): warning:  #223-D: function "RadioIrqProcess" declared implicitly
+          RadioIrqProcess();
+../Src/main.c(780): warning:  #223-D: function "Usart1InitVariables" declared implicitly
+      Usart1InitVariables();
+../Src/main.c(1059): warning:  #223-D: function "delay_ms" declared implicitly
+                          delay_ms(100);
+../Src/main.c(1062): warning:  #223-D: function "delay_ms" declared implicitly
+                      delay_ms(10);
+../Src/main.c(269): warning:  #177-D: function "SystemPower_Config"  was declared but never referenced
   static void SystemPower_Config(void)
-../Src/main.c: 14 warnings, 0 errors
+../Src/main.c(345): warning:  #177-D: variable "send_frame1"  was declared but never referenced
+  static uint8_t send_frame1[EUART_RX_BUF_SIZE];
+../Src/main.c: 13 warnings, 0 errors
 linking...
-Program Size: Code=21316 RO-data=908 RW-data=308 ZI-data=6828  
+Program Size: Code=29292 RO-data=684 RW-data=680 ZI-data=6928  
 FromELF: creating hex file...
-"L051\L051.axf" - 0 Error(s), 14 Warning(s).
+"L051\L051.axf" - 0 Error(s), 32 Warning(s).
 
 <h2>Software Packages used:</h2>
 

--
Gitblit v1.9.3