20250430参数保存重写

This commit is contained in:
承诺 2025-04-30 15:04:50 +08:00
parent 89e8f9a240
commit 41e0fe1723
61 changed files with 10338 additions and 9863 deletions

View File

@ -76,7 +76,7 @@ float ao1_offsets = 0; //
float ao2_offsets = 0; //电流补偿
int16_t ao1_k,ao1_b,ao2_k,ao2_b;
uint8_t ao_data[8] = {0x27,0x00,0x00,0x36,0x26,0xE8,0x00,0x22};
uint8_t ao_data[8] = {0x26,0xF3,0xFF,0xDE,0x26,0xCA,0x00,0x19};
int16_t current_offsets[4] = {0,0,0,0}; //电流补偿值
int16_t pressure_offsets[4] = {0,0,0,0};//气压补偿值
@ -94,6 +94,8 @@ int net_status = 0;
long adc_sum[4] = {0};
int adc_cnt = 0;
int ee_cnt = 0;
bool cal_change_flag = false;
void analog_cal()
{
@ -106,6 +108,7 @@ void analog_cal()
//电流输出补偿,寄存器内数据为补偿值,直接赋予对应补偿参数
if(holdreg_data1[0] != holdreg_data2[0])
{
cal_change_flag = true;
if(holdreg_data2[0] > 0xF000)
ao1_offsets = holdreg_data2[0]-1-0xFFFF;
else
@ -113,6 +116,7 @@ void analog_cal()
}
if(holdreg_data1[1] != holdreg_data2[1])
{
cal_change_flag = true;
if(holdreg_data2[1] > 0xF000)
ao2_offsets = holdreg_data2[1]-1-0xFFFF;
else
@ -122,6 +126,7 @@ void analog_cal()
{
if(holdreg_data1[off_num] != holdreg_data2[off_num])
{
cal_change_flag = true;
//获取电流校准值
if(off_num < 6)
{
@ -229,7 +234,7 @@ int main(void)
ao1_k = (int16_t)(ao_data[0] << 8 | ao_data[1]);
ao1_b = (int16_t)(ao_data[2] << 8 | ao_data[3]);
ao2_k = (int16_t)(ao_data[4] << 8 | ao_data[5]);
ao1_b = (int16_t)(ao_data[6] << 8 | ao_data[7]);
ao2_b = (int16_t)(ao_data[6] << 8 | ao_data[7]);
/* USER CODE END 2 */
@ -241,6 +246,20 @@ int main(void)
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
if(HoldReg[54] == 1)
{
for(int n = 0;n < 12;n++)
{
ch395_addr[n] = HoldReg[40 + n];
}
ch395_addr[12] = HoldReg[52] >> 8;
ch395_addr[13] = HoldReg[52] & 0xFF;
ch395_addr[14] = HoldReg[53] >> 8;
ch395_addr[15] = HoldReg[53] & 0xFF;
ee_writebytes(ch395_addr,100,16);
HoldReg[54] = 2;
}
if(net_status == 1)
{
ch395_hardware_init(); //ch395硬件初始化
@ -251,17 +270,8 @@ int main(void)
{
ch395q_handler(); //网络通讯
if(HoldReg[54])
if(HoldReg[54] == 2)
{
for(int n = 0;n < 12;n++)
{
ch395_addr[n] = HoldReg[40 + n];
}
ch395_addr[12] = HoldReg[52] >> 8;
ch395_addr[13] = HoldReg[52] & 0xFF;
ch395_addr[14] = HoldReg[53] >> 8;
ch395_addr[15] = HoldReg[53] & 0xFF;
ee_writebytes(ch395_addr,100,16);
HoldReg[54] = 0;
set_ipv4();
}
@ -317,18 +327,20 @@ int main(void)
InputReg[12]= (((float)adcs_data[0] * 3300 / 4096) / 0.082f) * 1.01 - 69 + current_offsets[0];
InputReg[0]= adcs_data[1] * 3300 / 4096;
InputReg[1]= (((float)adcs_data[2] * 3300 / 4096) / 0.082f) + 450;
InputReg[1]= (((float)adcs_data[2] * 3300 / 4096) / 0.082f);// + 450;
InputReg[2]= (((float)adcs_data[3] * 3300 / 4096) / 0.082f);
if(it_1000ms_flag)
{
ee_write_data();
HAL_GPIO_TogglePin(LED_GPIO_Port,LED_Pin);
it_1000ms_flag = 0;
}
if(cal_change_flag)
{
ee_write_data();
cal_change_flag = false;
}
}
/* USER CODE END 3 */
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -334,6 +334,26 @@
<WinNumber>1</WinNumber>
<ItemText>adcs_data,0x0A</ItemText>
</Ww>
<Ww>
<count>24</count>
<WinNumber>1</WinNumber>
<ItemText>ch395_addr</ItemText>
</Ww>
<Ww>
<count>25</count>
<WinNumber>1</WinNumber>
<ItemText>net_data,0x0A</ItemText>
</Ww>
<Ww>
<count>26</count>
<WinNumber>1</WinNumber>
<ItemText>net_status</ItemText>
</Ww>
<Ww>
<count>27</count>
<WinNumber>1</WinNumber>
<ItemText>pressure_offsets</ItemText>
</Ww>
</WatchWindow1>
<Tracepoint>
<THDelay>0</THDelay>

View File

@ -26,10 +26,6 @@ Project File Date: 11/19/2024
<h2>Output:</h2>
Build target 'VAL_OFF_Little'
compiling screen.c...
linking...
Program Size: Code=56462 RO-data=970 RW-data=532 ZI-data=14036
FromELF: creating hex file...
"VAL_OFF_Little\VAL_OFF_Little.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
Dependencies for Project 'VAL_OFF_Little', Target 'VAL_OFF_Little': (DO NOT MODIFY !)
F (startup_stm32f407xx.s)(0x673C293B)(--cpu Cortex-M4.fp -g --apcs=interwork -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 --pd "__UVISION_VERSION SETA 514" --pd "_RTE_ SETA 1" --pd "STM32F407xx SETA 1" --list startup_stm32f407xx.lst --xref -o val_off_little\startup_stm32f407xx.o --depend val_off_little\startup_stm32f407xx.d)
F (../Core/Src/main.c)(0x67F6192D)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\main.o --omf_browse val_off_little\main.crf --depend val_off_little\main.d)
I (../Core/Inc/main.h)(0x673E7C87)
F (../Core/Src/main.c)(0x6811C5C3)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\main.o --omf_browse val_off_little\main.crf --depend val_off_little\main.d)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -57,14 +57,14 @@ I (../board/wf5803.h)(0x673AE19F)
I (D:\Keil_v5\ARM\ARMCC\include\math.h)(0x5475F2FE)
I (../board/hp303s.h)(0x673BF5D9)
I (../board/dac7311.h)(0x67359A45)
I (../board/eeprom.h)(0x67F4C565)
I (../board/eeprom.h)(0x6805AE34)
I (../board/digital.h)(0x6735BC76)
I (../screen/cmd_queue.h)(0x6678C6EC)
I (../screen/hmi_driver.h)(0x673EAF18)
I (../screen/cmd_process.h)(0x6678C6EC)
F (../Core/Src/gpio.c)(0x673C08D6)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\gpio.o --omf_browse val_off_little\gpio.crf --depend val_off_little\gpio.d)
I (../Core/Inc/gpio.h)(0x6734517D)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -103,7 +103,7 @@ I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h)(0x66DF9A2D)
F (../Core/Src/adc.c)(0x67F616DC)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\adc.o --omf_browse val_off_little\adc.crf --depend val_off_little\adc.d)
I (../Core/Inc/adc.h)(0x67F61580)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -142,7 +142,7 @@ I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h)(0x66DF9A2D)
F (../Core/Src/dma.c)(0x673C2935)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\dma.o --omf_browse val_off_little\dma.crf --depend val_off_little\dma.d)
I (../Core/Inc/dma.h)(0x6734517F)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -181,7 +181,7 @@ I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h)(0x66DF9A2D)
F (../Core/Src/i2c.c)(0x6734517F)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\i2c.o --omf_browse val_off_little\i2c.crf --depend val_off_little\i2c.d)
I (../Core/Inc/i2c.h)(0x6734517F)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -220,7 +220,7 @@ I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h)(0x66DF9A2D)
F (../Core/Src/spi.c)(0x67EDF449)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\spi.o --omf_browse val_off_little\spi.crf --depend val_off_little\spi.d)
I (../Core/Inc/spi.h)(0x67345180)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -259,7 +259,7 @@ I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h)(0x66DF9A2D)
F (../Core/Src/tim.c)(0x6751696F)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\tim.o --omf_browse val_off_little\tim.crf --depend val_off_little\tim.d)
I (../Core/Inc/tim.h)(0x67510419)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -308,7 +308,7 @@ I (../CH395Q/ch395cmd.h)(0x664FF969)
I (D:\Keil_v5\ARM\ARMCC\include\string.h)(0x5475F300)
F (../Core/Src/usart.c)(0x674FB4AC)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\usart.o --omf_browse val_off_little\usart.crf --depend val_off_little\usart.d)
I (../Core/Inc/usart.h)(0x67354E71)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -359,7 +359,7 @@ I (../screen/cmd_queue.h)(0x6678C6EC)
I (../screen/hmi_driver.h)(0x673EAF18)
I (../screen/cmd_process.h)(0x6678C6EC)
F (../Core/Src/stm32f4xx_it.c)(0x673C36F9)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\stm32f4xx_it.o --omf_browse val_off_little\stm32f4xx_it.crf --depend val_off_little\stm32f4xx_it.d)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -409,7 +409,7 @@ I (../Core/Inc/spi.h)(0x67345180)
I (../CH395Q/ch395cmd.h)(0x664FF969)
I (D:\Keil_v5\ARM\ARMCC\include\string.h)(0x5475F300)
F (../Core/Src/stm32f4xx_hal_msp.c)(0x67345181)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\stm32f4xx_hal_msp.o --omf_browse val_off_little\stm32f4xx_hal_msp.crf --depend val_off_little\stm32f4xx_hal_msp.d)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1265,7 +1265,7 @@ F (..\board\wf5803.c)(0x6758E3BA)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=inte
I (..\board\wf5803.h)(0x673AE19F)
I (D:\Keil_v5\ARM\ARMCC\include\math.h)(0x5475F2FE)
I (D:\Keil_v5\ARM\ARMCC\include\string.h)(0x5475F300)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1315,7 +1315,7 @@ I (../CH395Q/ch395cmd.h)(0x664FF969)
I (../Core/Inc/gpio.h)(0x6734517D)
F (..\board\hp303s.c)(0x673EA0EA)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\hp303s.o --omf_browse val_off_little\hp303s.crf --depend val_off_little\hp303s.d)
I (..\board\hp303s.h)(0x673BF5D9)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1365,7 +1365,7 @@ I (../CH395Q/ch395cmd.h)(0x664FF969)
I (D:\Keil_v5\ARM\ARMCC\include\string.h)(0x5475F300)
F (..\board\dac7311.c)(0x67359AA5)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\dac7311.o --omf_browse val_off_little\dac7311.crf --depend val_off_little\dac7311.d)
I (..\board\dac7311.h)(0x67359A45)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1402,9 +1402,9 @@ I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h)(0x66DF9A2D)
F (..\board\eeprom.c)(0x67F4C68F)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\eeprom.o --omf_browse val_off_little\eeprom.crf --depend val_off_little\eeprom.d)
I (..\board\eeprom.h)(0x67F4C565)
I (../Core/Inc/main.h)(0x673E7C87)
F (..\board\eeprom.c)(0x6805B162)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\eeprom.o --omf_browse val_off_little\eeprom.crf --depend val_off_little\eeprom.d)
I (..\board\eeprom.h)(0x6805AE34)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1454,7 +1454,7 @@ I (../CH395Q/ch395cmd.h)(0x664FF969)
I (D:\Keil_v5\ARM\ARMCC\include\string.h)(0x5475F300)
F (..\board\digital.c)(0x673AD881)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\digital.o --omf_browse val_off_little\digital.crf --depend val_off_little\digital.d)
I (..\board\digital.h)(0x6735BC76)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1502,10 +1502,10 @@ I (../CH395Q/ch395inc.h)(0x6683A7A7)
I (../Core/Inc/spi.h)(0x67345180)
I (../CH395Q/ch395cmd.h)(0x664FF969)
I (D:\Keil_v5\ARM\ARMCC\include\string.h)(0x5475F300)
F (..\modbus\modbus.c)(0x6751137F)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\modbus.o --omf_browse val_off_little\modbus.crf --depend val_off_little\modbus.d)
F (..\modbus\modbus.c)(0x6805B556)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\modbus.o --omf_browse val_off_little\modbus.crf --depend val_off_little\modbus.d)
I (..\modbus\modbus.h)(0x6736E46B)
I (../Core/Inc/tim.h)(0x67510419)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1555,7 +1555,7 @@ I (D:\Keil_v5\ARM\ARMCC\include\string.h)(0x5475F300)
F (..\modbus\modbus_rtu.c)(0x6736E49F)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\modbus_rtu.o --omf_browse val_off_little\modbus_rtu.crf --depend val_off_little\modbus_rtu.d)
I (..\modbus\modbus.h)(0x6736E46B)
I (../Core/Inc/tim.h)(0x67510419)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1605,7 +1605,7 @@ I (D:\Keil_v5\ARM\ARMCC\include\string.h)(0x5475F300)
F (..\modbus\modbus_tcp.c)(0x6736E49F)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\modbus_tcp.o --omf_browse val_off_little\modbus_tcp.crf --depend val_off_little\modbus_tcp.d)
I (..\modbus\modbus.h)(0x6736E46B)
I (../Core/Inc/tim.h)(0x67510419)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1654,7 +1654,7 @@ I (../CH395Q/ch395cmd.h)(0x664FF969)
I (D:\Keil_v5\ARM\ARMCC\include\string.h)(0x5475F300)
F (..\hart\hart.c)(0x67F360A8)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\hart.o --omf_browse val_off_little\hart.crf --depend val_off_little\hart.d)
I (..\hart\hart.h)(0x67354E8C)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1741,7 +1741,7 @@ I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h)(0x66DF9A2D)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Core/Inc/usart.h)(0x67354E71)
I (D:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5475F300)
I (../modbus/modbus.h)(0x6736E46B)
@ -1790,7 +1790,7 @@ I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_spi.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_tim_ex.h)(0x66DF9A2D)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h)(0x66DF9A2D)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Core/Inc/usart.h)(0x67354E71)
I (D:\Keil_v5\ARM\ARMCC\include\stdio.h)(0x5475F300)
I (../modbus/modbus.h)(0x6736E46B)
@ -1806,7 +1806,7 @@ F (..\screen\cmd_queue.c)(0x668CFA29)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=
I (..\screen\cmd_queue.h)(0x6678C6EC)
I (..\screen\hmi_driver.h)(0x673EAF18)
I (../Core/Inc/usart.h)(0x67354E71)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1857,7 +1857,7 @@ I (..\screen\cmd_process.h)(0x6678C6EC)
F (..\screen\hmi_driver.c)(0x673EAF18)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\hmi_driver.o --omf_browse val_off_little\hmi_driver.crf --depend val_off_little\hmi_driver.d)
I (..\screen\hmi_driver.h)(0x673EAF18)
I (../Core/Inc/usart.h)(0x67354E71)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)
@ -1904,11 +1904,11 @@ I (../CH395Q/ch395inc.h)(0x6683A7A7)
I (../Core/Inc/spi.h)(0x67345180)
I (../CH395Q/ch395cmd.h)(0x664FF969)
I (D:\Keil_v5\ARM\ARMCC\include\string.h)(0x5475F300)
F (..\screen\screen.c)(0x67F61DA7)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\screen.o --omf_browse val_off_little\screen.crf --depend val_off_little\screen.d)
F (..\screen\screen.c)(0x6811C635)(--c99 -c --cpu Cortex-M4.fp -g -O0 --apcs=interwork --split_sections -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I../board -I../CH395Q -I../hart -I../modbus -I../screen -I../delay -I "D:\桌面\工作资料\05-阀门诊断系统offline\离线诊断小型化\VAL_OFF_Little _new\MDK-ARM\RTE" -I D:\Keil_v5\ARM\PACK\ARM\CMSIS\4.2.0\CMSIS\Include -I D:\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.12.0 -D__UVISION_VERSION="514" -D_RTE_ -DSTM32F407xx -DUSE_HAL_DRIVER -DSTM32F407xx -o val_off_little\screen.o --omf_browse val_off_little\screen.crf --depend val_off_little\screen.d)
I (..\screen\cmd_queue.h)(0x6678C6EC)
I (..\screen\hmi_driver.h)(0x673EAF18)
I (../Core/Inc/usart.h)(0x67354E71)
I (../Core/Inc/main.h)(0x673E7C87)
I (../Core/Inc/main.h)(0x6805D85B)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h)(0x66DF9A2D)
I (../Core/Inc/stm32f4xx_hal_conf.h)(0x67345181)
I (../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h)(0x66DF9A2D)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -16,6 +16,8 @@
extern uint8_t Tx1_Buffer[];
extern uint8_t Rx1_Buffer[];
extern uint8_t ee_warray[20];//eeprom写入数组
extern uint8_t ee_rarray[20];//eeprom读取数组
#define I2C_WR 0
#define I2C_RD 1

