Explorar el Código

Правлю скипты тестирования.

unknown hace 7 meses
padre
commit
2ba2ee468f

+ 50 - 1
fw/modules/calibration/factors.c

@@ -9,8 +9,57 @@
 #define DBG if(0)
 
 
+factors_t ai_factors;
+
+
+//
+bool factors_load(factors_t *factros)
+{
+#if 0
+    uint32_t loadCRC;  // CRC из flash
+    uint32_t newCRC;   // CRC загруженной структуры настроек
+    bool need_default = false;
+
+    if (!settings)
+  		return false;
+
+    SYS_ReadFromFlash((uint8_t*)settings, sizeof(*settings), SYS_SECTOR);
+
+    // Считываем CRC из флеш памяти
+    loadCRC = (*(uint32_t*)SYS_CRC_ADDRESS);
+
+    // Рассчитываем CRC для структуры настроек
+    newCRC = SYS_GetCRC(settings);
+
+    // Если CRC не совпадают нужно прошивать дефолтные настройки
+    if (loadCRC != newCRC)
+    {
+        DBG printf("Bad system sector CRC. Factory defaults restored.\r\n");
+        need_default = true;
+    }
+    // CRC совпала, проверяем контрольное слово если слово не совпадает
+	// то это значит, что поплыла структура нстроек, прошиваем дефолт */
+    else if (settings->control_word != SETTINGS_CONTROL_WORD)
+    {
+        DBG printf("Bad system sector control word. Factory defaults restored.\r\n");
+        need_default = true;
+    }
+
+    // Прошиваем дефолтные настройки если нужно
+    if (need_default) 
+    {
+        sys_set_default(settings);
+        sys_save(settings);
+    }
+
+    DBG sys_print(settings);
+
+    return true;
+#endif
+}
+
 // Очистить сектор системных настроек
