diff --git a/app/inc/hardware.h b/app/inc/hardware.h index f9f14aa..9638763 100644 --- a/app/inc/hardware.h +++ b/app/inc/hardware.h @@ -1,8 +1,9 @@ #ifndef __HARDWARE_H #define __HARDWARE_H -#include"modbus.h" +#include"modbus_parse.h" +#define MODBUS_IDLE_TO_T35_US 1664U /*1664=1750-86*/ extern uint8_t ModbusRxBuf[MODBUS_RX_BUF_SIZE]; extern uint8_t ModbusTxBuf[MODBUS_TX_BUF_SIZE]; diff --git a/app/main.h b/app/main.h index afa2ba1..8d02e47 100644 --- a/app/main.h +++ b/app/main.h @@ -9,7 +9,7 @@ #include "os.h" #include "app_cfg.h" #include "sys_cfg.h" -#include "modbus.h" +#include "modbus_parse.h" #include "modbus_flash.h" #include "string.h" diff --git a/app/src/hardware.c b/app/src/hardware.c index 8e6d407..ca2333e 100644 --- a/app/src/hardware.c +++ b/app/src/hardware.c @@ -101,15 +101,45 @@ void ModbusDmaInit(void) DMA_Cmd(DMA2_Stream2, ENABLE); /*使能DMA的接收通道,发送通道暂不使能*/ } + +void ModbusTimInit(void) +{ + TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; + + RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM5, ENABLE); + + TIM_DeInit(TIM5); + TIM_TimeBaseStructure.TIM_Prescaler = 84U - 1U; /*84Mhz/84=1Mhz,1us计时*/ + TIM_TimeBaseStructure.TIM_Period = MODBUS_IDLE_TO_T35_US - 1U; /*计时周期1664us*/ + TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up; /*向上计数*/ + TIM_TimeBaseStructure.TIM_ClockDivision = TIM_CKD_DIV1; + TIM_TimeBaseStructure.TIM_RepetitionCounter = 0; + TIM_TimeBaseInit(TIM5, &TIM_TimeBaseStructure); + + TIM_SelectOnePulseMode(TIM5, TIM_OPMode_Single); /*单脉冲模式,计时完成后自动停止*/ + TIM_ClearITPendingBit(TIM5, TIM_IT_Update); /*清除初始化产生的标志位*/ + TIM_ITConfig(TIM5, TIM_IT_Update, ENABLE); /*使能TIM5更新中断*/ + + TIM_Cmd(TIM5, DISABLE); +} + void ModbusNvicInit(void) { NVIC_InitTypeDef NVIC_InitStructure; + /*串口空闲中断*/ NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn; - NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 5; /*抢占优先级5*/ + NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 4; /*抢占优先级5*/ NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0; /*响应优先级0*/ NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; NVIC_Init(&NVIC_InitStructure); + + /*定时器中断*/ + NVIC_InitStructure.NVIC_IRQChannel = TIM5_IRQn; + NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 5; + NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0; + NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; + NVIC_Init(&NVIC_InitStructure); } @@ -121,5 +151,6 @@ void ModbusHardwareInit(void) ModbusGpioInit(); ModbusUsartInit(); ModbusDmaInit(); + ModbusTimInit(); ModbusNvicInit(); } diff --git a/iar/settings/F407_uCOSii_Modbus.wsdt b/iar/settings/F407_uCOSii_Modbus.wsdt index cb7a66b..d8fa198 100644 --- a/iar/settings/F407_uCOSii_Modbus.wsdt +++ b/iar/settings/F407_uCOSii_Modbus.wsdt @@ -62,7 +62,7 @@ 33054 0 33035 - 33036 + 33037 34399 0 33038 @@ -72,13 +72,16 @@ - 190 + 173 30 30 30 uCOS_Modbus + uCOS_Modbus/app + uCOS_Modbus/app/inc + uCOS_Modbus/app/src uCOS_Modbus/modbus uCOS_Modbus/modbus/inc uCOS_Modbus/modbus/src @@ -105,7 +108,7 @@ 1 1 1 - B70200001D00138600000B0000001B8F00000100000010860000CE00000020810000010000000D800000020000000C810000020000000486000002000000568600001B0100001481000001000000008400000100000030840000010000001F8100000B0000005E8600000B0000000E810000020000000B8100000100000000E10000010000008E860000010000001486000003000000698600000100000005840000010000000086000002000000118600006800000002840000020000000581000001000000198F000001000000468100003400000010840000060000005D860000040000000886000002000000 + C70200001D001B8F000001000000138600000B00000010860000D600000020810000010000000C810000020000000D800000020000000486000002000000568600001B0100000084000001000000148100000100000030840000010000000E810000030000005E8600000B0000001F8100000C0000008E8600000100000000E10000010000000B81000001000000058400000100000069860000010000001486000003000000198F00000100000005810000010000000284000002000000118600006C00000000860000020000001084000006000000468100003600000008860000020000005D86000004000000 0000 @@ -140,7 +143,7 @@ 34050 2201000030030000CD070000E1030000 - 04000000CD020000A70600004C030000 + 00000000C9020000AB06000066030000 32768 0 0 @@ -171,7 +174,7 @@ 0 - 1 + 0 34054 @@ -322,8 +325,8 @@ 34061 - AC02000077010000B2030000D8020000 - 0000000032000000FE000000B1020000 + CC02000074010000D2030000D5020000 + 0000000032000000FE00000085020000 4096 0 1 @@ -390,7 +393,7 @@ - 0000000002000000000000000080000001000000FFFFFFFFFFFFFFFF00000000B1020000AB060000B5020000010000000100001004000000010000000000000000000000FFFFFFFF070000000285000005850000068500000785000008850000098500000C850000FFFF02000B004354616262656450616E65008000000100000000000000CC020000AB0600007D03000000000000B5020000AB06000066030000000000004080005607000000FFFEFF054200750069006C006400010000000285000001000000FFFFFFFFFFFFFFFFFFFEFF094400650062007500670020004C006F006700010000000585000001000000FFFFFFFFFFFFFFFFFFFEFF0C4400650063006C00610072006100740069006F006E007300000000000685000001000000FFFFFFFFFFFFFFFFFFFEFF0A5200650066006500720065006E00630065007300000000000785000001000000FFFFFFFFFFFFFFFFFFFEFF0D460069006E006400200069006E002000460069006C0065007300000000000885000001000000FFFFFFFFFFFFFFFFFFFEFF1541006D0062006900670075006F0075007300200044006500660069006E006900740069006F006E007300000000000985000001000000FFFFFFFFFFFFFFFFFFFEFF0B54006F006F006C0020004F0075007400700075007400000000000C85000001000000FFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000001000000FFFFFFFF0285000001000000FFFFFFFF0285000007000000FFFF02001200434D756C746950616E654672616D65576E6400010084000000001700000022010000C8000000000000000000000002000000000000000E85000000000000000000000000000000000000010000000E850000038000010084000000001700000080020000A80000000000000000000000020000000000000003850000000000000000000000000000000000000100000003850000038000010084000000001700000022010000C8000000000000000000000002000000000000000F85000000000000000000000000000000000000010000000F850000038000010084000000001700000022010000C80000000000000000000000020000000000000004850000000000000000000000000000000000000100000004850000038000010084000000001700000022010000C8000000000000000000000002000000000000000A85000000000000000000000000000000000000010000000A850000038000010084000000001700000080020000A8000000000000000000000002000000000000000B85000000000000000000000000000000000000010000000B850000038000010084AC02000077010000B2030000D8020000000000000000000002000000000000000D85000000000000000000000000000000000000010000000D8500000000000000000000 + 0000000002000000000000000080000001000000FFFFFFFFFFFFFFFF00000000B1020000AB060000B5020000010000000100001004000000010000000000000000000000FFFFFFFF070000000285000005850000068500000785000008850000098500000C850000FFFF02000B004354616262656450616E65008000000100000000000000CC020000AB0600007D03000000000000B5020000AB06000066030000000000004080005607000000FFFEFF054200750069006C006400010000000285000001000000FFFFFFFFFFFFFFFFFFFEFF094400650062007500670020004C006F006700000000000585000001000000FFFFFFFFFFFFFFFFFFFEFF0C4400650063006C00610072006100740069006F006E007300000000000685000001000000FFFFFFFFFFFFFFFFFFFEFF0A5200650066006500720065006E00630065007300000000000785000001000000FFFFFFFFFFFFFFFFFFFEFF0D460069006E006400200069006E002000460069006C0065007300000000000885000001000000FFFFFFFFFFFFFFFFFFFEFF1541006D0062006900670075006F0075007300200044006500660069006E006900740069006F006E007300000000000985000001000000FFFFFFFFFFFFFFFFFFFEFF0B54006F006F006C0020004F0075007400700075007400000000000C85000001000000FFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000001000000FFFFFFFF0285000001000000FFFFFFFF0285000007000000FFFF02001200434D756C746950616E654672616D65576E6400010084000000001700000022010000C8000000000000000000000002000000000000000E85000000000000000000000000000000000000010000000E850000038000010084000000001700000080020000A80000000000000000000000020000000000000003850000000000000000000000000000000000000100000003850000038000010084000000001700000022010000C8000000000000000000000002000000000000000F85000000000000000000000000000000000000010000000F850000038000010084000000001700000022010000C80000000000000000000000020000000000000004850000000000000000000000000000000000000100000004850000038000010084000000001700000022010000C8000000000000000000000002000000000000000A85000000000000000000000000000000000000010000000A850000038000010084000000001700000080020000A8000000000000000000000002000000000000000B85000000000000000000000000000000000000010000000B850000038000010084CC02000074010000D2030000D5020000000000000000000002000000000000000D85000000000000000000000000000000000000010000000D8500000000000000000000 CMSIS-Pack @@ -411,7 +414,7 @@ Main - 00200000010000002000FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000035000000FFFEFF000000000000000000000000000100000001000000018001E100000000000036000000FFFEFF000000000000000000000000000100000001000000018003E100000000000038000000FFFEFF0000000000000000000000000001000000010000000180008100000000000019000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018007E10000000000003B000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018023E10000000004003D000000FFFEFF000000000000000000000000000100000001000000018022E10000000004003C000000FFFEFF000000000000000000000000000100000001000000018025E10000000004003F000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001802BE100000000040042000000FFFEFF00000000000000000000000000010000000100000001802CE100000000040043000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6E4281000000000000FFFFFFFFFFFEFF0000000000000000000100000000000000010000007800000002002050FFFFFFFFFFFEFF0096000000000000000500FFFEFF104700500049004F0050007500500064005F005400790070006500440065006600FFFEFF0E500065006E006400530056002000480061006E0064006C0065007200FFFEFF0F5300790073005400690063006B005F00480061006E0064006C0065007200FFFEFF074200530050005F00430050005500FFFEFF0B4100700070005400690063006B0049006E00690074000000000000000000000000000000000000000000018021810000000004002C000000FFFEFF000000000000000000000000000100000001000000018024E10000000000003E000000FFFEFF000000000000000000000000000100000001000000018028E100000000040040000000FFFEFF000000000000000000000000000100000001000000018029E100000000000041000000FFFEFF000000000000000000000000000100000001000000018002810000000000001B000000FFFEFF0000000000000000000000000001000000010000000180298100000000000030000000FFFEFF000000000000000000000000000100000001000000018027810000000000002E000000FFFEFF000000000000000000000000000100000001000000018028810000000000002F000000FFFEFF00000000000000000000000000010000000100000001801D8100000000040028000000FFFEFF00000000000000000000000000010000000100000001801E8100000000040029000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800B810000000004001F000000FFFEFF00000000000000000000000000010000000100000001800C8100000000000020000000FFFEFF00000000000000000000000000010000000100000001805F8600000000000034000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800E8100000000000022000000FFFEFF00000000000000000000000000010000000100000001800F8100000000000023000000FFFEFF00000000000000000000000000010000000100000000000000FFFEFF044D00610069006E00E8020000 + 00200000010000002000FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000035000000FFFEFF000000000000000000000000000100000001000000018001E100000000000036000000FFFEFF000000000000000000000000000100000001000000018003E100000000040038000000FFFEFF0000000000000000000000000001000000010000000180008100000000000019000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018007E10000000004003B000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018023E10000000004003D000000FFFEFF000000000000000000000000000100000001000000018022E10000000004003C000000FFFEFF000000000000000000000000000100000001000000018025E10000000004003F000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001802BE100000000040042000000FFFEFF00000000000000000000000000010000000100000001802CE100000000040043000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6E4281000000000400FFFFFFFFFFFEFF0001000000000000000100000000000000010000007800000002002050FFFFFFFFFFFEFF0096000000000000000500FFFEFF104700500049004F0050007500500064005F005400790070006500440065006600FFFEFF0E500065006E006400530056002000480061006E0064006C0065007200FFFEFF0F5300790073005400690063006B005F00480061006E0064006C0065007200FFFEFF074200530050005F00430050005500FFFEFF0B4100700070005400690063006B0049006E00690074000000000000000000000000000000000000000000018021810000000004002C000000FFFEFF000000000000000000000000000100000001000000018024E10000000004003E000000FFFEFF000000000000000000000000000100000001000000018028E100000000040040000000FFFEFF000000000000000000000000000100000001000000018029E100000000040041000000FFFEFF000000000000000000000000000100000001000000018002810000000004001B000000FFFEFF0000000000000000000000000001000000010000000180298100000000040030000000FFFEFF000000000000000000000000000100000001000000018027810000000004002E000000FFFEFF000000000000000000000000000100000001000000018028810000000004002F000000FFFEFF00000000000000000000000000010000000100000001801D8100000000000028000000FFFEFF00000000000000000000000000010000000100000001801E8100000000040029000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800B810000000004001F000000FFFEFF00000000000000000000000000010000000100000001800D8100000000000021000000FFFEFF00000000000000000000000000010000000100000001805F8600000000000034000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800E8100000000040022000000FFFEFF00000000000000000000000000010000000100000001800F8100000000040023000000FFFEFF00000000000000000000000000010000000100000000000000FFFEFF044D00610069006E00E8020000 34049 @@ -429,7 +432,7 @@ - 010000000300000001000000000000000000000001000000010000000200000000000000010000000100000000000000280000002800000001000000080000000500000001000000FFFEFF1B2400570053005F0044004900520024005C002E002E005C006D006F0064006200750073005C006D006F0064006200750073002E00630001000000FFFF010014004966436F6E74656E7453746F72616765496D706CFFFEFF00FFFEFFFF22013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E003100360032003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF086D006F0064006200750073002E00630000000000FFFFFFFFFFFFFFFFFFFEFF3264003A005C004900410052005F00500072006F006A006500630074005C0054007200610069006E00430061006D0070005F006600750062006F00770065006E005F004D006F0064006200750073005C006100700070005C006D00610069006E002E006300010000000180FFFEFF00FFFEFFFF21013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00310034003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF066D00610069006E002E00630000000000FFFFFFFFFFFFFFFFFFFEFF1F2400570053005F0044004900520024005C002E002E005C0075007300650072005C00730074006D003300320066003400780078005F00690074002E006300010000000180FFFEFF00FFFEFFFF27013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00390034003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0033003600340037003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0033003600340037003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0E730074006D003300320066003400780078005F00690074002E00630000000000FFFFFFFFFFFFFFFFFFFEFF242400570053005F0044004900520024005C002E002E005C00750063006F0073005F00690069005C0073006F0075007200630065005C006F0073005F0063006F00720065002E006300010000000180FFFEFF00FFFEFFFF2B013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0031003700390037003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E00370036003900350032003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E00370036003900350032003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF096F0073005F0063006F00720065002E00630000000000FFFFFFFFFFFFFFFFFFFEFF352400570053005F0044004900520024005C002E002E005C002E002E005C002E002E005C004900410052005C00610072006D005C0069006E0063005C0063005C0044004C00690062005F00500072006F0064007500630074005F0073007400720069006E0067002E006800010000000180FFFEFF00FFFEFFFF27013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00340031003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0031003500350030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0031003500350030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF1A44004C00690062005F00500072006F0064007500630074005F0073007400720069006E0067002E00680020005B0052004F005D0000000000FFFFFFFFFFFFFFFFFFFEFF262400570053005F0044004900520024005C002E002E005C00750063006F0073005F00690069005C0070006F007200740073005C006F0073005F006300700075005F0061002E00610073006D00010000000180FFFEFF00FFFEFFFF28013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E003100340038003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0036003400370037003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0036003400370037003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0C6F0073005F006300700075005F0061002E00610073006D0000000000FFFFFFFFFFFFFFFFFFFEFF212400570053005F0044004900520024005C002E002E005C006D006F0064006200750073005C006D006F0064006200750073005F0066006C006100730068002E006300010000000180FFFEFF00FFFEFFFF20013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0038003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0E6D006F0064006200750073005F0066006C006100730068002E00630000000000FFFFFFFFFFFFFFFFFFFEFF4064003A005C004900410052005F00500072006F006A006500630074005C0054007200610069006E00430061006D0070005F006600750062006F00770065006E005F004D006F0064006200750073005C00750063006F0073005F00690069005C0070006F007200740073005C006F0073005F006300700075005F0063002E006300010000000180FFFEFF00FFFEFFFF28013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E003100390034003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0038003100380034003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0038003100380034003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0A6F0073005F006300700075005F0063002E00630000000000FFFFFFFFFFFFFFFF0000000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD5000100000001000000020000000000000049000000AB060000C8020000 + 010000000300000001000000000000000000000001000000010000000200000000000000010000000100000000000000280000002800000001000000080000000000000001000000FFFEFF212400570053005F0044004900520024005C002E002E005C006D006F0064006200750073005C006D006F0064006200750073005F00700061007200730065002E00630001000000FFFF010014004966436F6E74656E7453746F72616765496D706CFFFEFF00FFFEFFFF27013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00350035003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0031003900350036003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0031003900350036003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0E6D006F0064006200750073005F00700061007200730065002E00630000000000FFFFFFFFFFFFFFFFFFFEFF242400570053005F0044004900520024005C002E002E005C006D006F0064006200750073005C006D006F0064006200750073005F007200650063005F00730065006E0064002E006300010000000180FFFEFF00FFFEFFFF20013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF116D006F0064006200750073005F007200650063005F00730065006E0064002E00630000000000FFFFFFFFFFFFFFFFFFFEFF212400570053005F0044004900520024005C002E002E005C006D006F0064006200750073005C006D006F0064006200750073005F00700061007200730065002E006800010000000180FFFEFF00FFFEFFFF20013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0E6D006F0064006200750073005F00700061007200730065002E00680000000000FFFFFFFFFFFFFFFFFFFEFF242400570053005F0044004900520024005C002E002E005C006D006F0064006200750073005C006D006F0064006200750073005F007200650063005F00730065006E0064002E006800010000000180FFFEFF00FFFEFFFF20013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF116D006F0064006200750073005F007200650063005F00730065006E0064002E00680000000000FFFFFFFFFFFFFFFFFFFEFF3264003A005C004900410052005F00500072006F006A006500630074005C0054007200610069006E00430061006D0070005F006600750062006F00770065006E005F004D006F0064006200750073005C006100700070005C006D00610069006E002E006300010000000180FFFEFF00FFFEFFFF25013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00330038003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E003900340031003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E003900340031003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF066D00610069006E002E00630000000000FFFFFFFFFFFFFFFFFFFEFF212400570053005F0044004900520024005C002E002E005C006D006F0064006200750073005C006D006F0064006200750073005F0066006C006100730068002E006300010000000180FFFEFF00FFFEFFFF21013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00310036003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0E6D006F0064006200750073005F0066006C006100730068002E00630000000000FFFFFFFFFFFFFFFFFFFEFF4264003A005C004900410052005F00500072006F006A006500630074005C0054007200610069006E00430061006D0070005F006600750062006F00770065006E005F004D006F0064006200750073005C00750063006F0073005F00690069005C0070006F007200740073005C006F0073005F006300700075005F0061002E00610073006D00010000000180FFFEFF00FFFEFFFF28013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E003100340034003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0036003400340036003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0036003400340036003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0C6F0073005F006300700075005F0061002E00610073006D0000000000FFFFFFFFFFFFFFFFFFFEFF4064003A005C004900410052005F00500072006F006A006500630074005C0054007200610069006E00430061006D0070005F006600750062006F00770065006E005F004D006F0064006200750073005C00750063006F0073005F00690069005C0073006F0075007200630065005C006F0073005F0063006F00720065002E006300010000000180FFFEFF00FFFEFFFF2B013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0031003700390037003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E00370036003900340032003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E00370036003900340032003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF096F0073005F0063006F00720065002E00630000000000FFFFFFFFFFFFFFFF0000000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD5000100000001000000020000000000000049000000AB060000C8020000 diff --git a/iar/settings/uCOS_Modbus.dnx b/iar/settings/uCOS_Modbus.dnx index 918a040..c36d957 100644 --- a/iar/settings/uCOS_Modbus.dnx +++ b/iar/settings/uCOS_Modbus.dnx @@ -16,15 +16,15 @@ 1 - 24230357 + 30303031 - 0 - 0 _ 0 _ 0 + 0 + 0 - 2248251518 + 363296300 _ 0 @@ -120,6 +120,13 @@ 1 0 + + 0 + + + _ 1 "EMUL_CODE" "{$PROJ_DIR$\..\modbus\modbus_parse.c}.67.13" 0 0 1 "" 0 "" 0 + 1 + _ 0 _ "" @@ -129,6 +136,10 @@ _ "" _ 0 + + 0 + 0 + 0 3 @@ -142,14 +153,4 @@ 1 - - 0 - - - 0 - - - 0 - 0 - diff --git a/iar/uCOS_Modbus.dep b/iar/uCOS_Modbus.dep index 8010ef2..b535a00 100644 --- a/iar/uCOS_Modbus.dep +++ b/iar/uCOS_Modbus.dep @@ -1,848 +1,921 @@ 4 - 799608125 + 3077789199 Debug - $TOOLKIT_DIR$\inc\c\DLib_Product.h - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.o - $TOOLKIT_DIR$\inc\c\ycheck.h - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.xcl - $TOOLKIT_DIR$\inc\c\DLib_Defaults.h - $PROJ_DIR$\Debug\Obj\os_task.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_can.__cstat.et - $PROJ_DIR$\Debug\Obj\os_cpu_a.o - $TOOLKIT_DIR$\lib\rt7M_tl.a - $TOOLKIT_DIR$\lib\m7M_tls.a - $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.xcl - $TOOLKIT_DIR$\inc\c\yvals.h + $PROJ_DIR$\..\app\inc\hardware.h + $PROJ_DIR$\..\app\src\hardware.c + $PROJ_DIR$\..\app\main.c + $PROJ_DIR$\..\app\main.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_adc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_crc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_dcmi.h + $PROJ_DIR$\..\cmsis\core_cmInstr.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_dbgmcu.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_fsmc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_can.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_exti.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_i2c.h + $PROJ_DIR$\..\cmsis\stm32f4xx.h + $PROJ_DIR$\..\cmsis\core_cm4.h + $PROJ_DIR$\startup_stm32f40xx.s + $PROJ_DIR$\..\cmsis\core_cm4_simd.h + $PROJ_DIR$\..\cmsis\system_stm32f4xx.c + $PROJ_DIR$\..\drivers\inc\misc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_dac.h + $PROJ_DIR$\..\cmsis\core_cmFunc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_flash.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_iwdg.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_pwr.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_rcc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_rng.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_rtc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_gpio.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_dma.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_sdio.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_spi.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_hash.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_cryp.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_syscfg.h + $PROJ_DIR$\..\cmsis\system_stm32f4xx.h + $PROJ_DIR$\..\modbus\modbus_parse.c + $PROJ_DIR$\..\modbus\modbus_rec_send.c + $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.o + $PROJ_DIR$\Debug\Obj\os_tmr.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_it.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.__cstat.et + $PROJ_DIR$\Debug\Obj\os_tmr.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.xcl + $PROJ_DIR$\Debug\Obj\os_dbg.__cstat.et + $PROJ_DIR$\Debug\Obj\os_sem.xcl + $PROJ_DIR$\Debug\Obj\app.__cstat.et + $PROJ_DIR$\Debug\Obj\hardware.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.o + $PROJ_DIR$\Debug\Obj\system_stm32f4xx.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.__cstat.et + $PROJ_DIR$\Debug\Obj\misc.xcl + $PROJ_DIR$\Debug\Obj\os_task.__cstat.et + $PROJ_DIR$\Debug\Obj\app.xcl + $PROJ_DIR$\Debug\Obj\system_stm32f4xx.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.xcl + $PROJ_DIR$\Debug\Obj\modbus_flash.xcl + $PROJ_DIR$\Debug\Obj\os_mem.xcl + $PROJ_DIR$\Debug\Obj\os_cpu_c.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.__cstat.et + $PROJ_DIR$\Debug\Obj\os_mutex.xcl + $PROJ_DIR$\Debug\Obj\os_task.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.xcl $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.o - $PROJ_DIR$\Debug\Obj\os_mem.o - $TOOLKIT_DIR$\inc\c\ysizet.h - $TOOLKIT_DIR$\inc\c\string.h - $PROJ_DIR$\Debug\List\uCOS_Modbus.map + $PROJ_DIR$\Debug\Obj\os_mutex.__cstat.et + $PROJ_DIR$\..\app\src\app.c + $PROJ_DIR$\Debug\Obj\os_cpu_c.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.__cstat.et + $PROJ_DIR$\Debug\Obj\os_tmr.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.xcl $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.xcl - $TOOLKIT_DIR$\inc\c\iccarm_builtin.h - $PROJ_DIR$\Debug\Obj\main.__cstat.et - $TOOLKIT_DIR$\config\linker\ST\stm32f407xG.icf + $PROJ_DIR$\Debug\List\uCOS_Modbus.map $PROJ_DIR$\Debug\Obj\os_mbox.__cstat.et + $PROJ_DIR$\Debug\Exe\uCOS_Modbus.bin + $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.xcl + $PROJ_DIR$\Debug\Obj\os_q.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.__cstat.et - $TOOLKIT_DIR$\inc\c\cmsis_iar.h - $TOOLKIT_DIR$\lib\dl7M_tln.a - $TOOLKIT_DIR$\lib\shb_l.a - $PROJ_DIR$\..\app\src\app.c - $PROJ_DIR$\Debug\Obj\os_tmr.o - $TOOLKIT_DIR$\inc\c\stdint.h - $PROJ_DIR$\Debug\Obj\os_dbg.xcl - $PROJ_DIR$\Debug\Obj\utils.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.xcl $PROJ_DIR$\Debug\Obj\modbus.xcl - $PROJ_DIR$\Debug\Obj\os_time.xcl - $PROJ_DIR$\Debug\Obj\os_mutex.__cstat.et - $PROJ_DIR$\Debug\Obj\os_cpu_c.o - $PROJ_DIR$\Debug\Obj\misc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.o - $PROJ_DIR$\Debug\Obj\os_cpu_c.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.xcl - $PROJ_DIR$\Debug\Obj\misc.xcl - $PROJ_DIR$\Debug\Exe\uCOS_Modbus.bin - $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.__cstat.et - $PROJ_DIR$\Debug\Obj\os_flag.xcl - $PROJ_DIR$\Debug\Obj\os_sem.xcl - $PROJ_DIR$\Debug\Obj\os_dbg.__cstat.et - $PROJ_DIR$\Debug\Obj\os_cpu_c.__cstat.et - $PROJ_DIR$\Debug\Obj\app.__cstat.et - $PROJ_DIR$\Debug\Obj\os_task.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.xcl + $PROJ_DIR$\Debug\Obj\os_dbg.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.o + $PROJ_DIR$\Debug\Obj\utils.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.__cstat.et - $PROJ_DIR$\Debug\Obj\os_mem.xcl - $PROJ_DIR$\Debug\Obj\hardware.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.o - $PROJ_DIR$\Debug\Obj\app.xcl - $PROJ_DIR$\Debug\Obj\system_stm32f4xx.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_it.__cstat.et - $PROJ_DIR$\Debug\Obj\system_stm32f4xx.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.xcl - $PROJ_DIR$\Debug\Obj\os_tmr.xcl - $PROJ_DIR$\Debug\Obj\os_time.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.xcl + $PROJ_DIR$\Debug\Obj\os_core.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.o + $PROJ_DIR$\Debug\Obj\os_flag.xcl + $PROJ_DIR$\Debug\Obj\sys_cfg.xcl + $PROJ_DIR$\Debug\Obj\modbus.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.xcl + $PROJ_DIR$\Debug\Obj\os_q.xcl + $PROJ_DIR$\Debug\Obj\main.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_can.xcl + $PROJ_DIR$\Debug\Obj\main.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.__cstat.et + $PROJ_DIR$\Debug\Obj\os_time.o + $PROJ_DIR$\Debug\Obj\utils.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.xcl + $PROJ_DIR$\Debug\Obj\misc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.o $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_it.xcl - $PROJ_DIR$\Debug\Obj\os_q.__cstat.et - $PROJ_DIR$\Debug\Obj\hardware.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.xcl + $PROJ_DIR$\Debug\Obj\os_core.__cstat.et + $PROJ_DIR$\Debug\Obj\system_stm32f4xx.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.xcl + $PROJ_DIR$\Debug\Obj\hardware.xcl + $PROJ_DIR$\Debug\Obj\os_sem.o $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.__cstat.et - $PROJ_DIR$\Debug\Obj\sys_cfg.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_it.xcl $PROJ_DIR$\Debug\Obj\os_flag.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.o $PROJ_DIR$\Debug\Obj\os_mutex.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.o $PROJ_DIR$\Debug\Obj\modbus.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.xcl - $PROJ_DIR$\Debug\Obj\main.o - $PROJ_DIR$\Debug\Obj\os_task.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.o - $PROJ_DIR$\Debug\Obj\misc.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.xcl - $PROJ_DIR$\Debug\Obj\system_stm32f4xx.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.__cstat.et - $PROJ_DIR$\Debug\Obj\os_q.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.o - $PROJ_DIR$\Debug\Obj\modbus_flash.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.__cstat.et - $PROJ_DIR$\Debug\Obj\os_time.o - $TOOLKIT_DIR$\inc\c\DLib_Product_string.h - $TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h - $PROJ_DIR$\Debug\Obj\os_mutex.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.xcl - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c - $PROJ_DIR$\..\drivers\src\misc.c - $PROJ_DIR$\..\drivers\inc\stm32f4xx_wwdg.h - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - $PROJ_DIR$\..\drivers\inc\stm32f4xx_usart.h - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c - $PROJ_DIR$\..\ucos_ii\source\os_tmr.c - $PROJ_DIR$\..\modbus\modbus.h - $PROJ_DIR$\..\user\os_cfg.h - $PROJ_DIR$\..\user\stm32f4xx_conf.h - $PROJ_DIR$\..\user\stm32f4xx_it.c - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c - $PROJ_DIR$\..\ucos_ii\source\os_time.c - $PROJ_DIR$\..\ucos_ii\source\os_q.c - $PROJ_DIR$\..\ucos_ii\source\os_task.c - $PROJ_DIR$\..\modbus\modbus.c - $PROJ_DIR$\..\user\app_cfg.h - $PROJ_DIR$\..\user\sys_cfg.h - $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.__cstat.et + $PROJ_DIR$\Debug\Obj\hardware.__cstat.et $PROJ_DIR$\Debug\Obj\os_sem.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.o + $PROJ_DIR$\Debug\Obj\modbus_flash.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.xcl $PROJ_DIR$\Debug\Obj\modbus_flash.o - $PROJ_DIR$\..\ucos_ii\source\os_mem.c - $PROJ_DIR$\..\modbus\modbus_flash.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c - $PROJ_DIR$\..\ucos_ii\source\os_sem.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c - $PROJ_DIR$\..\ucos_ii\source\os_core.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu.h - $PROJ_DIR$\..\ucos_ii\source\ucos_ii.h - $PROJ_DIR$\..\user\stm32f4xx_it.h - $PROJ_DIR$\..\modbus\modbus_flash.h - $PROJ_DIR$\..\user\sys_cfg.c - $PROJ_DIR$\..\ucos_ii\source\os.h - $PROJ_DIR$\..\ucos_ii\source\os_flag.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm - $PROJ_DIR$\..\drivers\inc\stm32f4xx_tim.h - $PROJ_DIR$\..\cmsis\core_cm4.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_dcmi.h - $PROJ_DIR$\..\cmsis\core_cm4_simd.h - $PROJ_DIR$\..\cmsis\stm32f4xx.h - $PROJ_DIR$\..\cmsis\system_stm32f4xx.c - $PROJ_DIR$\..\drivers\inc\stm32f4xx_dac.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_dma.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_adc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_flash.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_hash.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_gpio.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_cryp.h - $PROJ_DIR$\..\cmsis\core_cmInstr.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_can.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_rcc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_rng.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_pwr.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_iwdg.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_rtc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_sdio.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_spi.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_crc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_fsmc.h - $PROJ_DIR$\startup_stm32f40xx.s - $PROJ_DIR$\..\cmsis\system_stm32f4xx.h - $PROJ_DIR$\..\drivers\inc\misc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_exti.h - $PROJ_DIR$\..\cmsis\core_cmFunc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_dbgmcu.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_i2c.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_syscfg.h - $PROJ_DIR$\..\app\inc\hardware.h - $PROJ_DIR$\..\app\src\hardware.c - $PROJ_DIR$\..\app\main.c - $PROJ_DIR$\..\app\main.h - $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.o - $PROJ_DIR$\Debug\Obj\os_tmr.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.__cstat.et - $PROJ_DIR$\Debug\Obj\hardware.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.o $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.xcl - $PROJ_DIR$\Debug\Obj\modbus.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.o - $PROJ_DIR$\Debug\Obj\os_sem.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.__cstat.et - $PROJ_DIR$\Debug\Obj\os_q.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_can.o - $PROJ_DIR$\Debug\Obj\os_core.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_can.xcl - $PROJ_DIR$\Debug\Obj\os_core.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.__cstat.et - $PROJ_DIR$\Debug\Obj\sys_cfg.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.o + $PROJ_DIR$\Debug\Obj\os_mbox.xcl $PROJ_DIR$\Debug\Obj\os_mbox.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.xcl $PROJ_DIR$\Debug\Obj\sys_cfg.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.__cstat.et - $PROJ_DIR$\Debug\Obj\modbus_flash.__cstat.et - $PROJ_DIR$\Debug\Obj\os_dbg.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.__cstat.et - $PROJ_DIR$\Debug\Obj\os_core.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.__cstat.et - $PROJ_DIR$\Debug\Obj\utils.o - $PROJ_DIR$\Debug\Obj\os_flag.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.xcl + $PROJ_DIR$\Debug\Exe\uCOS_Modbus.out + $PROJ_DIR$\Debug\Obj\sys_cfg.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_can.__cstat.et + $PROJ_DIR$\Debug\Obj\startup_stm32f40xx.o + $PROJ_DIR$\Debug\Obj\os_cpu_a.o + $PROJ_DIR$\Debug\Obj\os_task.xcl $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_it.o - $PROJ_DIR$\Debug\Obj\os_mbox.xcl - $PROJ_DIR$\Debug\Exe\uCOS_Modbus.out - $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.xcl + $PROJ_DIR$\Debug\Obj\os_cpu_c.o + $PROJ_DIR$\Debug\Obj\os_core.o $PROJ_DIR$\Debug\Obj\utils.xcl - $PROJ_DIR$\Debug\Obj\main.xcl - $PROJ_DIR$\Debug\Obj\startup_stm32f40xx.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.__cstat.et + $PROJ_DIR$\Debug\Obj\os_flag.o + $PROJ_DIR$\Debug\Obj\main.__cstat.et + $PROJ_DIR$\Debug\Obj\misc.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_can.o + $PROJ_DIR$\Debug\Obj\os_mem.o $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.xcl + $PROJ_DIR$\Debug\Obj\os_dbg.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.xcl + $PROJ_DIR$\Debug\Obj\os_q.o $PROJ_DIR$\Debug\Obj\os_mem.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.o + $PROJ_DIR$\Debug\Obj\os_time.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.xcl + $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\ucos_ii\source\ucos_ii.h + $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\user\sys_cfg.h + $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\Debug\Obj\os_time.__cstat.et + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\modbus\modbus.h + $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c + $PROJ_DIR$\..\ucos_ii\source\os_mem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm + $PROJ_DIR$\..\ucos_ii\source\os.h + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c + $PROJ_DIR$\..\ucos_ii\source\os_time.c + $PROJ_DIR$\..\user\app_cfg.h + $PROJ_DIR$\..\ucos_ii\source\os_q.c + $PROJ_DIR$\..\modbus\modbus.c + $PROJ_DIR$\..\user\os_cfg.h + $PROJ_DIR$\..\user\stm32f4xx_conf.h + $PROJ_DIR$\..\modbus\modbus_flash.h + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c + $PROJ_DIR$\..\ucos_ii\source\os_core.c + $PROJ_DIR$\..\modbus\modbus_flash.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu.h + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\user\stm32f4xx_it.c + $PROJ_DIR$\..\user\stm32f4xx_it.h + $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_tim.h + $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_wwdg.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_usart.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c $PROJ_DIR$\Debug\Obj\uCOS_Modbus.pbd + $TOOLKIT_DIR$\inc\c\DLib_Product_string.h + $PROJ_DIR$\Debug\Obj\modbus_parse.__cstat.et + $PROJ_DIR$\Debug\Obj\modbus_rec_send.__cstat.et + $TOOLKIT_DIR$\lib\dl7M_tln.a + $TOOLKIT_DIR$\lib\rt7M_tl.a + $TOOLKIT_DIR$\config\linker\ST\stm32f407xG.icf + $TOOLKIT_DIR$\lib\shb_l.a + $TOOLKIT_DIR$\lib\m7M_tls.a + $PROJ_DIR$\..\modbus\modbus_parse.h + $PROJ_DIR$\..\modbus\modbus_rec_send.h + $PROJ_DIR$\Debug\Obj\modbus_parse.o + $TOOLKIT_DIR$\inc\c\iccarm_builtin.h + $TOOLKIT_DIR$\inc\c\string.h + $TOOLKIT_DIR$\inc\c\ysizet.h + $TOOLKIT_DIR$\inc\c\ycheck.h + $TOOLKIT_DIR$\inc\c\DLib_Defaults.h + $TOOLKIT_DIR$\inc\c\yvals.h + $TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h + $TOOLKIT_DIR$\inc\c\stdint.h + $TOOLKIT_DIR$\inc\c\DLib_Product.h + $TOOLKIT_DIR$\inc\c\cmsis_iar.h + $PROJ_DIR$\Debug\Obj\modbus_rec_send.xcl + $PROJ_DIR$\Debug\Obj\modbus_rec_send.o + $PROJ_DIR$\Debug\Obj\modbus_parse.xcl - $PROJ_DIR$\..\app\src\app.c + [ROOT_NODE] + + + ILINK + 160 79 + + + + + $PROJ_DIR$\..\app\src\hardware.c + + ICCARM + 49 + __cstat - 53 + 143 BICOMP - 64 + 130 + + + ICCARM + 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 0 269 198 215 218 224 + + - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\app\main.c - __cstat - 117 + ICCARM + 110 - ICCARM - 234 + __cstat + 182 BICOMP - 76 + 105 ICCARM - 206 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 204 208 209 210 220 189 154 145 215 + 3 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 0 269 198 215 218 224 212 201 220 273 274 261 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\startup_stm32f40xx.s - __cstat - 120 + AARM + 164 + + + + $PROJ_DIR$\..\cmsis\system_stm32f4xx.c + ICCARM - 1 + 52 + + + __cstat + 128 BICOMP - 270 + 58 ICCARM - 199 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c + $PROJ_DIR$\..\modbus\modbus_parse.c - __cstat - 251 + ICCARM + 271 - ICCARM - 81 + __cstat + 262 BICOMP - 99 + 284 ICCARM - 201 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 198 215 218 224 212 273 274 261 269 270 - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\modbus\modbus_rec_send.c - __cstat - 58 + ICCARM + 283 - ICCARM - 226 + __cstat + 263 BICOMP - 69 + 282 ICCARM - 219 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 207 206 204 208 209 210 220 189 154 145 215 + 270 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 269 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c + $PROJ_DIR$\..\app\src\app.c __cstat 48 + + BICOMP + 57 + + + + + $PROJ_DIR$\Debug\Exe\uCOS_Modbus.out + + + ILINK + 79 + + + OBJCOPY + 81 + + + + + ILINK + 266 49 110 183 151 271 283 171 165 170 91 181 157 188 135 193 131 68 114 75 164 149 187 112 107 122 175 78 186 92 41 98 146 93 121 155 120 51 178 111 168 70 162 59 177 123 60 37 148 136 139 138 159 52 115 267 265 268 264 + + + + + $PROJ_DIR$\..\user\sys_cfg.c + ICCARM - 269 + 159 + + + __cstat + 161 BICOMP - 108 + 100 ICCARM - 205 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 218 201 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c + $PROJ_DIR$\..\ucos_ii\source\os_task.c - __cstat - 268 + ICCARM + 68 - ICCARM - 231 + __cstat + 56 BICOMP - 11 + 166 ICCARM - 208 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 209 210 220 189 154 145 215 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c - __cstat - 7 + ICCARM + 181 - ICCARM - 238 + __cstat + 134 BICOMP - 240 + 99 ICCARM - 203 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c + $PROJ_DIR$\..\user\utils.c - __cstat - 87 + ICCARM + 115 - ICCARM - 72 + __cstat + 94 BICOMP - 43 + 172 ICCARM - 209 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 210 220 189 154 145 215 + 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c - __cstat - 230 + ICCARM + 136 - ICCARM - 63 + __cstat + 184 BICOMP - 125 + 103 ICCARM - 210 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 220 189 154 145 215 + 240 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 258 255 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c + $PROJ_DIR$\..\ucos_ii\source\os_tmr.c - __cstat - 74 + ICCARM + 75 - ICCARM - 96 + __cstat + 44 BICOMP - 100 + 38 ICCARM - 220 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 189 154 145 215 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c - __cstat - 24 + ICCARM + 170 - ICCARM - 263 + __cstat + 73 BICOMP - 258 + 64 ICCARM - 200 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 219 207 206 204 208 209 210 220 189 154 145 215 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c + $PROJ_DIR$\..\ucos_ii\source\os_mem.c - __cstat - 228 + ICCARM + 188 - ICCARM - 41 + __cstat + 194 BICOMP - 93 + 63 ICCARM - 196 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c - __cstat - 59 + ICCARM + 139 - ICCARM - 114 + __cstat + 40 BICOMP - 33 + 158 ICCARM - 204 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 208 209 210 220 189 154 145 215 + 258 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 255 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c - __cstat - 247 + ICCARM + 138 - ICCARM - 86 + __cstat + 124 BICOMP - 80 + 150 ICCARM - 189 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 154 145 215 + 255 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm - __cstat - 112 + AARM + 165 + + + + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c + ICCARM - 66 + 135 + + + __cstat + 71 BICOMP - 92 + 67 ICCARM - 199 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\ucos_ii\source\os_time.c - __cstat - 57 + ICCARM + 114 - ICCARM - 6 + __cstat + 203 BICOMP - 35 + 195 ICCARM - 195 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\ucos_ii\source\os_q.c - __cstat - 254 + ICCARM + 193 - ICCARM - 115 + __cstat + 83 BICOMP - 225 + 104 ICCARM - 216 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\modbus\modbus.c - __cstat - 119 + ICCARM + 137 - ICCARM - 94 + __cstat + 101 BICOMP - 73 + 87 - - - ICCARM - 154 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 145 215 - - - $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c - __cstat - 107 + ICCARM + 91 - ICCARM - 40 + __cstat + 46 BICOMP - 44 + 190 ICCARM - 215 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c + $PROJ_DIR$\..\ucos_ii\source\os_core.c - __cstat - 236 + ICCARM + 171 - ICCARM - 257 + __cstat + 127 BICOMP - 102 + 97 ICCARM - 197 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\modbus\modbus_flash.c - __cstat - 110 + ICCARM + 151 - ICCARM - 273 + __cstat + 147 BICOMP - 111 + 62 ICCARM - 201 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 21 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 9 27 12 22 23 24 26 29 30 33 240 258 255 18 269 198 215 218 224 220 273 274 261 212 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c - __cstat - 259 + ICCARM + 157 - ICCARM - 18 + __cstat + 80 BICOMP - 264 + 156 ICCARM - 201 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\user\stm32f4xx_it.c - __cstat - 82 + ICCARM + 168 - ICCARM - 91 + __cstat + 42 BICOMP - 246 + 133 ICCARM - 198 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 227 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 198 215 218 224 - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c + $PROJ_DIR$\..\ucos_ii\source\os_sem.c - __cstat - 90 + ICCARM + 131 - ICCARM - 75 + __cstat + 144 BICOMP - 19 + 47 ICCARM - 212 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 200 219 207 206 204 208 209 210 220 189 154 145 215 + 198 215 218 224 @@ -850,666 +923,643 @@ $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c - __cstat - 248 + ICCARM + 92 - ICCARM - 47 + __cstat + 176 BICOMP - 232 + 152 ICCARM - 218 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 8 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c - __cstat - 55 + ICCARM + 177 - ICCARM - 77 + __cstat + 66 BICOMP - 89 + 129 ICCARM - 211 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 25 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c - __cstat - 60 + ICCARM + 146 - ICCARM - 106 + __cstat + 191 BICOMP - 56 + 45 ICCARM - 191 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 11 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c - __cstat - 252 + ICCARM + 60 - ICCARM - 118 + __cstat + 132 BICOMP - 271 + 53 ICCARM - 201 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 29 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 30 33 240 258 255 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c - __cstat - 242 + ICCARM + 37 - ICCARM - 101 + __cstat + 113 BICOMP - 3 + 106 ICCARM - 199 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 30 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 33 240 258 255 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c - __cstat - 46 + ICCARM + 107 - ICCARM - 13 + __cstat + 180 BICOMP - 34 + 126 ICCARM - 207 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 206 204 208 209 210 220 189 154 145 215 + 32 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c - __cstat - 38 + ICCARM + 120 - ICCARM - 97 + __cstat + 125 BICOMP - 124 + 169 ICCARM - 182 169 161 181 + 31 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c - __cstat - 227 + ICCARM + 175 - ICCARM - 29 + __cstat + 102 BICOMP - 70 + 108 ICCARM - 182 169 161 181 + 32 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\user\stm32f4xx_it.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c - __cstat - 67 + ICCARM + 186 - ICCARM - 260 + __cstat + 65 BICOMP - 83 + 196 ICCARM - 183 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 182 169 161 181 + 19 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c - __cstat - 23 + ICCARM + 111 - ICCARM - 244 + __cstat + 95 BICOMP - 261 + 61 ICCARM - 182 169 161 181 + 12 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\source\os_time.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c - __cstat - 71 + ICCARM + 78 - ICCARM - 121 + __cstat + 167 BICOMP - 37 + 173 ICCARM - 182 169 161 181 + 32 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\source\os_q.c + $PROJ_DIR$\..\drivers\src\misc.c - __cstat - 84 + ICCARM + 183 - ICCARM - 237 + __cstat + 119 BICOMP - 113 + 55 ICCARM - 182 169 161 181 + 18 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 - $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c - __cstat - 54 + ICCARM + 187 - ICCARM - 104 + __cstat + 163 BICOMP - 5 + 109 ICCARM - 182 169 161 181 + 10 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\modbus\modbus.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - __cstat - 233 + ICCARM + 41 - ICCARM - 98 + __cstat + 76 BICOMP - 36 + 89 ICCARM - 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 182 169 161 181 186 16 15 122 160 + 6 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c - __cstat - 32 + ICCARM + 93 - ICCARM - 255 + __cstat + 74 BICOMP - 265 + 192 ICCARM - 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 21 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\source\os_mem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c - __cstat - 272 + ICCARM + 149 - ICCARM - 14 + __cstat + 174 BICOMP - 61 + 117 ICCARM - 182 169 161 181 + 4 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\modbus\modbus_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c - __cstat - 249 + ICCARM + 51 - ICCARM - 173 + __cstat + 142 BICOMP - 116 + 90 ICCARM - 198 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 212 200 219 207 206 204 208 209 210 220 189 154 145 215 160 182 169 161 181 184 16 15 122 186 + 31 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c - __cstat - 52 + ICCARM + 121 - ICCARM - 39 + __cstat + 140 BICOMP - 42 + 86 ICCARM - 182 169 161 181 + 9 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c - __cstat - 172 + ICCARM + 70 - ICCARM - 235 + __cstat + 54 BICOMP - 50 + 77 ICCARM - 182 169 161 181 + 22 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c - __cstat - 78 + ICCARM + 162 - ICCARM - 79 + __cstat + 141 BICOMP - 105 + 69 ICCARM - 145 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 215 + 23 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c - __cstat - 51 + ICCARM + 59 - ICCARM - 250 + __cstat + 43 BICOMP - 31 + 85 ICCARM - 182 169 161 181 + 24 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\source\os_core.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c - __cstat - 253 + ICCARM + 123 - ICCARM - 239 + __cstat + 179 BICOMP - 241 + 96 ICCARM - 182 169 161 181 + 26 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 29 30 33 240 258 255 18 - $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c - __cstat - 88 + ICCARM + 148 - ICCARM - 245 + __cstat + 153 BICOMP - 243 + 118 ICCARM - 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 161 170 + 33 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c - __cstat - 95 + ICCARM + 155 - ICCARM - 256 + __cstat + 84 BICOMP - 49 + 116 ICCARM - 182 169 161 181 + 27 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm - - - AARM - 8 - - - - - [ROOT_NODE] + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c - ILINK - 262 17 + ICCARM + 178 - - - - $PROJ_DIR$\..\cmsis\system_stm32f4xx.c - __cstat - 109 - - - ICCARM - 68 + 50 BICOMP - 65 + 189 ICCARM - 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 + 31 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\startup_stm32f40xx.s + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c - AARM - 267 + ICCARM + 122 - - - - $PROJ_DIR$\..\app\src\hardware.c - __cstat - 85 - - - ICCARM - 62 + 185 BICOMP - 229 + 145 ICCARM - 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 221 160 182 169 161 181 + 32 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\..\app\main.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c - __cstat - 21 + ICCARM + 98 - ICCARM - 103 + __cstat + 39 BICOMP - 266 + 82 ICCARM - 224 193 190 30 2 12 4 123 0 202 25 20 217 192 214 162 211 218 196 216 198 212 200 219 207 206 204 208 209 210 220 189 154 145 215 221 160 182 169 161 181 186 170 184 16 15 122 + 28 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 5 8 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 - $PROJ_DIR$\Debug\Exe\uCOS_Modbus.out + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c - OBJCOPY - 45 + ICCARM + 112 - ILINK - 17 + __cstat + 88 + + + BICOMP + 154 - ILINK - 22 62 103 40 98 173 239 8 39 250 256 244 14 97 237 235 104 121 29 267 257 238 77 118 81 273 18 6 47 106 41 115 91 75 263 101 66 1 226 260 13 234 114 269 231 72 63 96 86 94 79 245 68 255 27 9 10 26 + ICCARM + 5 13 14 279 275 277 276 278 280 7 281 272 20 16 34 219 8 28 11 21 9 27 12 22 23 24 26 29 30 33 240 258 255 18 @@ -1517,369 +1567,383 @@ Release - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.o - $PROJ_DIR$\Release\Obj\sys_cfg.o - $PROJ_DIR$\Release\Obj\os_time.o - $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.o - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.o - $PROJ_DIR$\Release\Obj\misc.o - $PROJ_DIR$\Release\Obj\stm32f4xx_crc.xcl - $PROJ_DIR$\Release\Obj\os_core.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_exti.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_dma.o - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.xcl - $PROJ_DIR$\Release\Obj\os_dbg.o - $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.o - $PROJ_DIR$\Release\Obj\stm32f4xx_tim.o - $PROJ_DIR$\Release\Obj\os_sem.o - $PROJ_DIR$\Release\Obj\hardware.o - $PROJ_DIR$\Release\Obj\main.o - $PROJ_DIR$\Release\Obj\stm32f4xx_can.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.xcl - $PROJ_DIR$\Release\Obj\os_mutex.xcl - $PROJ_DIR$\Release\Obj\os_core.o - $PROJ_DIR$\Release\Obj\main.xcl - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c - $PROJ_DIR$\..\drivers\src\misc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c - $PROJ_DIR$\..\ucos_ii\source\os_tmr.c - $PROJ_DIR$\..\user\stm32f4xx_it.c - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c - $PROJ_DIR$\..\ucos_ii\source\os_time.c - $PROJ_DIR$\..\ucos_ii\source\os_q.c - $PROJ_DIR$\..\ucos_ii\source\os_task.c - $PROJ_DIR$\..\user\utils.c - $PROJ_DIR$\..\ucos_ii\source\os_mem.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c - $PROJ_DIR$\..\ucos_ii\source\os_sem.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c - $PROJ_DIR$\..\ucos_ii\source\os_core.c - $PROJ_DIR$\..\user\sys_cfg.c - $PROJ_DIR$\..\ucos_ii\source\os_flag.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm - $PROJ_DIR$\..\cmsis\system_stm32f4xx.c - $PROJ_DIR$\startup_stm32f40xx.s $PROJ_DIR$\..\app\src\hardware.c $PROJ_DIR$\..\app\main.c - $PROJ_DIR$\Release\Obj\stm32f4xx_it.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_tim.xcl - $PROJ_DIR$\Release\Obj\os_q.o - $PROJ_DIR$\Release\Obj\stm32f4xx_flash.o - $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.o + $PROJ_DIR$\startup_stm32f40xx.s + $PROJ_DIR$\..\cmsis\system_stm32f4xx.c + $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.xcl + $PROJ_DIR$\Release\Obj\os_dbg.o + $PROJ_DIR$\Release\Obj\stm32f4xx_crc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.o + $PROJ_DIR$\Release\Obj\misc.o + $PROJ_DIR$\Release\Obj\stm32f4xx_it.o + $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.o + $PROJ_DIR$\Release\Obj\os_sem.o + $PROJ_DIR$\Release\Obj\os_mbox.o $PROJ_DIR$\Release\Obj\hardware.xcl - $PROJ_DIR$\Release\Obj\os_flag.o - $PROJ_DIR$\Release\Obj\utils.xcl - $PROJ_DIR$\Release\Obj\os_task.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.xcl - $PROJ_DIR$\Release\Obj\os_cpu_c.o - $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.o - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.o - $PROJ_DIR$\Release\Obj\os_mutex.o - $PROJ_DIR$\Release\Obj\stm32f4xx_exti.o - $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.o - $PROJ_DIR$\Release\Obj\os_flag.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.o - $PROJ_DIR$\Release\Obj\stm32f4xx_usart.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_dac.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_syscfg.o - $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.o - $PROJ_DIR$\Release\Obj\stm32f4xx_adc.o - $PROJ_DIR$\Release\Obj\os_tmr.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_tim.o + $PROJ_DIR$\Release\Obj\sys_cfg.o + $PROJ_DIR$\Release\Obj\hardware.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.o + $PROJ_DIR$\Release\Obj\stm32f4xx_can.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.o $PROJ_DIR$\Release\Obj\startup_stm32f40xx.o - $PROJ_DIR$\Release\Obj\stm32f4xx_dac.o + $PROJ_DIR$\Release\Obj\stm32f4xx_dma.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.xcl + $PROJ_DIR$\Release\Obj\os_core.xcl + $PROJ_DIR$\Release\Obj\main.o + $PROJ_DIR$\Release\Obj\stm32f4xx_can.o + $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.xcl + $PROJ_DIR$\Release\Obj\os_time.o + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_exti.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.xcl $PROJ_DIR$\Release\Obj\os_dbg.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.o - $PROJ_DIR$\Release\Obj\stm32f4xx_hash.xcl - $PROJ_DIR$\Release\Obj\os_time.xcl - $PROJ_DIR$\Release\Obj\os_mem.o - $PROJ_DIR$\Release\Obj\stm32f4xx_syscfg.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_rng.o $PROJ_DIR$\Release\Obj\os_mbox.xcl - $PROJ_DIR$\Release\Obj\os_mbox.o - $PROJ_DIR$\Release\Obj\misc.xcl - $PROJ_DIR$\Release\Obj\os_cpu_a.o $PROJ_DIR$\Release\Obj\stm32f4xx_flash.xcl + $PROJ_DIR$\Release\Obj\os_mem.o + $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.o + $PROJ_DIR$\Release\Obj\os_time.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.o + $PROJ_DIR$\Release\Obj\stm32f4xx_dac.o + $PROJ_DIR$\Release\Obj\system_stm32f4xx.o + $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.o + $PROJ_DIR$\Release\Obj\os_cpu_a.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.xcl + $PROJ_DIR$\Release\Obj\os_tmr.xcl + $PROJ_DIR$\Release\Obj\misc.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_crc.o - $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.o + $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.xcl + $PROJ_DIR$\Release\Obj\os_flag.o + $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.o + $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_usart.o - $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.o - $PROJ_DIR$\Release\Obj\stm32f4xx_can.o - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_rng.xcl $PROJ_DIR$\Release\Obj\os_cpu_c.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_adc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_hash.xcl $PROJ_DIR$\Release\Obj\system_stm32f4xx.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rng.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_it.o - $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rng.o - $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.o - $PROJ_DIR$\Release\Obj\system_stm32f4xx.o - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_spi.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_adc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_syscfg.xcl + $PROJ_DIR$\Release\Obj\os_task.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_tim.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.o + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.o + $PROJ_DIR$\Release\Obj\stm32f4xx_syscfg.o + $PROJ_DIR$\Release\Obj\os_mutex.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_dac.xcl + $PROJ_DIR$\Release\Obj\main.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.xcl + $PROJ_DIR$\Release\Obj\sys_cfg.xcl + $PROJ_DIR$\Release\Obj\os_mutex.o $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_dma.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_dbgmcu.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash.o - $PROJ_DIR$\Release\Obj\os_tmr.o - $PROJ_DIR$\Release\Obj\os_q.xcl - $PROJ_DIR$\Release\Obj\os_mem.xcl - $PROJ_DIR$\Release\Obj\utils.o - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.o - $PROJ_DIR$\Release\Obj\stm32f4xx_spi.o $PROJ_DIR$\Release\Exe\uCOS_Modbus.out - $PROJ_DIR$\Release\Obj\sys_cfg.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.o - $PROJ_DIR$\Release\Obj\os_sem.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.o + $PROJ_DIR$\Release\Obj\stm32f4xx_usart.xcl + $PROJ_DIR$\Release\Obj\utils.o + $PROJ_DIR$\Release\Obj\stm32f4xx_hash.o + $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.o + $PROJ_DIR$\Release\Obj\stm32f4xx_flash.o + $PROJ_DIR$\Release\Obj\stm32f4xx_exti.o + $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_it.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.xcl + $PROJ_DIR$\Release\Obj\os_core.o + $PROJ_DIR$\Release\Obj\utils.xcl + $PROJ_DIR$\Release\Obj\os_cpu_c.o + $PROJ_DIR$\Release\Obj\os_flag.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_adc.o + $PROJ_DIR$\Release\Obj\os_q.o + $PROJ_DIR$\Release\Obj\stm32f4xx_dbgmcu.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.o + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.o $PROJ_DIR$\Release\Obj\stm32f4xx_dbgmcu.o + $PROJ_DIR$\Release\Obj\stm32f4xx_spi.xcl $PROJ_DIR$\Release\Obj\os_task.o + $PROJ_DIR$\Release\Obj\os_sem.xcl + $PROJ_DIR$\Release\Obj\os_mem.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_dma.xcl + $PROJ_DIR$\Release\Obj\os_q.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_spi.o + $PROJ_DIR$\Release\Obj\os_tmr.o + $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c + $PROJ_DIR$\..\ucos_ii\source\os_mem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c + $PROJ_DIR$\..\ucos_ii\source\os_time.c + $PROJ_DIR$\..\ucos_ii\source\os_q.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c + $PROJ_DIR$\..\ucos_ii\source\os_core.c + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\user\stm32f4xx_it.c + $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + [ROOT_NODE] + + + ILINK + 74 + + + + + $PROJ_DIR$\..\app\src\hardware.c ICCARM - 101 + 17 BICOMP - 107 + 14 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\app\main.c ICCARM - 90 + 25 BICOMP - 134 + 69 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c + $PROJ_DIR$\startup_stm32f40xx.s + + + AARM + 21 + + + + + $PROJ_DIR$\..\cmsis\system_stm32f4xx.c ICCARM - 144 + 43 BICOMP - 12 + 58 - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\user\sys_cfg.c ICCARM - 119 + 16 BICOMP - 3 + 71 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c + $PROJ_DIR$\..\ucos_ii\source\os_task.c ICCARM - 130 + 98 BICOMP - 127 + 61 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c ICCARM - 14 + 51 BICOMP - 77 + 89 - $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\user\utils.c ICCARM - 122 + 77 BICOMP - 19 + 87 - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c ICCARM - 121 + 15 BICOMP - 20 + 62 - $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\ucos_ii\source\os_tmr.c ICCARM - 145 + 104 BICOMP - 135 + 47 - $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c ICCARM - 98 + 88 BICOMP - 112 + 56 - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\ucos_ii\source\os_mem.c ICCARM - 131 + 38 BICOMP - 76 + 100 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c ICCARM - 11 + 54 BICOMP - 137 + 76 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c ICCARM - 108 + 94 BICOMP - 9 + 85 - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm - ICCARM - 15 - - - BICOMP - 78 + AARM + 45 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c ICCARM - 95 + 72 BICOMP - 133 + 67 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\ucos_ii\source\os_time.c ICCARM - 105 + 28 BICOMP - 97 + 40 - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\ucos_ii\source\os_q.c ICCARM @@ -1887,137 +1951,137 @@ BICOMP - 10 + 102 - $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c ICCARM - 120 + 5 BICOMP - 96 + 33 - $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\..\ucos_ii\source\os_core.c ICCARM - 6 + 86 BICOMP - 115 + 24 - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c ICCARM - 102 + 13 BICOMP - 125 + 36 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\user\stm32f4xx_it.c ICCARM - 0 + 10 BICOMP - 100 + 84 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\ucos_ii\source\os_sem.c ICCARM - 4 + 12 BICOMP - 89 + 99 - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c ICCARM - 80 + 96 BICOMP - 117 + 93 - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c ICCARM - 88 + 35 BICOMP - 99 + 55 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c ICCARM - 150 + 81 BICOMP - 138 + 31 - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c ICCARM - 118 + 64 BICOMP - 7 + 32 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c ICCARM - 81 + 103 BICOMP - 136 + 97 @@ -2026,11 +2090,11 @@ ICCARM - 5 + 18 BICOMP - 123 + 46 @@ -2039,94 +2103,94 @@ ICCARM - 139 + 78 BICOMP - 109 + 57 - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c ICCARM - 148 + 8 BICOMP - 129 + 83 - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c ICCARM - 91 + 42 BICOMP - 21 + 68 - $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c ICCARM - 140 + 11 BICOMP - 103 + 27 - $PROJ_DIR$\..\user\stm32f4xx_it.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c ICCARM - 128 + 20 BICOMP - 75 + 70 - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\drivers\src\misc.c ICCARM - 114 + 9 BICOMP - 113 + 48 - $PROJ_DIR$\..\ucos_ii\source\os_time.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c ICCARM - 2 + 26 BICOMP - 110 + 19 - $PROJ_DIR$\..\ucos_ii\source\os_q.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c ICCARM @@ -2134,203 +2198,189 @@ BICOMP - 141 + 73 - $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c ICCARM - 151 + 80 BICOMP - 85 + 37 - $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c ICCARM - 143 + 91 BICOMP - 84 + 59 - $PROJ_DIR$\..\ucos_ii\source\os_mem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c ICCARM - 111 + 65 BICOMP - 142 + 29 - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c ICCARM - 87 + 82 BICOMP - 124 + 90 - $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c ICCARM - 16 + 52 BICOMP - 149 + 50 - $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c ICCARM - 93 + 41 BICOMP - 86 + 34 - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c ICCARM - 13 + 44 BICOMP - 106 + 4 - $PROJ_DIR$\..\ucos_ii\source\os_core.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c ICCARM - 22 + 7 BICOMP - 8 + 53 - $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c ICCARM - 1 + 66 BICOMP - 147 + 60 - $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c ICCARM - 83 + 39 BICOMP - 94 + 63 - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c - AARM - 116 + ICCARM + 95 - - - - [ROOT_NODE] - - ILINK - 146 + BICOMP + 30 - $PROJ_DIR$\..\cmsis\system_stm32f4xx.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c ICCARM - 132 + 75 BICOMP - 126 - - - - - $PROJ_DIR$\startup_stm32f40xx.s - - - AARM - 104 + 23 - $PROJ_DIR$\..\app\src\hardware.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c ICCARM - 17 + 22 BICOMP - 82 + 101 - $PROJ_DIR$\..\app\main.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c ICCARM - 18 + 49 BICOMP - 23 + 6 diff --git a/iar/uCOS_Modbus.ewp b/iar/uCOS_Modbus.ewp index da330ac..62dc366 100644 --- a/iar/uCOS_Modbus.ewp +++ b/iar/uCOS_Modbus.ewp @@ -2344,19 +2344,25 @@ inc - $PROJ_DIR$\..\modbus\modbus.h + $PROJ_DIR$\..\modbus\modbus_flash.h - $PROJ_DIR$\..\modbus\modbus_flash.h + $PROJ_DIR$\..\modbus\modbus_parse.h + + + $PROJ_DIR$\..\modbus\modbus_rec_send.h src - $PROJ_DIR$\..\modbus\modbus.c + $PROJ_DIR$\..\modbus\modbus_flash.c - $PROJ_DIR$\..\modbus\modbus_flash.c + $PROJ_DIR$\..\modbus\modbus_parse.c + + + $PROJ_DIR$\..\modbus\modbus_rec_send.c diff --git a/iar/uCOS_Modbus.ewt b/iar/uCOS_Modbus.ewt index 953000e..328b189 100644 --- a/iar/uCOS_Modbus.ewt +++ b/iar/uCOS_Modbus.ewt @@ -2602,19 +2602,25 @@ inc - $PROJ_DIR$\..\modbus\modbus.h + $PROJ_DIR$\..\modbus\modbus_flash.h - $PROJ_DIR$\..\modbus\modbus_flash.h + $PROJ_DIR$\..\modbus\modbus_parse.h + + + $PROJ_DIR$\..\modbus\modbus_rec_send.h src - $PROJ_DIR$\..\modbus\modbus.c + $PROJ_DIR$\..\modbus\modbus_flash.c - $PROJ_DIR$\..\modbus\modbus_flash.c + $PROJ_DIR$\..\modbus\modbus_parse.c + + + $PROJ_DIR$\..\modbus\modbus_rec_send.c diff --git a/modbus/modbus.c b/modbus/modbus.c deleted file mode 100644 index 8eae17f..0000000 --- a/modbus/modbus.c +++ /dev/null @@ -1,680 +0,0 @@ -#include "stm32f4xx.h" -#include "ucos_ii.h" -#include "os.h" -#include "string.h" -#include "modbus.h" - -extern OS_EVENT* ModbusWriteFlash; /*接收到modbus写入coil请求报文*/ -extern OS_EVENT* ModbusConnect; /*已接收到modbus正确报文*/ - -uint8_t ModbusErr; -/*0x270F + 1 = K10000 */ -uint8_t ModbusCoil[1250]; /*10000/8=1250*/ -uint16_t ModbusReg[10000]; - -/*附加功能:页寄存器*/ -uint16_t ModbusExtPage[1] = {0}; /*设置地址为0xFFFE*/ -uint16_t ModbusExtReg[1]; /*地址映射为0x10000*/ -/*附加功能:读取所有单数个寄存器*/ -uint16_t ModbusExtOdd[1] = {0}; /*设置地址为0xFFFF*/ - -uint8_t ModbusRxBuf[MODBUS_RX_BUF_SIZE]; /*接收数组*/ -uint16_t ModbusRxLen = 0; /*接收数据长度*/ -uint8_t ModbusTxBuf[MODBUS_TX_BUF_SIZE]; /*发送数组*/ -uint16_t ModbusTxLen = 0; /*发送数据长度*/ - - -/*modbus协议帧解析任务*/ -void AppTaskModbusParse (void *p_arg) -{ - OS_ERR err; - MODBUS_FRAME frame; - uint16_t rxLen; - uint8_t rxBuf[256]; - - while(1) - { - /*无限期等待接收到数据帧信号量*/ - OSSemPend(ModbusReceived, 0, &err); - - /*数据接收,防止下一帧覆盖*/ - rxLen = ModbusRxLen; - memcpy(rxBuf, ModbusRxBuf, rxLen); - - /*帧分解*/ - frame.slaveAddres = rxBuf[0]; - frame.func = rxBuf[1]; - frame.crc = ((uint16_t)(rxBuf[rxLen - 2])) | ((uint16_t)rxBuf[rxLen - 1] << 8); - frame.opeAddres = ((uint16_t)rxBuf[2] << 8) | ((uint16_t)rxBuf[3]); - frame.opeNum = ((uint16_t)rxBuf[4] << 8) | ((uint16_t)rxBuf[5]); - - /*crc校验判断*/ - if(ChcekCrc16(frame.crc, rxBuf, rxLen) != 0) - { - /*crc校验错误,直接丢弃*/ - ModbusErr = ERR_CRC; - continue; - } - /*从机地址判断*/ - if(frame.slaveAddres != SLAVE_ADDRES) - { - /*从机地址错误,直接丢弃*/ - ModbusErr = ERR_SLAVE_ADDRES; - continue; - } - /*释放正确接收信号量*/ - OSSemPost(ModbusConnect); - - /*功能码分类*/ - switch(frame.func) - { - case 0x01:/*读线圈*/ - ModbusErr = ModbusReadCoils(frame.opeAddres, frame.opeNum); - break; - - case 0x03:/*读寄存器*/ - ModbusErr = ModbusReadRegs(frame.opeAddres, frame.opeNum); - break; - - case 0x0F:/*写多个线圈*/ - frame.wNum = rxBuf[6]; - memcpy(frame.wData, &rxBuf[7], frame.wNum); - ModbusErr = ModbusWriteCoils(frame.opeAddres, frame.opeNum, frame.wData); - break; - - case 0x10:/*写多个寄存器*/ - frame.wNum = rxBuf[6]; - memcpy(frame.wData, &rxBuf[7], frame.wNum); - ModbusErr = ModbusWriteRegs(frame.opeAddres, frame.opeNum, frame.wData); - break; - - case 0x05:/*写单个线圈*/ - memcpy(frame.wData, &rxBuf[4], 2); - ModbusErr = ModbusWriteCoil(frame.opeAddres, frame.wData); - break; - - case 0x06:/*写单个寄存器*/ - memcpy(frame.wData, &rxBuf[4], 2); - ModbusErr = ModbusWriteReg(frame.opeAddres, frame.wData); - break; - - default:/*功能码错误*/ - ModbusErr = ERR_FUNC; - ModbusErr = ModbusErrReply(frame.func, ERR_FUNC); - break; - } - /*实现附加功能时不在这里启动发送*/ - if(frame.func == 0x03 && frame.opeAddres == 0XFFFF); - else - { - ModbusSend(ModbusTxBuf, ModbusTxLen); - } - - if(ModbusErr == 0 && (frame.func == 0x0F || frame.func == 0x10 - || frame.func == 0x05 || frame.func == 0x06)) - { - /*释放写FLASH信号量*/ - OSSemPost(ModbusWriteFlash); - } - } -} - -uint8_t ModbusReadCoils(uint16_t addres, uint16_t num) -{ - uint16_t byteIndI; /*字节索引*/ - uint8_t bitIndI; /*位索引*/ - uint16_t byteIndO; - uint8_t bitIndO; - - uint8_t dataLen; /*响应帧返回字节数*/ - - uint8_t index; /*发送数组索引*/ - uint8_t readVal; /*读取到的形式值*/ - uint8_t writeVal; /*写入的形式值*/ - - if(ModbusRxLen < 8) - { - return ModbusErrReply(0x01, ERR_DATA); - } - /*操作地址超限*/ - if(addres > 0x270F || (addres + (num - 1)) > 0x270F) - { - return ModbusErrReply(0x01, ERR_OPE_ADDRES); - } - /*操作数量超限*/ - if(num == 0 || num > 2000) - { - return ModbusErrReply(0x01, ERR_DATA); - } - - /*不能num/8+1,当为8的整数时会多一个*/ - dataLen = (num + 7) / 8; - - /*清零发送数组*/ - memset(&ModbusTxBuf[3], 0, 253); - - for(uint16_t i = 0; i < num; i++) - { - byteIndO = i / 8; - bitIndO = i % 8; - - byteIndI = (addres + i) / 8; - bitIndI = (addres + i) % 8; - - /*位掩码读取线圈值*/ - readVal = ModbusCoil[byteIndI] & ((uint8_t)1 << bitIndI); - - /*读取到的值为0则不进行操作*/ - if(readVal != 0) - { - index = 3 + byteIndO; - /*将读取到的值移位到要写入的位*/ - writeVal = (uint8_t)1u << bitIndO; - - ModbusTxBuf[index] |= writeVal; - } - } - - ModbusTxBuf[0] = SLAVE_ADDRES; /*从机地址*/ - ModbusTxBuf[1] = 0x01; /*功能码*/ - ModbusTxBuf[2] = dataLen; /*响应帧返回数据字节数*/ - AddCrc16(ModbusTxBuf, 3 + dataLen); - ModbusTxLen = 5 + dataLen; - - return 0; -} - -uint8_t ModbusWriteCoils(uint16_t addres, uint16_t num, uint8_t *data) -{ - uint16_t byteIndI; - uint8_t bitIndI; - uint16_t byteIndO; - uint8_t bitIndO; - - uint8_t readVal; - uint8_t writeVal; - - if(ModbusRxLen < 10) - { - return ModbusErrReply(0x0F, ERR_DATA); - } - /*操作地址超限*/ - if(addres > 0x270F || (addres + (num - 1)) > 0x270F) - { - return ModbusErrReply(0x0F, ERR_OPE_ADDRES); - } - /*操作数量超限*/ - if(num == 0 || num > 1968) - { - return ModbusErrReply(0x0F, ERR_DATA); - } - - for(uint16_t i = 0; i < num; i++) - { - byteIndI = (addres + i) / 8; - bitIndI = (addres + i) % 8; - - byteIndO = i / 8; - bitIndO = i % 8; - - /*位掩码读取要写入的值*/ - readVal = data[byteIndO] & ((uint8_t)1 << bitIndO); - /*将写入值移位到要写入的位*/ - writeVal = (uint8_t)1 << bitIndI; - - /*对应位写入1*/ - if(readVal != 0) - { - ModbusCoil[byteIndI] |= writeVal; - } - /*对应位写入0*/ - else - { - ModbusCoil[byteIndI] &= (~writeVal); - } - } - ModbusTxBuf[0] = SLAVE_ADDRES; - ModbusTxBuf[1] = 0x0F; - /*操作地址*/ - ModbusTxBuf[2] = (uint8_t)(addres >> 8); - ModbusTxBuf[3] = (uint8_t)(addres & 0x00FF); - /*成功写入的数量*/ - ModbusTxBuf[4] = (uint8_t)(num >> 8); - ModbusTxBuf[5] = (uint8_t)(num & 0x00FF); - AddCrc16(ModbusTxBuf, 6); - ModbusTxLen = 8; - - return 0; -} - -uint8_t ModbusReadRegs(uint16_t addres, uint16_t num) -{ - uint8_t index; - uint8_t readValH; - uint8_t readValL; - uint8_t dataLen; - - if(ModbusRxLen < 8) - { - return ModbusErrReply(0x13, ERR_DATA); - } - /*操作地址超限*/ - if(addres > 0x270F || (addres + (num - 1)) > 0x270F) - { - if(addres == 0xFFFF && num == 1) - { - ; - } - else - { - return ModbusErrReply(0x03, ERR_OPE_ADDRES); - } - } - /*操作数量超限*/ - if(num == 0 || num > 125) - { - return ModbusErrReply(0x03, ERR_DATA); - } - - dataLen = num * 2; - /*附加功能:读取0x10000寄存器*/ - if(ModbusExtPage[0] == 1 && addres == 0x0000) - { - /*将16位寄存器值拆分为两个8位*/ - readValH = (uint8_t)(ModbusExtReg[0] >> 8); - readValL = (uint8_t)(ModbusExtReg[0] & 0x00FF); - - ModbusTxBuf[3] = readValH; - ModbusTxBuf[4] = readValL; - } - /*附加功能:读取大量奇数寄存器*/ - else if(addres == 0xFFFF && num == 1) - { - return ModbusExtReadOdd(ModbusExtOdd[0]); - } - else - { - for(uint16_t i = 0; i < num; i++) - { - index = 3 + (i * 2); - /*将16位寄存器值拆分为两个8位*/ - readValH = (uint8_t)(ModbusReg[addres + i] >> 8); - readValL = (uint8_t)(ModbusReg[addres + i] & 0x00FF); - - ModbusTxBuf[index] = readValH; - ModbusTxBuf[index + 1] = readValL; - } - } - - ModbusTxBuf[0] = SLAVE_ADDRES; - ModbusTxBuf[1] = 0x03; - ModbusTxBuf[2] = dataLen; - AddCrc16(ModbusTxBuf, 3 + dataLen); - ModbusTxLen = 5 + dataLen; - - return 0; -} - -uint8_t ModbusWriteRegs(uint16_t addres, uint16_t num, uint8_t *data) -{ - uint8_t index; - - uint8_t writeValH; - uint8_t writeValL; - uint16_t writeVal; - - if(ModbusRxLen < 11) - { - return ModbusErrReply(0x10, ERR_DATA); - } - /*操作地址超限*/ - if(addres > 0x270F || (addres + (num - 1)) > 0x270F) - { - if((addres == 0xFFFE || addres == 0xFFFF) && num == 1) - { - ; - } - else - { - return ModbusErrReply(0x10, ERR_OPE_ADDRES); - } - } - /*操作数量超限*/ - if(num == 0 || num > 123) - { - return ModbusErrReply(0x10, ERR_DATA); - } - - /*附加功能:读取0x10000寄存器*/ - if(addres == 0xFFFE && num == 1) - { - writeValH = data[0]; - writeValL = data[1]; - - /*将要写入两个8位值拼接为16位*/ - writeVal = ((uint16_t)writeValH << 8) | ((uint16_t)writeValL & 0x00FF); - ModbusExtPage[0] = writeVal; - } - /*附加功能:读取大量奇数寄存器*/ - else if(addres == 0xFFFF && num == 1) - { - writeValH = data[0]; - writeValL = data[1]; - - /*将要写入两个8位值拼接为16位*/ - writeVal = ((uint16_t)writeValH << 8) | ((uint16_t)writeValL & 0x00FF); - ModbusExtOdd[0] = writeVal; - } - /*正常功能*/ - else - { - for(uint16_t i = 0; i < num; i++) - { - index = i * 2; - - writeValH = data[index]; - writeValL = data[index + 1]; - - /*将要写入两个8位值拼接为16位*/ - writeVal = ((uint16_t)writeValH << 8) | ((uint16_t)writeValL & 0x00FF); - ModbusReg[addres + i] = writeVal; - } - } - - ModbusTxBuf[0] = SLAVE_ADDRES; - ModbusTxBuf[1] = 0x10; - /*操作地址*/ - ModbusTxBuf[2] = (uint8_t)(addres >> 8); - ModbusTxBuf[3] = (uint8_t)(addres & 0x00FF); - /*成功写入数量*/ - ModbusTxBuf[4] = (uint8_t)(num >> 8); - ModbusTxBuf[5] = (uint8_t)(num & 0x00FF); - AddCrc16(ModbusTxBuf, 6); - ModbusTxLen = 8; - - return 0; -} - -uint8_t ModbusWriteCoil(uint16_t addres, uint8_t *data) -{ - uint16_t byteIndI; - uint8_t bitIndI; - - uint16_t readVal; - uint8_t writeVal; - - /*操作地址超限*/ - if(addres > 0x270F) - { - return ModbusErrReply(0x0F, ERR_OPE_ADDRES); - } - - byteIndI = addres / 8; - bitIndI = addres % 8; - - /*位掩码读取要写入的值*/ - readVal = ((uint16_t)data[0] << 8) | ((uint16_t)data[1] & 0x00FF); - /*将写入值移位到要写入的位*/ - writeVal = (uint8_t)1 << bitIndI; - - /*置on*/ - if(readVal == 0xFF00) - { - ModbusCoil[byteIndI] |= writeVal; - } - /*置off*/ - else if(readVal == 0x0000) - { - ModbusCoil[byteIndI] &= (~writeVal); - } - else - { - return ModbusErrReply(0x05, ERR_DATA); - } - - ModbusTxBuf[0] = SLAVE_ADDRES; - ModbusTxBuf[1] = 0x0F; - /*操作地址*/ - ModbusTxBuf[2] = (uint8_t)(addres >> 8); - ModbusTxBuf[3] = (uint8_t)(addres & 0x00FF); - /*成功写入*/ - ModbusTxBuf[4] = data[0]; - ModbusTxBuf[5] = data[1]; - AddCrc16(ModbusTxBuf, 6); - ModbusTxLen = 8; - - return 0; -} - -uint8_t ModbusWriteReg(uint16_t addres, uint8_t *data) -{ - uint8_t writeValH; - uint8_t writeValL; - uint16_t writeVal; - - /*操作地址超限*/ - if(addres > 0x270F) - { - return ModbusErrReply(0x10, ERR_OPE_ADDRES); - } - - writeValH = data[0]; - writeValL = data[1]; - /*将要写入两个8位值拼接为16位*/ - writeVal = ((uint16_t)writeValH << 8) | ((uint16_t)writeValL & 0x00FF); - ModbusReg[addres] = writeVal; - - ModbusTxBuf[0] = SLAVE_ADDRES; - ModbusTxBuf[1] = 0x10; - /*操作地址*/ - ModbusTxBuf[2] = (uint8_t)(addres >> 8); - ModbusTxBuf[3] = (uint8_t)(addres & 0x00FF); - /*成功写入*/ - ModbusTxBuf[4] = writeValH; - ModbusTxBuf[5] = writeValL; - AddCrc16(ModbusTxBuf, 6); - ModbusTxLen = 8; - - return 0; -} - -/*USART接收空闲中断*/ -void USART1_IRQHandler(void) -{ - OSIntEnter(); /*进入中断*/ - - uint32_t temp; - uint16_t rxLenRemain; - - if(USART_GetITStatus(USART1, USART_IT_IDLE) == SET) - { - /*在计算数据长度之前先关闭DMA接收通道,防止计算过程中DMA继续转运数据*/ - DMA_Cmd(DMA2_Stream2, DISABLE); - - /*清除IDLE中断标志位*/ - temp = USART1->SR; - temp = USART1->DR; - (void)temp; - - /*清除传输已经完成TCIF2、传输已经完成一半HTIF2标志位*/ - DMA_ClearFlag(DMA2_Stream2, DMA_FLAG_TCIF2 | DMA_FLAG_HTIF2); - - /*计算数据长度*/ - rxLenRemain = DMA_GetCurrDataCounter(DMA2_Stream2); - ModbusRxLen = MODBUS_RX_BUF_SIZE - rxLenRemain; - - /*释放接收到数据帧信号量,唤醒帧解析任务*/ - if(ModbusRxLen != 0) - { - OSSemPost(ModbusReceived); - } - - /*重新指定接收地址*/ - DMA_MemoryTargetConfig(DMA2_Stream2, (uint32_t)ModbusRxBuf, DMA_Memory_0); - /*重启DMA*/ - DMA_SetCurrDataCounter(DMA2_Stream2, MODBUS_RX_BUF_SIZE); - DMA_Cmd(DMA2_Stream2, ENABLE); - } - - OSIntExit(); /*退出中断*/ -} - - -/*modbus响应帧发送*/ -void ModbusSend(uint8_t *txBuf, uint16_t len) -{ - if(DMA_GetCmdStatus(DMA2_Stream7) == ENABLE) - { - /*等待DMA发送完成*/ - while(DMA_GetFlagStatus(DMA2_Stream7, DMA_FLAG_TCIF7) == RESET); - } - - /*先关闭DMA发送通道*/ - DMA_Cmd(DMA2_Stream7, DISABLE); - - /*等待DMA关闭*/ - while (DMA_GetCmdStatus(DMA2_Stream7) != DISABLE); - - /*清除传输已经完成TCIF7、传输已经完成一半HTIF7、FIFO错误FEIF7标志位*/ - DMA_ClearFlag(DMA2_Stream7, DMA_FLAG_FEIF7 | DMA_FLAG_HTIF7 | DMA_FLAG_TCIF7); - - /*配置发送地址和长度*/ - DMA_MemoryTargetConfig(DMA2_Stream7, (uint32_t)txBuf, DMA_Memory_0); - DMA_SetCurrDataCounter(DMA2_Stream7, len); - - /*等待串口发送完成*/ - while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET); - - /*启动 DMA 发送*/ - DMA_Cmd(DMA2_Stream7, ENABLE); -} - -uint8_t ModbusExtReadOdd(uint16_t num) -{ - uint8_t i = 0; - uint8_t numJ = (num + 124) / 125; - uint8_t numI = num % 125; - - uint8_t index; - uint16_t indexR; - uint8_t readValH; - uint8_t readValL; - uint8_t dataLen; - - for(uint16_t j = 0; j < numJ; j++) - { - if(j == numJ - 1) - { - for(i = 0; i < numI; i++) - { - index = 3 + (i * 2); - indexR = j * 250 + 2 * i + 1; - /*将16位寄存器值拆分为两个8位*/ - readValH = (uint8_t)(ModbusReg[indexR] >> 8); - readValL = (uint8_t)(ModbusReg[indexR] & 0x00FF); - - ModbusTxBuf[index] = readValH; - ModbusTxBuf[index + 1] = readValL; - } - dataLen = 2 * numI; - - ModbusTxBuf[0] = SLAVE_ADDRES; - ModbusTxBuf[1] = 0x03; - ModbusTxBuf[2] = dataLen; - AddCrc16(ModbusTxBuf, 3 + dataLen); - ModbusTxLen = 5 + dataLen; - } - else - { - for(i = 0; i < 125; i++) - { - index = 3 + (i * 2); - indexR = j * 250 + 2 * i + 1; - /*将16位寄存器值拆分为两个8位*/ - readValH = (uint8_t)(ModbusReg[indexR] >> 8); - readValL = (uint8_t)(ModbusReg[indexR] & 0x00FF); - - ModbusTxBuf[index] = readValH; - ModbusTxBuf[index + 1] = readValL; - } - dataLen = 250; - - ModbusTxBuf[0] = SLAVE_ADDRES; - ModbusTxBuf[1] = 0x03; - ModbusTxBuf[2] = dataLen; - AddCrc16(ModbusTxBuf, 3 + dataLen); - ModbusTxLen = 5 + dataLen; - } - /*演示2ms*/ - OSTimeDly(OS_TICKS_PER_SEC / 500); - ModbusSend(ModbusTxBuf, ModbusTxLen); - } - return 0; -} - - -uint8_t ModbusErrReply(uint8_t func, uint8_t err) -{ - ModbusTxBuf[0] = SLAVE_ADDRES; - ModbusTxBuf[1] = func; - ModbusTxBuf[2] = err; - AddCrc16(ModbusTxBuf, 3); - ModbusTxLen = 5; - - return err; -} - - - - -void AddCrc16(uint8_t *data, uint16_t length) -{ - uint8_t *dataT = data; - uint16_t crc16 = Crc16(data, length); - - /*低前高后*/ - dataT[length] = (uint8_t)(crc16 & 0x00FF); - dataT[length + 1] = (uint8_t)(crc16 >> 8); -} - -/*crc16校验*/ -uint16_t Crc16(const uint8_t *data, uint16_t length) -{ - uint16_t crc; - uint16_t byteInd; - uint8_t bitInd; - - crc = 0xFFFFu; - for (byteInd = 0u; byteInd < length; byteInd++) - { - crc ^= (uint16_t)data[byteInd]; - for (bitInd = 0u; bitInd < 8u; bitInd++) - { - if ((crc & 0x0001u) != 0u) - { - crc >>= 1; - crc ^= 0xA001u; - } - else - { - crc >>= 1; - } - } - } - return crc; -} - -/*crc16检查*/ -int8_t ChcekCrc16(uint16_t recCrc16, uint8_t *data, uint16_t length) -{ - uint16_t crc16 = Crc16(data, (length - 2)); - - if(recCrc16 == crc16) - { - return 0; - } - else - { - return -1; - } -} \ No newline at end of file diff --git a/modbus/modbus.h b/modbus/modbus.h deleted file mode 100644 index dfb7ea5..0000000 --- a/modbus/modbus.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef __MODBUS_H -#define __MODBUS_H - -#include "ucos_ii.h" - - -/*接收数组大小*/ -#define MODBUS_RX_BUF_SIZE 256 -/*发送数组大小*/ -#define MODBUS_TX_BUF_SIZE 256 - -/*modbus通信波特率*/ -#define MODBUS_USART_BAUDRATE 115200 - -/*从机地址*/ -#define SLAVE_ADDRES 0x01 - -/*错误码*/ -#define ERR_FUNC 0x01 -#define ERR_OPE_ADDRES 0x02 -#define ERR_DATA 0x03 -#define ERR_SLAVE 0x04 - -#define ERR_CRC 0x1F -#define ERR_SLAVE_ADDRES 0x2F - -/*modbus帧结构*/ -typedef struct Modbus_Frame -{ - uint8_t slaveAddres; /*从机地址*/ - uint8_t func; /*功能码*/ - uint16_t opeAddres; /*操作地址*/ - uint16_t opeNum; /*操作数量*/ - uint8_t wNum; /*写入字节数*/ - uint8_t wData[256]; /*写入数据*/ - uint16_t crc; /*CRC校验码*/ -}MODBUS_FRAME; - - -/*接收到数据帧信号量*/ -extern OS_EVENT *ModbusReceived; - -uint8_t ModbusErrReply(uint8_t func, uint8_t err); -uint16_t Crc16(const uint8_t *data, uint16_t length); -void AddCrc16(uint8_t *data, uint16_t length); -int8_t ChcekCrc16(uint16_t recCrc16, uint8_t *data, uint16_t length); -uint8_t ModbusReadCoils(uint16_t addres, uint16_t num); -uint8_t ModbusWriteCoils(uint16_t addres, uint16_t num, uint8_t *data); -uint8_t ModbusReadRegs(uint16_t addres, uint16_t num); -uint8_t ModbusWriteRegs(uint16_t addres, uint16_t num, uint8_t *data); -uint8_t ModbusWriteReg(uint16_t addres, uint8_t *data); -uint8_t ModbusWriteCoil(uint16_t addres, uint8_t *data); -uint8_t ModbusExtReadOdd(uint16_t num); -void ModbusSend(uint8_t *txBuf, uint16_t len); - - -#endif diff --git a/modbus/modbus_flash.c b/modbus/modbus_flash.c index 600943e..6d341cb 100644 --- a/modbus/modbus_flash.c +++ b/modbus/modbus_flash.c @@ -1,6 +1,6 @@ #include "stm32f4xx_flash.h" #include "stm32f4xx.h" -#include "modbus.h" +#include "modbus_parse.h" #include "modbus_flash.h" #include "string.h" #include "os.h" @@ -22,10 +22,32 @@ void AppTaskModbusWriteFlash(void *p_arg) while(1) { OSSemPend(ModbusWriteFlash, 0, &err); - OSTimeDly(OS_TICKS_PER_SEC); - while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET); - ModbusErr = ModbusFlashWrite(); + while(1) + { + /*清除多余嵌套的信号量*/ + while(OSSemAccept(ModbusWriteFlash) > 0); + + OSSemPend(ModbusWriteFlash, OS_TICKS_PER_SEC * 2, &err); + /*当连续2s未收到信号量时,退出循环*/ + if (err == OS_ERR_TIMEOUT) + { + break; + } + /*出现错误退出循环,防止阻塞*/ + if (err != OS_ERR_NONE) + { + break; + } + } + /*当因为错误退出循环时,不进行flash写入*/ + if (err != OS_ERR_TIMEOUT) + { + continue; + } + + /*只有当连续2s未收到信号量时才进行写入操作,防止信号量嵌套导致重复写入延迟*/ + //ModbusErr = ModbusFlashWrite(); } } diff --git a/modbus/modbus_rec_send.h b/modbus/modbus_rec_send.h new file mode 100644 index 0000000..6b5eac1 --- /dev/null +++ b/modbus/modbus_rec_send.h @@ -0,0 +1,13 @@ +#ifndef __MODBUS_REC_SEND_H +#define __MODBUS_REC_SEND_H + +#include "stm32f4xx.h" +#include "modbus_parse.h" + + + +int8_t ChcekCrc16(uint16_t recCrc16, uint8_t *data, uint16_t length); +void AddCrc16(uint8_t *data, uint16_t length); +void ModbusSend(uint8_t *txBuf, uint16_t len); + +#endif \ No newline at end of file