View File

@ -3,7 +3,7 @@
uint8_t CoilState[(MAX_DIS_NUM + 7) / 8] = {0x00};//线圈寄存器
uint8_t DisState [(MAX_DIS_NUM + 7) / 8] = {0xAA};//离散量寄存器
uint16_t InputReg[MAX_INPUT_REG_NUM] = {0x0000,0x0000};//输入寄存器
uint16_t HoldReg[MAX_HOLD_REG_NUM] = {0x0000, 0x0000,0x0064,0x0000};//保持寄存器
uint16_t HoldReg[MAX_HOLD_REG_NUM] = {0x0000, 0x0000,0x00C8,0x0000};//保持寄存器
Var_Reg SamVarReg;

View File

@ -25,6 +25,7 @@ int power_cnt = 0;
bool change_flag = false;
extern bool cal_change_flag;
extern void get_power_state(void);
/*!
* \brief ÏûÏ¢´¦ÀíÁ÷³Ì
@ -207,7 +208,7 @@ void UpdateUI(void)
SetTextInt32(1,9,HoldReg[0],0,0);
SetTextInt32(1,15,HoldReg[1],0,0);
if(InputReg[1] > 500)
if(InputReg[1] > 1000)
{
SetTextInt32(1,24,InputReg[1],0,0);
}
@ -215,7 +216,7 @@ void UpdateUI(void)
{
SetTextInt32(1,24,0,0,0);
}
if(InputReg[2] > 500)
if(InputReg[2] > 1000)
{
SetTextInt32(1,25,InputReg[2],0,0);
}
@ -460,25 +461,37 @@ void NotifyButton(uint16_t screen_id, uint16_t control_id, uint8_t state)
case 11:
{
if(state)
{
ao1_offsets += 1;
cal_change_flag = true;
}
}
break;
case 12:
{
if(state)
{
ao1_offsets -= 1;
cal_change_flag = true;
}
}
break;
case 17:
{
if(state)
{
ao2_offsets += 1;
cal_change_flag = true;
}
}
break;
case 18:
{
if(state)
{
ao2_offsets -= 1;
cal_change_flag = true;
}
}
break;
case 19:
@ -634,12 +647,12 @@ void NotifyButton(uint16_t screen_id, uint16_t control_id, uint8_t state)
{
if(control_id == 2)
{
net_status = state;
net_status = state;//网络开启状态 0-未开启 1-初始化 2-已开启
}
}
if(screen_id == 6)//ÍøÂçÅäÖÃ
{
HoldReg[54] = 1;
HoldReg[54] = 1;//初始为0赋值1让改动数据存入本地之后数值变为2
}
}
@ -732,7 +745,7 @@ void NotifyText(uint16_t screen_id, uint16_t control_id, uint8_t *str)
{
if(control_id == 9)//IP
{
sscanf((const char *)strstr,"%d.%d.%d.%d",&net_data[0],&net_data[1],&net_data[2],&net_data[3]);
sscanf((const char *)str,"%d.%d.%d.%d",&net_data[0],&net_data[1],&net_data[2],&net_data[3]);
for(int n = 0;n < 4;n++)
{
HoldReg[40 + n] = net_data[n];
@ -740,7 +753,7 @@ void NotifyText(uint16_t screen_id, uint16_t control_id, uint8_t *str)
}
if(control_id == 10)//GWIP
{
sscanf((const char *)strstr,"%d.%d.%d.%d",&net_data[0],&net_data[1],&net_data[2],&net_data[3]);
sscanf((const char *)str,"%d.%d.%d.%d",&net_data[0],&net_data[1],&net_data[2],&net_data[3]);
for(int n = 0;n < 4;n++)
{
HoldReg[44 + n] = net_data[n];
@ -748,17 +761,17 @@ void NotifyText(uint16_t screen_id, uint16_t control_id, uint8_t *str)
}
if(control_id == 11)//IPMASK
{
sscanf((const char *)strstr,"%d.%d.%d.%d",&net_data[0],&net_data[1],&net_data[2],&net_data[3]);
sscanf((const char *)str,"%d.%d.%d.%d",&net_data[0],&net_data[1],&net_data[2],&net_data[3]);
for(int n = 0;n < 4;n++)
{
HoldReg[48 + n] = net_data[n];
}
}
if(control_id == 12)
if(control_id == 12)//端口1
{
HoldReg[52] = strtof((const char *)str,&pEnd);
}
if(control_id == 13)
if(control_id == 13)//端口2
{
HoldReg[53] = strtof((const char *)str,&pEnd);
}