-void factos_sector_clear(void)
+void factors_sector_clear(void)
 {
     flash_status_type status;
     

+ 15 - 1
fw/modules/calibration/factors.h

@@ -1,9 +1,23 @@
 #ifndef __FACTORS_H
 #define __FACTORS_H
 
+#include "io.h"
+#include <stdbool.h>
+
+
+typedef struct
+{
+    float factor_k[AI_COMMON_NUMBER];
+    float factor_b[AI_COMMON_NUMBER];
+      
+} factors_t;
+
+
+//
+bool factors_load(factors_t *factros);
 
 //
-void factos_sector_clear(void);
+void factors_sector_clear(void);
 
 
 

+ 1 - 1
fw/modules/modbus/modbus_params.c

@@ -71,7 +71,7 @@ void mb_init_params(void)
     uint16_t addr = 0;
 
 #if defined (MDIO_88)
-    // 56 параметров
+    // 61 параметр
     index = mb_init_dio_params(0);
 #endif 
     

+ 1 - 1
fw/modules/modbus/modbus_params.h

@@ -12,7 +12,7 @@ extern "C" {
 #endif
 
 #if defined (MDIO_88)  
-#define  MB_PARAM_MAX			95
+#define  MB_PARAM_MAX			100
 #endif
 
 #if defined (MAI_12)  

+ 1 - 1
fw/user/main.cpp

@@ -147,7 +147,7 @@ void init_task(void *argument)
     
 // Тесты коэффициентов
 
-    factos_sector_clear();
+    factors_sector_clear();
     
     ai_init();    
     xTaskCreate(adc_task, "adc_task", 2*configMINIMAL_STACK_SIZE, NULL, tskIDLE_PRIORITY, NULL);

BIN
output/fw.bin


+ 556 - 556
project/ewarm/iap/iap.dep

@@ -5,384 +5,384 @@
     <configuration>
         <name>Debug</name>
         <outputs>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.c</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\io\mux.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_emac.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_adc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_i2c.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_misc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_gpio.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_pwc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_rtc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_sdio.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_spi.c</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_bpr.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_tmr.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_acc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usart.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usb.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_exint.c</file>
             <file>$PROJ_DIR$\..\..\..\iap\user\FreeRTOSConfig.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_debug.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\device_support\at32f403a_407.h</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus.c</file>
             <file>$PROJ_DIR$\..\..\..\iap\user\main.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_acc.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_adc.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_can.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crc.c</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crm.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_flash.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dac.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_debug.c</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dma.c</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.c</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\io\mux.c</file>
             <file>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.c</file>
-            <file>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.c</file>
             <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus_params.c</file>
+            <file>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_bpr.c</file>
             <file>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\device_support\at32f403a_407.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_can.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dac.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_debug.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_dma.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_i2c.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mux.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_misc.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\iar_intrinsics_common.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_xmc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wwdt.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\main.o</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbascii.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_flash.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\tim_delay.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wwdt.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\croutine.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\event_groups.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_rtc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\modbus.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_clock.o</file>
-            <file>$TOOLKIT_DIR$\lib\dl7M_tlf.a</file>
-            <file>$TOOLKIT_DIR$\lib\rt7M_tl.a</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\cmsis_version.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\queue.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\queue.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\sys_api.xcl</file>
-            <file>$TOOLKIT_DIR$\lib\m7M_tls.a</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfunccoils.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dac.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\port.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbutils.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_i2c.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\modbus_params.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbrtu.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncother.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\croutine.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_bpr.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\mpu_armv7.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\semphr.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncdisc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_spi.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_gpio.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\fr_timers.h</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\io\mux.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_usart.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncfile.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\common_gpio.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\FreeRTOS-openocd.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\iap.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wdt.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Product.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfunccoils.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\fr_timers.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_int.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\startup_at32f403a_407.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_bpr.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\iccarm_builtin.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbcrc.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_tmr.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\intrinsics.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_crc.h</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus_params.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\portevent.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\output\iap.bin</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbutils.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_bpr.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usart.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncdisc.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\StackMacros.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\tasks.xcl</file>
-            <file>$TOOLKIT_DIR$\inc\c\stdint.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\core_cm4.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\rtc\rtc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\FreeRTOS-openocd.xcl</file>
-            <file>$TOOLKIT_DIR$\inc\c\yvals.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_rtc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_acc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\portasm.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\portother.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_exint.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\event_groups.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\portevent.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_adc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_debug.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\stddef.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wdt.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\portother.o</file>
-            <file>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\main.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\list.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\event_groups.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_misc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_adc.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_emac.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_acc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_emac.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crm.xcl</file>
             <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\queue.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\mpu_wrappers.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_def.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncholding.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_xmc.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\task.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_flash.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_i2c.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\list.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dac.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_tmr.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\system_at32f403a_407.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\porttimer.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\shared\peripherals\inc\usart.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crm.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\task.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_emac.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\event_groups.o</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_gpio.o</file>
+            <file>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.h</file>
             <file>$PROJ_DIR$\Debug\Obj\mbfuncholding.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_xmc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_acc.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_clock.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\system_at32f403a_407.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_def.h</file>
             <file>$PROJ_DIR$\Debug\Obj\wdt.o</file>
             <file>$PROJ_DIR$\..\..\..\shared\utils\utility.h</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_exint.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_flash.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\shared\peripherals\inc\usart.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_emac.h</file>
             <file>$PROJ_DIR$\..\..\..\iap\user\main.h</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_pwc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_i2c.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crm.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncfile.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\fr_timers.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\main.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\mpu_wrappers.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_adc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_misc.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\portother.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncholding.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\porttimer.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_bpr.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbutils.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncdisc.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\core_cm4.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_crc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_acc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\portasm.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\event_groups.xcl</file>
+            <file>$TOOLKIT_DIR$\inc\c\stddef.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_tmr.h</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crc.o</file>
+            <file>$PROJ_DIR$\..\..\..\output\iap.bin</file>
+            <file>$PROJ_DIR$\Debug\Obj\portevent.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\tasks.xcl</file>
+            <file>$TOOLKIT_DIR$\inc\c\intrinsics.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\rtc\rtc.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\StackMacros.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\portother.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_exint.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_adc.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usart.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\portevent.o</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus_params.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_debug.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wdt.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\FreeRTOS-openocd.xcl</file>
+            <file>$TOOLKIT_DIR$\inc\c\yvals.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\stdint.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_rtc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usart.xcl</file>
+            <file>$PROJ_DIR$\Debug\List\iap.map</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\io\io.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_adc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\portserial.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\settings_api.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\portable.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbcrc.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\settings_api.xcl</file>
             <file>$TOOLKIT_DIR$\inc\c\DLib_Defaults.h</file>
             <file>$PROJ_DIR$\Debug\Obj\mbascii.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\FreeRTOS.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_adc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\tasks.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\tim_delay.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_misc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usart.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\deprecated_definitions.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mb.xcl</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\cmsis_compiler.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_sdio.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\portserial.o</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_crm.h</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\io\io.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\settings_api.o</file>
             <file>$PROJ_DIR$\Debug\Obj\portserial.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_spi.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\mb.xcl</file>
             <file>$PROJ_DIR$\..\..\..\shared\sys\sys_api.h</file>
-            <file>$PROJ_DIR$\Debug\List\iap.map</file>
             <file>$PROJ_DIR$\Debug\Obj\heap_4.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_can.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\heap_4.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_spi.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\fr_timers.o</file>
             <file>$PROJ_DIR$\Debug\Obj\sys_hal.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dma.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\portable.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbcrc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_int.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_can.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\rtc.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\stdlib.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_gpio.xcl</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Config_Full.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\FreeRTOS.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\tim_delay.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_misc.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\deprecated_definitions.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncfile.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\tasks.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crm.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_sdio.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_can.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\heap_4.xcl</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\cmsis_iccarm.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncinput.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_exint.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mb.o</file>
             <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\list.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\ycheck.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_can.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbrtu.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\sys_api.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\common_gpio.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.h</file>
             <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus.h</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usb.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\port.xcl</file>
-            <file>$TOOLKIT_DIR$\inc\c\stdbool.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_tmr.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_sdio.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncinput.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Config_Full.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mb.o</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_pwc.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.h</file>
             <file>$PROJ_DIR$\..\..\..\shared\wdt\wdt.h</file>
             <file>$PROJ_DIR$\Debug\Obj\extended_sram.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_board.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\ycheck.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_sdio.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_tmr.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncinput.xcl</file>
+            <file>$TOOLKIT_DIR$\inc\c\stdlib.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_can.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\common_gpio.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\port.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncinput.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_can.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\stdbool.h</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_flash.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_board.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\sys_api.o</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbrtu.xcl</file>
             <file>$TOOLKIT_DIR$\inc\c\string.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_board.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_pwc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_emac.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\rtc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_gpio.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_int.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\shared\peripherals\inc\common_gpio.h</file>
             <file>$PROJ_DIR$\Debug\Obj\mbfuncdiag.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\sys_hal.o</file>
+            <file>$PROJ_DIR$\Debug\Exe\iap.out</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_debug.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_sdio.o</file>
+            <file>$PROJ_DIR$\AT32F403AxG.icf</file>
             <file>$PROJ_DIR$\Debug\Obj\mux.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dma.o</file>
-            <file>$PROJ_DIR$\..\..\..\shared\peripherals\inc\common_gpio.h</file>
             <file>$PROJ_DIR$\Debug\Obj\utility.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_xmc.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\projdefs.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_acc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\utility.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_wdt.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_usb.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\modbus.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\modbus_params.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crc.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\extended_sram.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\mbfuncother.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_pwc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_emac.xcl</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_dac.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_wdt.h</file>
             <file>$TOOLKIT_DIR$\inc\c\stdio.h</file>
             <file>$PROJ_DIR$\Debug\Obj\list.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_board.xcl</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_wwdt.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_usb.h</file>
             <file>$PROJ_DIR$\Debug\Obj\wdt.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_sdio.o</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_rtc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\sys_hal.o</file>
-            <file>$PROJ_DIR$\Debug\Exe\iap.out</file>
-            <file>$PROJ_DIR$\AT32F403AxG.icf</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_debug.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\utility.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\modbus_params.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crc.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\extended_sram.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\modbus.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_xmc.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\projdefs.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_acc.h</file>
             <file>$PROJ_DIR$\Debug\Obj\system_at32f403a_407.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\porttimer.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\ysizet.h</file>
+            <file>$TOOLKIT_DIR$\lib\shb_l.a</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usb.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\iap.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_spi.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\rtc.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\croutine.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncdiag.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wwdt.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\board\common.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfunccoils.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_xmc.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdisc.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncfile.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncholding.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_exint.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\board\common_config.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_tmr.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\memmang\heap_4.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\list.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\queue.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_i2c.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usb.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_emac.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_rtc.c</file>
             <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\port.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\FreeRTOS-openocd.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_sdio.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\event_groups.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_misc.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\croutine.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_gpio.c</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wdt.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncinput.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncother.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbutils.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbframe.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portasm.s</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\tasks.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_flash.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_spi.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_pwc.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usart.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_xmc.c</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_conf.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wwdt.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdiag.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mb.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbconfig.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbfunc.h</file>
             <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portmacro.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbport.h</file>
             <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\fr_timers.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portasm.s</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\croutine.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\event_groups.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\list.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\queue.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\FreeRTOS-openocd.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\tasks.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\board\common_config.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\memmang\heap_4.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfunccoils.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\peripherals\src\common_gpio.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portevent.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncinput.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\port.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbproto.h</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\porttimer.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_api.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbfunc.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbport.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbutils.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\tim_delay.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\peripherals\src\common_gpio.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mb.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbconfig.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portserial.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\tim_delay.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbframe.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncother.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\model\model_cfg.h</file>
             <file>$PROJ_DIR$\..\..\..\shared\rtc\rtc.c</file>
-            <file>$PROJ_DIR$\Debug\Obj\porttimer.o</file>
-            <file>$TOOLKIT_DIR$\lib\shb_l.a</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbproto.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdisc.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\croutine.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\utils\utility.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdiag.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncfile.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncholding.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\mb.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\wdt\wdt.c</file>
-            <file>$TOOLKIT_DIR$\inc\c\ysizet.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usb.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\rtc.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\port.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portserial.c</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncdiag.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_spi.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\model\model_cfg.h</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portother.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_api.c</file>
-            <file>$PROJ_DIR$\Debug\Obj\iap.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\utils\utility.c</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\croutine.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_clock.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\queue.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\sys_api.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\event_groups.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_dma.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wwdt.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_flash.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\cmsis_version.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mux.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\tim_delay.o</file>
+            <file>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfunccoils.o</file>
+            <file>$TOOLKIT_DIR$\lib\dl7M_tlf.a</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_i2c.h</file>
+            <file>$TOOLKIT_DIR$\lib\rt7M_tl.a</file>
+            <file>$TOOLKIT_DIR$\inc\c\iar_intrinsics_common.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wwdt.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_misc.o</file>
+            <file>$TOOLKIT_DIR$\lib\m7M_tls.a</file>
+            <file>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.c</file>
+            <file>$PROJ_DIR$\Debug\Obj\modbus.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\queue.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dac.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_xmc.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\wdt\wdt.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_debug.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\main.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbascii.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_rtc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\port.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_int.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\startup_at32f403a_407.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\modbus_params.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_bpr.o</file>
+            <file>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\iccarm_builtin.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_usart.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbcrc.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\semphr.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\mpu_armv7.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbutils.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncdisc.o</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\io\mux.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_i2c.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_gpio.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncfile.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncother.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_bpr.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\fr_timers.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wdt.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Product.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\croutine.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbrtu.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\iap.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfunccoils.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\common_gpio.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\fr_timers.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_spi.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\FreeRTOS-openocd.o</file>
         </outputs>
         <file>
             <name>[ROOT_NODE]</name>
             <outputs>
                 <tool>
                     <name>ILINK</name>
-                    <file> 239 179</file>
+                    <file> 149 84</file>
                 </tool>
             </outputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 83</file>
+                    <file> 164</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 311</file>
+                    <file> 274</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 101 42 209 143 162 122 301 19 249 186 168 270 94 38 135 72 134 178 267 304 145 198 271 293 281 77 48 312 308 230 218 175</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 192 118 76 234 225 105 60 180 0 159 90 108 219 67 269 46 22 117 231 226 136 184 237 252 41 292 21 100 62 146 303 172 142 85</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\modules\io\mux.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\user\main.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 36</file>
+                    <file> 280</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 223</file>
+                    <file> 45</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 78 209 162 122 301 19 249 186 168 270 94 38 135 145 198</file>
+                    <file> 43 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 31 172 180 157 192 105 60 0 159 90 108 219 67 269 46 22 117 21 292 118 146 136 252 41 100 234 225 231 226 297 142 85</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_emac.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_acc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 133</file>
+                    <file> 57</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 221</file>
+                    <file> 34</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
@@ -391,140 +391,140 @@
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 130</file>
+                    <file> 47</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 120</file>
+                    <file> 72</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_i2c.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_can.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 64</file>
+                    <file> 113</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 155</file>
+                    <file> 131</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_misc.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 37</file>
+                    <file> 63</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 129</file>
+                    <file> 166</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_gpio.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crm.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 146</file>
+                    <file> 111</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 192</file>
+                    <file> 20</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_pwc.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dac.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 154</file>
+                    <file> 276</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 213</file>
+                    <file> 26</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_rtc.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_debug.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 113</file>
+                    <file> 77</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 237</file>
+                    <file> 150</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_sdio.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dma.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 236</file>
+                    <file> 155</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 171</file>
+                    <file> 104</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_spi.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 74</file>
+                    <file> 308</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
@@ -534,64 +534,83 @@
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 62 252 136 41 105 60 180 0 159 90 108 219 67 269 46 292 21 100 234 225 22 117 231 226 192 303 257 184 241 172 142 85</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\modules\io\mux.c</name>
+            <outputs>
+                <tool>
+                    <name>ICCARM</name>
+                    <file> 262</file>
+                </tool>
+                <tool>
+                    <name>BICOMP</name>
+                    <file> 154</file>
+                </tool>
+            </outputs>
+            <inputs>
+                <tool>
+                    <name>ICCARM</name>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 297 136 105 60 180 0 159 90 108 219 67 269 46 22 117</file>
+                </tool>
+            </inputs>
+        </file>
+        <file>
+            <name>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 247</file>
+                    <file> 284</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 50</file>
+                    <file> 145</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 281 206 96 267 304 162 122 301 19 249 186 168 270 94 38 135 145 198 271 293 209 312 288 42 143 72 134 178 101 225 77 230 218 175</file>
+                    <file> 264 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_bpr.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus_params.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 90</file>
+                    <file> 286</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 100</file>
+                    <file> 165</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 76 234 225 105 60 180 0 159 90 108 219 67 269 46 22 117 231 226 118 136 142 85</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_tmr.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 210</file>
+                    <file> 178</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 140</file>
+                    <file> 36</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
@@ -600,1061 +619,1042 @@
             <outputs>
                 <tool>
                     <name>AARM</name>
-                    <file> 89</file>
+                    <file> 285</file>
                 </tool>
             </outputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_acc.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_bpr.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 114</file>
+                    <file> 287</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 132</file>
+                    <file> 52</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usart.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 102</file>
+                    <file> 89</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 167</file>
+                    <file> 92</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 252 136 41 105 60 180 0 159 90 108 219 67 269 46 292 21 100 234 225 22 117 231 226 192 190 142 85 130 74 172</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usb.c</name>
+            <name>$PROJ_DIR$\Debug\Exe\iap.out</name>
             <outputs>
                 <tool>
-                    <name>ICCARM</name>
-                    <file> 302</file>
+                    <name>ILINK</name>
+                    <file> 84</file>
                 </tool>
                 <tool>
-                    <name>BICOMP</name>
-                    <file> 207</file>
+                    <name>OBJCOPY</name>
+                    <file> 64</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
-                    <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <name>ILINK</name>
+                    <file> 153 57 47 138 287 113 254 63 111 276 77 155 28 116 260 30 298 284 271 44 82 152 312 128 73 182 304 259 33 310 253 29 125 102 313 101 308 173 280 121 281 291 265 188 296 300 32 134 168 307 53 164 286 262 283 58 75 49 88 179 275 143 89 285 139 148 178 110 263 156 38 181 268 272 266</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_exint.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wwdt.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 196</file>
+                    <file> 259</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 151</file>
+                    <file> 270</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_debug.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_exint.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 121</file>
+                    <file> 116</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 241</file>
+                    <file> 40</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\user\main.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 41</file>
+                    <file> 281</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 126</file>
+                    <file> 94</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 153 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 125 230 301 235 281 162 122 19 249 186 168 270 94 38 135 145 198 134 72 206 225 209 42 143 178 267 304 271 293 78 218 175</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 225 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 0 159 90 108 219 67 269 46 22 117 234 231 226 235 140 238 295</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crm.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_tmr.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 156</file>
+                    <file> 128</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 144</file>
+                    <file> 27</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_flash.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\memmang\heap_4.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 44</file>
+                    <file> 101</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 152</file>
+                    <file> 114</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 130 126 80 93 120 305 180 74 105 60 81 0 159 90 108 219 67 289 269 46 22 117</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dma.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\list.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 224</file>
+                    <file> 173</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 185</file>
+                    <file> 25</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 130 126 80 93 120 305 180 74 105 60 81 0 159 90 108 219 67 289 269 46 117</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\queue.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 88</file>
+                    <file> 275</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 188</file>
+                    <file> 255</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 57 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 105 60 81 0 159 90 108 219 67 289 269 46 22 117 21</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_i2c.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251</file>
+                    <file> 298</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 141</file>
+                    <file> 24</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus_params.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usb.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 65</file>
+                    <file> 182</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 243</file>
+                    <file> 119</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 96 267 304 162 122 301 19 249 186 168 270 94 38 135 145 198 271 293 206 209 218 175</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_emac.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 176</file>
+                    <file> 28</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 159</file>
+                    <file> 170</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 42 209 143 162 122 301 19 249 186 168 270 94 38 135 72 134 178 267 304 145 198 271 293 281 252 218 175 191 109 230</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_can.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_rtc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 181</file>
+                    <file> 82</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 200</file>
+                    <file> 177</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crc.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\port.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 103</file>
+                    <file> 283</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 244</file>
+                    <file> 133</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 67 289 80 93 120 305 269 105 60 126 180 81 0 159 90 108 219 46 22 117</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dac.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\FreeRTOS-openocd.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 61</file>
+                    <file> 313</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 139</file>
+                    <file> 79</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 105 60 126 80 93 120 305 180 81 0 159 90 108 219 67 289 269 46</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\Debug\Exe\iap.out</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_sdio.c</name>
             <outputs>
                 <tool>
-                    <name>ILINK</name>
-                    <file> 179</file>
+                    <name>ICCARM</name>
+                    <file> 152</file>
                 </tool>
                 <tool>
-                    <name>OBJCOPY</name>
-                    <file> 98</file>
+                    <name>BICOMP</name>
+                    <file> 112</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
-                    <name>ILINK</name>
-                    <file> 240 114 130 216 90 181 51 103 156 61 121 224 133 196 44 146 64 88 37 154 113 236 74 210 102 302 84 40 138 81 47 128 215 158 82 180 83 231 41 197 43 92 60 306 73 80 147 212 227 66 99 247 65 36 62 115 119 124 172 291 55 190 176 89 203 238 251 164 45 226 149 292 53 59 52</file>
+                    <name>ICCARM</name>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfunccoils.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\event_groups.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 60</file>
+                    <file> 29</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 86</file>
+                    <file> 59</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 304 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 19 249 186 168 270 94 38 135 145 198 267 271 293 263 268</file>
+                    <file> 130 126 80 93 120 305 180 74 105 60 81 0 159 90 108 219 67 289 269 46 22 117 303 257</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_xmc.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 138</file>
+                    <file> 254</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 248</file>
+                    <file> 35</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 157 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdisc.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_misc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 73</file>
+                    <file> 271</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 104</file>
+                    <file> 48</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 304 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 19 249 186 168 270 94 38 135 145 198 267 271 293 263 268</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncfile.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\croutine.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 80</file>
+                    <file> 253</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 157</file>
+                    <file> 306</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 304 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 19 249 186 168 270 94 38 135 145 198 267 271 293 263 268 230</file>
+                    <file> 105 60 126 80 93 120 305 180 81 0 159 90 108 219 67 289 269 46 22 117 187</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncholding.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_gpio.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 147</file>
+                    <file> 30</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 137</file>
+                    <file> 144</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 304 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 19 249 186 168 270 94 38 135 145 198 267 271 293 263 268</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\port.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wdt.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 62</file>
+                    <file> 304</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 208</file>
+                    <file> 78</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 94 91 112 160 193 85 38 162 122 199 301 107 19 249 186 168 270 135 145 198</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wdt.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portasm.s</name>
             <outputs>
                 <tool>
-                    <name>ICCARM</name>
-                    <file> 84</file>
-                </tool>
-                <tool>
-                    <name>BICOMP</name>
-                    <file> 123</file>
+                    <name>AARM</name>
+                    <file> 58</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
-                    <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <name>AARM</name>
+                    <file> 0</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncinput.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\tasks.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 212</file>
+                    <file> 110</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 195</file>
+                    <file> 66</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 304 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 19 249 186 168 270 94 38 135 145 198 267 271 293 263 268</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 105 60 81 0 159 90 108 219 67 289 269 46 22 117 303 69 172</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncother.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_flash.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 227</file>
+                    <file> 260</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 67</file>
+                    <file> 23</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 304 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 19 249 186 168 270 94 38 135 145 198 267 271 293 263 268</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbutils.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_spi.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 99</file>
+                    <file> 312</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 63</file>
+                    <file> 98</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 304 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 19 249 186 168 270 94 38 135 145 198 267 271 293</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wwdt.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_pwc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 40</file>
+                    <file> 44</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 46</file>
+                    <file> 122</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 264 173 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdiag.c</name>
-            <outputs>
-                <tool>
-                    <name>ICCARM</name>
-                    <file> 306</file>
-                </tool>
-                <tool>
-                    <name>BICOMP</name>
-                    <file> 222</file>
-                </tool>
-            </outputs>
-        </file>
-        <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\fr_timers.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usart.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 158</file>
+                    <file> 73</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 87</file>
+                    <file> 83</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 162 122 107 19 249 186 168 270 94 91 38 135 145 198 134 77</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_xmc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 51</file>
+                    <file> 33</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 148</file>
+                    <file> 158</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 235 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 218 96 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portasm.s</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\fr_timers.c</name>
             <outputs>
                 <tool>
-                    <name>AARM</name>
-                    <file> 115</file>
+                    <name>ICCARM</name>
+                    <file> 102</file>
+                </tool>
+                <tool>
+                    <name>BICOMP</name>
+                    <file> 311</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
-                    <name>AARM</name>
-                    <file> 19</file>
+                    <name>ICCARM</name>
+                    <file> 130 126 80 93 120 305 180 74 105 60 81 0 159 90 108 219 67 289 269 46 22 117 21 303</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\croutine.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfunccoils.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 47</file>
+                    <file> 265</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 68</file>
+                    <file> 309</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 162 122 199 112 160 193 85 301 107 19 249 186 168 270 94 91 38 135 145 198 296</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 225 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 0 159 90 108 219 67 269 46 22 117 234 231 226 238 235</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\event_groups.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\peripherals\src\common_gpio.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 128</file>
+                    <file> 310</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 118</file>
+                    <file> 132</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 162 122 107 19 249 186 168 270 94 91 38 135 145 198 77 48</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 146 136 105 60 180 0 159 90 108 219 67 269 46 22 117 86</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\list.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portevent.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 231</file>
+                    <file> 75</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 127</file>
+                    <file> 65</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 162 122 107 19 249 186 168 270 94 91 38 135 198</file>
+                    <file> 105 60 126 80 93 120 305 180 81 0 159 90 108 219 67 289 269 46 22 117 21 234 225 1 55 261 95 115 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 231 226</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\queue.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncinput.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 55</file>
+                    <file> 134</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 56</file>
+                    <file> 129</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 162 122 107 19 249 186 168 270 94 91 38 135 145 198 134</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 225 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 0 159 90 108 219 67 269 46 22 117 234 231 226 238 235</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\FreeRTOS-openocd.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\porttimer.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 82</file>
+                    <file> 179</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 111</file>
+                    <file> 51</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 162 122 199 112 160 193 85 301 107 19 249 186 168 270 94 91 38 135</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 180 0 159 90 108 219 67 269 46 22 117 225 234 231 226 297 136</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\tasks.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 164</file>
+                    <file> 307</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 106</file>
+                    <file> 141</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 162 122 107 19 249 186 168 270 94 91 38 135 145 198 77 105 230</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 225 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 0 159 90 108 219 67 269 46 22 117 234 231 226 184 238 295</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\memmang\heap_4.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\sys\sys_api.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 180</file>
+                    <file> 139</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 182</file>
+                    <file> 256</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 162 122 107 19 249 186 168 270 94 91 38 135 145 198</file>
+                    <file> 81 126 80 93 120 305 100 136 151 252 1 55 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 41 105 60 180 0 159 90 108 219 67 269 46 292 21 234 225 22 117 231 226 192 190 68 142 85 172</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbutils.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 43</file>
+                    <file> 53</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 161</file>
+                    <file> 294</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 304 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 19 249 186 168 270 94 38 135 145 198 267 271 293 268 205 263 71</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 225 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 0 159 90 108 219 67 269 46 22 117 234 231 226</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portevent.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\tim_delay.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 119</file>
+                    <file> 263</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 97</file>
+                    <file> 106</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 162 122 199 112 160 193 85 301 107 19 249 186 168 270 94 91 38 135 145 198 134 267 304 29 108 54 170 194 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 271 293</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 237 136 297</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\porttimer.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portserial.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 291</file>
+                    <file> 88</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 142</file>
+                    <file> 97</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 301 19 249 186 168 270 94 38 135 145 198 304 267 271 293 78 209</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 31 172 180 105 60 0 159 90 108 219 67 269 46 22 117 234 225 231 226 237 136 297 130 74</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\tim_delay.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 45</file>
+                    <file> 291</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 165</file>
+                    <file> 91</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 288 209 78</file>
+                    <file> 225 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 180 0 159 90 108 219 67 269 46 22 117</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\peripherals\src\common_gpio.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncother.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 81</file>
+                    <file> 168</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 204</file>
+                    <file> 301</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 225 209 162 122 301 19 249 186 168 270 94 38 135 145 198 174</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 225 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 0 159 90 108 219 67 269 46 22 117 234 231 226 238 235</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\rtc\rtc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 215</file>
+                    <file> 143</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 246</file>
+                    <file> 186</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 76 308 209</file>
+                    <file> 68 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 252 136 41 105 60 180 0 159 90 108 219 67 269 46 292 21 100 234 225 22 117 231 226 192 142 85 172</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\rtc\rtc.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 190</file>
+                    <file> 148</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 303</file>
+                    <file> 103</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 110 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 42 209 143 162 122 301 19 249 186 168 270 94 38 135 72 134 178 267 304 145 198 271 293 281 218 175 230</file>
+                    <file> 81 126 80 93 120 305 151 100 136 192 1 55 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 190 172 180</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdisc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 216</file>
+                    <file> 296</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 219</file>
+                    <file> 54</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 125 230 199 112 160 193 85 301 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 225 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 0 159 90 108 219 67 269 46 22 117 234 231 226 238 235</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 92</file>
+                    <file> 138</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 187</file>
+                    <file> 174</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 304 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 301 19 249 186 168 270 94 38 135 145 198</file>
+                    <file> 31 172 126 80 93 120 305 180 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\utils\utility.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdiag.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 226</file>
+                    <file> 188</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 242</file>
+                    <file> 147</file>
                 </tool>
             </outputs>
-            <inputs>
-                <tool>
-                    <name>ICCARM</name>
-                    <file> 162 122 199 112 160 193 85 301 107 19 249 186 168 270 94 91 38 135 145 198 134 72 150 57 29 108 54 170 194 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 230 218 175</file>
-                </tool>
-            </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\mb.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncfile.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 197</file>
+                    <file> 300</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 169</file>
+                    <file> 109</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 304 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 19 249 186 168 270 94 38 135 145 198 267 271 293 268 263 269 312</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 225 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 0 159 90 108 219 67 269 46 22 117 234 231 226 238 235 172</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncholding.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 238</file>
+                    <file> 32</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 184</file>
+                    <file> 50</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 107 199 112 160 193 85 245 178 209 281 29 108 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 252 230 301</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 225 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 0 159 90 108 219 67 269 46 22 117 234 231 226 238 235</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\wdt\wdt.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\mb.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 149</file>
+                    <file> 121</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 234</file>
+                    <file> 99</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 214</file>
+                    <file> 130 126 80 93 120 305 180 74 142 85 225 1 55 81 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 105 60 0 159 90 108 219 67 269 46 22 117 234 231 226 235 238 230 184</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portserial.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portother.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 172</file>
+                    <file> 49</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 177</file>
+                    <file> 70</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29 108 107 199 112 160 193 85 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 125 230 301 162 122 19 249 186 168 270 94 38 135 145 198 267 304 271 293 288 209 78 191 109</file>
+                    <file> 130 126 80 93 120 305 180 74 105 60 81 0 159 90 108 219 67 289 269 46 22 117 292 21 234 225 1 55 261 95 115 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 231 226</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portother.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\utils\utility.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 124</file>
+                    <file> 156</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 116</file>
+                    <file> 161</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 162 122 107 19 249 186 168 270 94 91 38 135 145 198 72 134 267 304 29 108 54 170 194 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 271 293</file>
+                    <file> 105 60 126 80 93 120 305 180 81 0 159 90 108 219 67 289 269 46 22 117 21 292 39 264 1 55 261 95 115 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 172 142 85</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\sys\sys_api.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 203</file>
+                    <file> 125</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 58</file>
+                    <file> 167</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 107 199 112 160 193 85 178 209 245 42 29 108 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 143 162 122 301 19 249 186 168 270 94 38 135 72 134 267 304 145 198 271 293 281 252 110 218 175 230</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 288 241 136</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\wdt\wdt.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 66</file>
+                    <file> 38</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 202</file>
+                    <file> 176</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 191 199 112 160 193 85 301 109 218 175 304 29 108 107 54 170 194 91 70 201 136 264 173 93 49 69 75 35 79 220 189 163 228 307 34 33 217 95 232 229 117 211 39 250 166 233 131 162 122 19 249 186 168 270 94 38 135 145 198 267 271 293 312 263 71</file>
+                    <file> 1 55 81 126 80 93 120 305 261 95 115 289 293 123 37 218 96 61 282 302 299 267 290 169 135 87 171 185 258 279 137 56 175 162 71 127 277 160 107 163 42 124</file>
                 </tool>
             </inputs>
         </file>

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 790 - 771
project/ewarm/module_universal_io.dep


+ 2 - 1
tools/artery_loader.py

@@ -6,6 +6,7 @@ import shutil
 import subprocess
 import re
 import inquirer
+from tqdm import tqdm
 
 
 class ErrorAT32(IOError):
@@ -198,7 +199,7 @@ class FlashAT32:
 	def write_flash(self, address: int, buf: bytes):
 		"""Write binary data to flash"""
 		flash_full_chunks, last_chunk_size = divmod(len(buf), self.CHUNK_SIZE)
-		for i in range(flash_full_chunks):
+		for i in tqdm(range(flash_full_chunks)):
 			self.write_mem(address + i * self.CHUNK_SIZE, buf[i * self.CHUNK_SIZE:(i + 1) * self.CHUNK_SIZE])
 		if last_chunk_size > 0:
 			self.write_mem(address + flash_full_chunks * self.CHUNK_SIZE,

BIN
tools/bin_dio/fw.bin


BIN
tools/requirements.txt


+ 7 - 4
tools/tester.py

@@ -34,26 +34,29 @@ class Tester:
     def write_iap_fw(self, path_to_fw, path_to_iap):
         print(Fore.YELLOW + "Переведите устройство в режим загрузчика и нажмите 'Enter'")
         input()
-        print('Начало обновления')
+        print('Начало обновления...')
         start_time = time.time()
 
         d = FlashAT32(self.debug_port, 115200 * 8)
-        d.DEBUG_PRINT = True
+        d.DEBUG_PRINT = False
         try:
             d.connect()
         except Exception as e:
             print(e)
             print(Fore.RED + 'Что-то пошло не так!!!')
+            return
 
-        print(d.get_flash_size())
-        print(d.get_uid_str())
+        print(f'Flash size: {d.get_flash_size()} kB')
+        print(f'Chip ID: {d.get_uid_str()}')
 
         d.erase_flash()
         iap_path = path_to_iap
         fw_path = path_to_fw
         iap_path_r = 'artery_iap.bin'
         fw_path_r = 'artery_fw.bin'
+        print('IPA loading...')
         d.write_file_to_flash(0x08000000, iap_path)
+        print('FW loading...')
         d.write_file_to_flash(0x08021000, fw_path)
 
         print(Fore.GREEN + f'Запись прошла успешно за {time.time() - start_time} сек.')

+ 60 - 26
tools/tester_dio.py

@@ -4,6 +4,7 @@ from digital_io import IO_Digital
 from serial import Serial
 import colorama
 from colorama import Fore
+from mb_registers import *
 
 
 class DIO_Tester(Tester):
@@ -31,7 +32,7 @@ class DIO_Tester(Tester):
 
         # Отключаем безопасные режимы
         self.tester.sys.set_save_mode(0)
-        self.dut.sys.set_save_mode(0)        
+        # self.dut.sys.set_save_mode(0)        
 
         
 
@@ -204,7 +205,33 @@ class DIO_Tester(Tester):
             print(Fore.GREEN + f' Результат: WDT работает. OK')
 
 
+    def set_sys_params(self):
+        print("Введите серийный номер устройства и нажмите 'Enter'")
+        print('SN: ', end='')
+        sn = input()
 
+        # Отправка пароля для разблокирования доступа к системным настройкам
+        self.dut.modbus.write_holding_register(SysReg.PASSWORD.value, 1234)
+        time.sleep(0.1)
+
+        # Актуальная дата производства
+        prod_time = int(time.time()) - time.timezone
+        self.dut.modbus.write_uint32(SysReg.PRODATE.value, prod_time)
+
+        # Серийный номер
+        self.dut.modbus.write_uint32(SysReg.SN.value, int(sn))
+    
+        # Статус тестирования
+        self.dut.modbus.write_holding_register(SysReg.TEST_STATUS.value, 0x0001)
+
+        # Команда сохранения системных настроек
+        self.dut.modbus.write_holding_register(SysReg.SAVE_SYS.value, 0x0001)
+
+
+
+
+    def test_all(self):
+        pass
 
     def foo(self):
         print(self.modbus_dut.address)
@@ -222,38 +249,45 @@ class DIO_Tester(Tester):
 	    inquirer.List('action',
                 message="Тестирование MDIO_88",
                 choices=['Прошить IAP и FW', 
-                        'Получить системные настройки',
+                        'Прочитать системные настройки',
+                        'Записать системные настройки',
                         'Полный тест',
                         'Тест цифровых входов',
-                        'Тест выхода 1',
+                        'Тест цифровых выходов',
                         'Тест RTC',
                         'Тест LED',
                         'Тест напряжения батареи CR2032',
-                        'Тест WDT'],
+                        'Тест WDT',
+                        'Завершить'],
             ),
 	    ]
-        answers = inquirer.prompt(questions)
-
-        if answers['action'] == 'Прошить IAP и FW':
-            self.write_iap_fw('bin_dio/fw.bin', 'bin_iap/iap.bin')
-        elif answers['action'] == 'Получить системные настройки':
-            print('Получение системных настроек')
-            self.dut.sys.get_system_vars()
-        elif answers['action'] == 'Полный тест':
-            print('Запуск цикла тестирования')
-        elif answers['action'] == 'Тест цифровых входов':
-            self.test_di()
-        elif answers['action'] == 'Тест выхода 1':
-            # self.test_do()
-            self.test_all_do()
-        elif answers['action'] == 'Тест RTC':
-            self.test_rtc()
-        elif answers['action'] == 'Тест LED':
-            self.test_led()
-        elif answers['action'] == 'Тест напряжения батареи CR2032':
-            self.test_battery_voltage()
-        elif answers['action'] == 'Тест WDT':
-            self.test_wdt()
+
+        while True:
+            answers = inquirer.prompt(questions)
+
+            if answers['action'] == 'Прошить IAP и FW':
+                self.write_iap_fw('bin_dio/fw.bin', 'bin_iap/iap.bin')
+            elif answers['action'] == 'Прочитать системные настройки':
+                self.dut.sys.get_system_vars()
+            elif answers['action'] == 'Полный тест':
+                print('Запуск цикла тестирования...')
+                self.test_all()
+            elif answers['action'] == 'Записать системные настройки':
+                self.set_sys_params()
+            elif answers['action'] == 'Тест цифровых входов':
+                self.test_di()
+            elif answers['action'] == 'Тест цифровых выходов':
+                self.test_all_do()
+            elif answers['action'] == 'Тест RTC':
+                self.test_rtc()
+            elif answers['action'] == 'Тест LED':
+                self.test_led()
+            elif answers['action'] == 'Тест напряжения батареи CR2032':
+                self.test_battery_voltage()
+            elif answers['action'] == 'Тест WDT':
+                self.test_wdt()
+            elif answers['action'] == 'Завершить':
+                return
 
 
 

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio