From a4d268a1a3155facf08aaded09f87d89c70ff1d8 Mon Sep 17 00:00:00 2001 From: the_deepest Date: Thu, 30 Jul 2026 13:35:35 +0800 Subject: [PATCH] =?UTF-8?q?flash=E8=AF=BB=E5=86=99=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=8C=E5=AE=9E=E7=8E=B0=E4=BB=8E=E7=AB=99?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5=E6=96=AD=E5=BC=80=E5=88=A4=E6=96=AD=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.c | 59 +- app/main.h | 3 +- app/src/hardware.c | 10 + iar/settings/F407_uCOSii_Modbus.wsdt | 26 +- iar/settings/uCOS_Modbus.dnx | 38 +- iar/uCOS_Modbus.dep | 1823 +++++++++++++------------- modbus/modbus.c | 22 +- modbus/modbus_flash.c | 62 +- modbus/modbus_flash.h | 7 +- user/app_cfg.h | 14 +- 10 files changed, 1085 insertions(+), 979 deletions(-) diff --git a/app/main.c b/app/main.c index 422ea6b..2c84df3 100644 --- a/app/main.c +++ b/app/main.c @@ -3,15 +3,20 @@ /*定义信号量*/ OS_EVENT* ModbusReceived; /*接收到modbus请求报文*/ +OS_EVENT* ModbusWriteFlash; /*接收到modbus写入Flash请求报文*/ +OS_EVENT* ModbusConnect; /*已接收到modbus正确报文*/ /*定义任务栈*/ static OS_STK AppTaskStartStk[APP_TASK_START_STK_SIZE]; static OS_STK AppTaskModbusParseStk[APP_TASK_MODBUS_PARSE_STK_SIZE]; +static OS_STK AppTaskModbusWriteFlashStk[APP_TASK_MODBUS_WRITE_FLASH_STK_SIZE]; +static OS_STK AppTaskModbusConnectStk[APP_TASK_MODBUS_CONNECT_STK_SIZE]; /*定义任务主体函数*/ static void AppTaskStart (void *p_arg); void AppTaskModbusParse (void *p_arg); - +void AppTaskModbusWriteFlash(void *p_arg); +static void AppTaskModbusConnect(void *p_arg); int main() @@ -50,6 +55,13 @@ void AppTaskStart(void *p_arg) /*创建信号量*/ ModbusReceived = OSSemCreate(0); + ModbusWriteFlash = OSSemCreate(0); + ModbusConnect = OSSemCreate(0); + + /*读取flash中的数据*/ + ModbusRegReadFlash(); + ModbusCoilReadFlash(); + /* 创建modbus协议帧解析任务 */ OSTaskCreateExt(AppTaskModbusParse, @@ -62,10 +74,53 @@ void AppTaskStart(void *p_arg) (void *)0, (INT16U )(OS_TASK_OPT_STK_CHK | OS_TASK_OPT_STK_CLR)); + + /* 创建modbus线圈写入flash任务 */ + OSTaskCreateExt(AppTaskModbusWriteFlash, + (void *)0, + (OS_STK *)&AppTaskModbusWriteFlashStk[APP_TASK_MODBUS_WRITE_FLASH_STK_SIZE - 1], + (INT8U )APP_TASK_MODBUS_WRITE_FLASH_PRIO, + (INT16U )APP_TASK_MODBUS_WRITE_FLASH_PRIO, + (OS_STK *)&AppTaskModbusWriteFlashStk[0], + (INT32U )APP_TASK_MODBUS_WRITE_FLASH_STK_SIZE, + (void *)0, + (INT16U )(OS_TASK_OPT_STK_CHK + | OS_TASK_OPT_STK_CLR)); + + /* 创建modbus判断连接断开任务 */ + OSTaskCreateExt(AppTaskModbusConnect, + (void *)0, + (OS_STK *)&AppTaskModbusConnectStk[APP_TASK_MODBUS_CONNECT_STK_SIZE - 1], + (INT8U )APP_TASK_MODBUS_CONNECT_PRIO, + (INT16U )APP_TASK_MODBUS_CONNECT_PRIO, + (OS_STK *)&AppTaskModbusConnectStk[0], + (INT32U )APP_TASK_MODBUS_CONNECT_STK_SIZE, + (void *)0, + (INT16U )(OS_TASK_OPT_STK_CHK + | OS_TASK_OPT_STK_CLR)); OSTaskDel(OS_PRIO_SELF); /* 删除启动任务自身 */ OS_EXIT_CRITICAL(); /* 开中断 */ } - +static void AppTaskModbusConnect(void *p_arg) +{ + OS_ERR err; + while(1) + { + OSSemPend(ModbusConnect, (3 * OS_TICKS_PER_SEC), &err); + /*正常接收*/ + if(err == OS_ERR_NONE) + { + /*灭灯*/ + GPIO_SetBits(GPIOF, GPIO_Pin_6); + } + /*超时未接收到,判断为连接断开*/ + else + { + /*点灯*/ + GPIO_ResetBits(GPIOF, GPIO_Pin_6); + } + } +} diff --git a/app/main.h b/app/main.h index 81b847a..afa2ba1 100644 --- a/app/main.h +++ b/app/main.h @@ -10,7 +10,8 @@ #include "app_cfg.h" #include "sys_cfg.h" #include "modbus.h" - +#include "modbus_flash.h" +#include "string.h" //void TimingDelay_Decrement(void); diff --git a/app/src/hardware.c b/app/src/hardware.c index 2e5de6a..e5474c1 100644 --- a/app/src/hardware.c +++ b/app/src/hardware.c @@ -19,6 +19,16 @@ void ModbusGpioInit(void) /*复用初始化*/ GPIO_PinAFConfig(GPIOA, GPIO_PinSource9, GPIO_AF_USART1); GPIO_PinAFConfig(GPIOA, GPIO_PinSource10, GPIO_AF_USART1); + + /*PF6用于点灯判断主站连接断开*/ + RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOF, ENABLE); + /*PF6配置为普通推挽输出*/ + GPIO_InitStructure.GPIO_Pin = GPIO_Pin_6; + GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT; + GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; + GPIO_InitStructure.GPIO_OType = GPIO_OType_PP; + GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; + GPIO_Init(GPIOF, &GPIO_InitStructure); } /*硬件有自动收发转换芯片,软件实现modbus只需要当成普通的全双工串口使用即可*/ diff --git a/iar/settings/F407_uCOSii_Modbus.wsdt b/iar/settings/F407_uCOSii_Modbus.wsdt index 2e317d6..15d5dd4 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,7 +72,7 @@ - 182 + 190 30 30 30 @@ -89,7 +89,7 @@ 36 1638 2 - + 0 -1 @@ -105,11 +105,11 @@ 1 1 1 - 1C0200001D0013860000090000001B8F000001000000108600008C00000020810000010000000D800000020000000C81000005000000048600000200000056860000EF0000001481000001000000008400000200000030840000010000001F810000030000005E8600000B0000000E810000040000000B8100000100000000E10000010000008E860000010000001486000003000000698600000100000005840000010000000086000002000000118600004900000002840000020000000581000001000000198F000001000000468100002900000010840000070000005D860000040000000886000002000000 + A50200001D0013860000090000001B8F00000100000010860000A400000020810000010000000D800000020000000C81000006000000048600000200000056860000430100001481000001000000008400000100000030840000010000001F810000060000005E8600000B0000000E8100000A0000000B8100000100000000E10000010000008E860000010000001486000003000000698600000100000005840000010000000086000002000000118600004E00000002840000020000000581000001000000198F000001000000468100003900000010840000060000005D860000040000000886000002000000 - 1A007784000007840000FFFFFFFF808C000044D500003C8400003D840000408400004C8400003E8400004B8400004D8400003F8400003A8400003B8400005A8400005B8400002A8F00000D8400000F8400000884000054840000328100001C8100000984000053840000 - 19001B8F000004000000048400004C000000188F00000700000023920000000000003184000053000000208100002B0000000F810000230000000C81000020000000068400004E0000001A8F00000A000000038400004B00000000840000480000000E8400005000000030840000520000001F8100002A0000000E810000220000000B8100001F000000D18400000C000000058400004D000000198F000001000000028400004A000000108400005100000032840000540000000A8400004F0000000D81000021000000 + 0000 + 0000 0 @@ -140,7 +140,7 @@ 34050 2201000030030000CD070000E1030000 - 00000000C9020000AB06000066030000 + 04000000CD020000A70600004C030000 32768 0 0 @@ -171,7 +171,7 @@ 0 - 0 + 1 34054 @@ -326,12 +326,12 @@ 0000000032000000FE000000B1020000 4096 0 - 0 + 1 32767 0 - 1 + 0 34062 @@ -390,7 +390,7 @@ - 0000000004000000000000000010000001000000FFFFFFFFFFFFFFFFFE0000003200000002010000B1020000010000000200001004000000010000000000000000000000000000000000000000000000010000000D8500000000000000000000000000000000000000000000010000000D850000010000000D850000000000000080000001000000FFFFFFFFFFFFFFFF00000000B1020000AB060000B5020000010000000100001004000000010000000000000000000000FFFFFFFF070000000285000005850000068500000785000008850000098500000C850000FFFF02000B004354616262656450616E65008000000100000000000000CC020000AB0600007D03000000000000B5020000AB06000066030000000000004080005607000000FFFEFF054200750069006C006400010000000285000001000000FFFFFFFFFFFFFFFFFFFEFF094400650062007500670020004C006F006700000000000585000001000000FFFFFFFFFFFFFFFFFFFEFF0C4400650063006C00610072006100740069006F006E007300000000000685000001000000FFFFFFFFFFFFFFFFFFFEFF0A5200650066006500720065006E00630065007300000000000785000001000000FFFFFFFFFFFFFFFFFFFEFF0D460069006E006400200069006E002000460069006C0065007300000000000885000001000000FFFFFFFFFFFFFFFFFFFEFF1541006D0062006900670075006F0075007300200044006500660069006E006900740069006F006E007300000000000985000001000000FFFFFFFFFFFFFFFFFFFEFF0B54006F006F006C0020004F0075007400700075007400000000000C85000001000000FFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000001000000FFFFFFFF0285000001000000FFFFFFFF0285000006000000FFFF02001200434D756C746950616E654672616D65576E6400010084000000001700000080020000A8000000000000000000000002000000000000000B85000000000000000000000000000000000000010000000B850000038000010084000000001700000022010000C8000000000000000000000002000000000000000A85000000000000000000000000000000000000010000000A850000038000010084000000001700000022010000C80000000000000000000000020000000000000004850000000000000000000000000000000000000100000004850000038000010084000000001700000022010000C8000000000000000000000002000000000000000F85000000000000000000000000000000000000010000000F850000038000010084000000001700000080020000A80000000000000000000000020000000000000003850000000000000000000000000000000000000100000003850000038000010084000000001700000022010000C8000000000000000000000002000000000000000E85000000000000000000000000000000000000010000000E8500000000000000000000 + 0000000002000000000000000080000001000000FFFFFFFFFFFFFFFF00000000B1020000AB060000B5020000010000000100001004000000010000000000000000000000FFFFFFFF070000000285000005850000068500000785000008850000098500000C850000FFFF02000B004354616262656450616E65008000000100000000000000CC020000AB0600007D03000000000000B5020000AB06000066030000000000004080005607000000FFFEFF054200750069006C006400010000000285000001000000FFFFFFFFFFFFFFFFFFFEFF094400650062007500670020004C006F006700010000000585000001000000FFFFFFFFFFFFFFFFFFFEFF0C4400650063006C00610072006100740069006F006E007300000000000685000001000000FFFFFFFFFFFFFFFFFFFEFF0A5200650066006500720065006E00630065007300000000000785000001000000FFFFFFFFFFFFFFFFFFFEFF0D460069006E006400200069006E002000460069006C0065007300000000000885000001000000FFFFFFFFFFFFFFFFFFFEFF1541006D0062006900670075006F0075007300200044006500660069006E006900740069006F006E007300000000000985000001000000FFFFFFFFFFFFFFFFFFFEFF0B54006F006F006C0020004F0075007400700075007400000000000C85000001000000FFFFFFFFFFFFFFFF00000000000000000000000000000000000000000000000001000000FFFFFFFF0285000001000000FFFFFFFF0285000007000000FFFF02001200434D756C746950616E654672616D65576E6400010084000000001700000022010000C8000000000000000000000002000000000000000E85000000000000000000000000000000000000010000000E850000038000010084000000001700000080020000A80000000000000000000000020000000000000003850000000000000000000000000000000000000100000003850000038000010084000000001700000022010000C8000000000000000000000002000000000000000F85000000000000000000000000000000000000010000000F850000038000010084000000001700000022010000C80000000000000000000000020000000000000004850000000000000000000000000000000000000100000004850000038000010084000000001700000022010000C8000000000000000000000002000000000000000A85000000000000000000000000000000000000010000000A850000038000010084000000001700000080020000A8000000000000000000000002000000000000000B85000000000000000000000000000000000000010000000B850000038000010084AC02000077010000B2030000D8020000000000000000000002000000000000000D85000000000000000000000000000000000000010000000D8500000000000000000000 CMSIS-Pack @@ -411,7 +411,7 @@ Main - 00200000010000002000FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000035000000FFFEFF000000000000000000000000000100000001000000018001E100000000000036000000FFFEFF000000000000000000000000000100000001000000018003E100000000040038000000FFFEFF0000000000000000000000000001000000010000000180008100000000000019000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018007E10000000004003B000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018023E10000000004003D000000FFFEFF000000000000000000000000000100000001000000018022E10000000004003C000000FFFEFF000000000000000000000000000100000001000000018025E10000000004003F000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001802BE100000000040042000000FFFEFF00000000000000000000000000010000000100000001802CE100000000040043000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6E4281000000000400FFFFFFFFFFFEFF0001000000000000000100000000000000010000007800000002002050FFFFFFFFFFFEFF0096000000000000000500FFFEFF104700500049004F0050007500500064005F005400790070006500440065006600FFFEFF0E500065006E006400530056002000480061006E0064006C0065007200FFFEFF0F5300790073005400690063006B005F00480061006E0064006C0065007200FFFEFF074200530050005F00430050005500FFFEFF0B4100700070005400690063006B0049006E00690074000000000000000000000000000000000000000000018021810000000004002C000000FFFEFF000000000000000000000000000100000001000000018024E10000000004003E000000FFFEFF000000000000000000000000000100000001000000018028E100000000040040000000FFFEFF000000000000000000000000000100000001000000018029E100000000040041000000FFFEFF000000000000000000000000000100000001000000018002810000000004001B000000FFFEFF0000000000000000000000000001000000010000000180298100000000040030000000FFFEFF000000000000000000000000000100000001000000018027810000000004002E000000FFFEFF000000000000000000000000000100000001000000018028810000000004002F000000FFFEFF00000000000000000000000000010000000100000001801D8100000000000028000000FFFEFF00000000000000000000000000010000000100000001801E8100000000040029000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800B810000000000001F000000FFFEFF00000000000000000000000000010000000100000001800C8100000000000020000000FFFEFF00000000000000000000000000010000000100000001805F8600000000000034000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800E8100000000000022000000FFFEFF00000000000000000000000000010000000100000001800F8100000000000023000000FFFEFF00000000000000000000000000010000000100000000000000FFFEFF044D00610069006E00E8020000 + 00200000010000002000FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000035000000FFFEFF000000000000000000000000000100000001000000018001E100000000000036000000FFFEFF000000000000000000000000000100000001000000018003E100000000040038000000FFFEFF0000000000000000000000000001000000010000000180008100000000000019000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018007E10000000004003B000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000018023E10000000004003D000000FFFEFF000000000000000000000000000100000001000000018022E10000000004003C000000FFFEFF000000000000000000000000000100000001000000018025E10000000004003F000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001802BE100000000040042000000FFFEFF00000000000000000000000000010000000100000001802CE100000000040043000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6E4281000000000400FFFFFFFFFFFEFF0000000000000000000100000000000000010000007800000002002050FFFFFFFFFFFEFF0096000000000000000500FFFEFF104700500049004F0050007500500064005F005400790070006500440065006600FFFEFF0E500065006E006400530056002000480061006E0064006C0065007200FFFEFF0F5300790073005400690063006B005F00480061006E0064006C0065007200FFFEFF074200530050005F00430050005500FFFEFF0B4100700070005400690063006B0049006E00690074000000000000000000000000000000000000000000018021810000000004002C000000FFFEFF000000000000000000000000000100000001000000018024E10000000004003E000000FFFEFF000000000000000000000000000100000001000000018028E100000000040040000000FFFEFF000000000000000000000000000100000001000000018029E100000000040041000000FFFEFF000000000000000000000000000100000001000000018002810000000004001B000000FFFEFF0000000000000000000000000001000000010000000180298100000000040030000000FFFEFF000000000000000000000000000100000001000000018027810000000004002E000000FFFEFF000000000000000000000000000100000001000000018028810000000004002F000000FFFEFF00000000000000000000000000010000000100000001801D8100000000040028000000FFFEFF00000000000000000000000000010000000100000001801E8100000000040029000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800B810000000000001F000000FFFEFF00000000000000000000000000010000000100000001800D8100000000000021000000FFFEFF00000000000000000000000000010000000100000001805F8600000000000034000000FFFEFF00000000000000000000000000010000000100000001800000000001000000FFFFFFFFFFFEFF00000000000000000000000000010000000100000001800E8100000000020022000000FFFEFF00000000000000000000000000010000000100000001800F8100000000000023000000FFFEFF00000000000000000000000000010000000100000000000000FFFEFF044D00610069006E00E8020000 34049 @@ -429,7 +429,7 @@ - 010000000300000001000000000000000000000001000000010000000200000000000000010000000100000000000000280000002800000001000000060000000100000001000000FFFEFF1B2400570053005F0044004900520024005C002E002E005C006D006F0064006200750073005C006D006F0064006200750073002E00630001000000FFFF010014004966436F6E74656E7453746F72616765496D706CFFFEFF00FFFEFFFF21013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00370033003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF086D006F0064006200750073002E00630000000000FFFFFFFFFFFFFFFFFFFEFF3264003A005C004900410052005F00500072006F006A006500630074005C0054007200610069006E00430061006D0070005F006600750062006F00770065006E005F004D006F0064006200750073005C006100700070005C006D00610069006E002E006300010000000180FFFEFF00FFFEFFFF24013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E003100320032003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E003100320032003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF066D00610069006E002E00630000000000FFFFFFFFFFFFFFFFFFFEFF1F2400570053005F0044004900520024005C002E002E005C0075007300650072005C00730074006D003300320066003400780078005F00690074002E006300010000000180FFFEFF00FFFEFFFF27013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00390034003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0033003600340037003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0033003600340037003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0E730074006D003300320066003400780078005F00690074002E00630000000000FFFFFFFFFFFFFFFFFFFEFF242400570053005F0044004900520024005C002E002E005C00750063006F0073005F00690069005C0073006F0075007200630065005C006F0073005F0063006F00720065002E006300010000000180FFFEFF00FFFEFFFF2B013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0031003700390030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E00370036003800310033003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E00370036003800310033003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF096F0073005F0063006F00720065002E00630000000000FFFFFFFFFFFFFFFFFFFEFF352400570053005F0044004900520024005C002E002E005C002E002E005C002E002E005C004900410052005C00610072006D005C0069006E0063005C0063005C0044004C00690062005F00500072006F0064007500630074005F0073007400720069006E0067002E006800010000000180FFFEFF00FFFEFFFF27013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00340034003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0031003500350030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0031003500350030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF1A44004C00690062005F00500072006F0064007500630074005F0073007400720069006E0067002E00680020005B0052004F005D0000000000FFFFFFFFFFFFFFFFFFFEFF262400570053005F0044004900520024005C002E002E005C00750063006F0073005F00690069005C0070006F007200740073005C006F0073005F006300700075005F0061002E00610073006D00010000000180FFFEFF00FFFEFFFF28013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E003100340038003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0036003400390038003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0036003400390038003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0C6F0073005F006300700075005F0061002E00610073006D0000000000FFFFFFFFFFFFFFFF0000000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD5000100000001000000020000000201000049000000AB060000C8020000 + 010000000300000001000000000000000000000001000000010000000200000000000000010000000100000000000000280000002800000001000000070000000000000001000000FFFEFF1B2400570053005F0044004900520024005C002E002E005C006D006F0064006200750073005C006D006F0064006200750073002E00630001000000FFFF010014004966436F6E74656E7453746F72616765496D706CFFFEFF00FFFEFFFF2A013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E003600350033003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E00310038003800350036003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E00310038003800350036003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF086D006F0064006200750073002E00630000000000FFFFFFFFFFFFFFFFFFFEFF3264003A005C004900410052005F00500072006F006A006500630074005C0054007200610069006E00430061006D0070005F006600750062006F00770065006E005F004D006F0064006200750073005C006100700070005C006D00610069006E002E006300010000000180FFFEFF00FFFEFFFF25013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00310030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E003600350038003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E003600350038003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF066D00610069006E002E00630000000000FFFFFFFFFFFFFFFFFFFEFF1F2400570053005F0044004900520024005C002E002E005C0075007300650072005C00730074006D003300320066003400780078005F00690074002E006300010000000180FFFEFF00FFFEFFFF27013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00390034003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0033003600340037003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0033003600340037003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0E730074006D003300320066003400780078005F00690074002E00630000000000FFFFFFFFFFFFFFFFFFFEFF242400570053005F0044004900520024005C002E002E005C00750063006F0073005F00690069005C0073006F0075007200630065005C006F0073005F0063006F00720065002E006300010000000180FFFEFF00FFFEFFFF2A013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E003900350030003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E00340032003000360039003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E00340032003000360039003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF096F0073005F0063006F00720065002E00630000000000FFFFFFFFFFFFFFFFFFFEFF352400570053005F0044004900520024005C002E002E005C002E002E005C002E002E005C004900410052005C00610072006D005C0069006E0063005C0063005C0044004C00690062005F00500072006F0064007500630074005F0073007400720069006E0067002E006800010000000180FFFEFF00FFFEFFFF27013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E00340031003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0031003500350030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0031003500350030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF1A44004C00690062005F00500072006F0064007500630074005F0073007400720069006E0067002E00680020005B0052004F005D0000000000FFFFFFFFFFFFFFFFFFFEFF262400570053005F0044004900520024005C002E002E005C00750063006F0073005F00690069005C0070006F007200740073005C006F0073005F006300700075005F0061002E00610073006D00010000000180FFFEFF00FFFEFFFF28013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E003100340038003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0036003400390038003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0036003400390038003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0C6F0073005F006300700075005F0061002E00610073006D0000000000FFFFFFFFFFFFFFFFFFFEFF212400570053005F0044004900520024005C002E002E005C006D006F0064006200750073005C006D006F0064006200750073005F0066006C006100730068002E006300010000000180FFFEFF00FFFEFFFF20013C003F0078006D006C002000760065007200730069006F006E003D00220031002E0030002200200065006E0063006F00640069006E0067003D0022005500540046002D00380022003F003E000A003C0052006F006F0074003E000A0020002000200020003C004E0075006D0052006F00770073003E0031003C002F004E0075006D0052006F00770073003E000A0020002000200020003C004E0075006D0043006F006C0073003E0031003C002F004E0075006D0043006F006C0073003E000A0020002000200020003C00580050006F0073003E0030003C002F00580050006F0073003E000A0020002000200020003C00590050006F0073003E0030003C002F00590050006F0073003E000A0020002000200020003C00530065006C00530074006100720074003E0030003C002F00530065006C00530074006100720074003E000A0020002000200020003C00530065006C0045006E0064003E0030003C002F00530065006C0045006E0064003E000A0020002000200020003C00580050006F00730032003E0030003C002F00580050006F00730032003E000A0020002000200020003C00590050006F00730032003E0038003C002F00590050006F00730032003E000A0020002000200020003C00530065006C005300740061007200740032003E0030003C002F00530065006C005300740061007200740032003E000A0020002000200020003C00530065006C0045006E00640032003E0030003C002F00530065006C0045006E00640032003E000A003C002F0052006F006F0074003E000A00FFFEFF0E6D006F0064006200750073005F0066006C006100730068002E00630000000000FFFFFFFFFFFFFFFF0000000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD5000100000001000000020000000000000049000000AB060000C8020000 diff --git a/iar/settings/uCOS_Modbus.dnx b/iar/settings/uCOS_Modbus.dnx index 269eb45..fcd040a 100644 --- a/iar/settings/uCOS_Modbus.dnx +++ b/iar/settings/uCOS_Modbus.dnx @@ -16,15 +16,15 @@ 1 - 30303031 - - 0 - 0 _ 0 _ 0 + 0 + 0 + 30303031 + - 3816837042 + 171243166 _ 0 @@ -120,15 +120,21 @@ 1 0 - - _ 0 - _ "" - + + 0 + + + 0 + _ 0 _ "" _ 0 + + 0 + 0 + 0 3 @@ -142,14 +148,8 @@ 1 - - 0 - - - 0 - - - 0 - 0 - + + _ 0 + _ "" + diff --git a/iar/uCOS_Modbus.dep b/iar/uCOS_Modbus.dep index 8000c40..046bcea 100644 --- a/iar/uCOS_Modbus.dep +++ b/iar/uCOS_Modbus.dep @@ -5,288 +5,287 @@ Debug - $PROJ_DIR$\..\cmsis\core_cmInstr.h $PROJ_DIR$\..\cmsis\system_stm32f4xx.c - $PROJ_DIR$\..\cmsis\system_stm32f4xx.h $PROJ_DIR$\..\app\main.c - $PROJ_DIR$\..\drivers\inc\stm32f4xx_dbgmcu.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_dcmi.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_dma.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_flash.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_fsmc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_dac.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_hash.h + $PROJ_DIR$\..\cmsis\system_stm32f4xx.h + $PROJ_DIR$\..\app\src\hardware.c + $PROJ_DIR$\..\drivers\inc\misc.h + $PROJ_DIR$\..\cmsis\core_cmFunc.h $PROJ_DIR$\..\cmsis\stm32f4xx.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_exti.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_iwdg.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_rcc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_cryp.h $PROJ_DIR$\startup_stm32f40xx.s + $PROJ_DIR$\..\cmsis\core_cm4_simd.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_can.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_rng.h - $PROJ_DIR$\..\drivers\inc\misc.h + $PROJ_DIR$\..\app\inc\hardware.h + $PROJ_DIR$\..\app\main.h + $PROJ_DIR$\..\cmsis\core_cmInstr.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_adc.h $PROJ_DIR$\..\cmsis\core_cm4.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_pwr.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_crc.h - $PROJ_DIR$\..\cmsis\core_cmFunc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_sdio.h - $PROJ_DIR$\..\app\main.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_dbgmcu.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_dcmi.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_pwr.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_gpio.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_i2c.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_rcc.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_rtc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_dac.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_usart.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_i2c.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_sdio.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_iwdg.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_spi.h - $PROJ_DIR$\..\cmsis\core_cm4_simd.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_adc.h - $PROJ_DIR$\..\app\src\hardware.c - $PROJ_DIR$\..\app\inc\hardware.h - $PROJ_DIR$\Debug\Obj\os_task.__cstat.et - $PROJ_DIR$\Debug\Obj\os_flag.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.o - $TOOLKIT_DIR$\inc\c\DLib_Defaults.h - $PROJ_DIR$\Debug\Obj\stm32f4xx_can.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.__cstat.et - $PROJ_DIR$\Debug\Obj\os_q.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_it.__cstat.et + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_tim.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_hash.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_cryp.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_rng.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_dma.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_flash.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_syscfg.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_wwdg.h + $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_exti.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_fsmc.h + $PROJ_DIR$\Debug\Obj\os_cpu_a.o + $PROJ_DIR$\..\app\src\app.c + $PROJ_DIR$\Debug\Obj\stm32f4xx_can.o + $PROJ_DIR$\Debug\Obj\os_q.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.__cstat.et - $PROJ_DIR$\Debug\Obj\misc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.__cstat.et + $PROJ_DIR$\Debug\Obj\os_cpu_c.o $PROJ_DIR$\Debug\Obj\main.__cstat.et - $PROJ_DIR$\Debug\Obj\os_flag.xcl - $PROJ_DIR$\Debug\Obj\os_mutex.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.__cstat.et + $PROJ_DIR$\Debug\Obj\misc.xcl + $PROJ_DIR$\Debug\Obj\system_stm32f4xx.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.o + $PROJ_DIR$\Debug\Obj\modbus_flash.__cstat.et + $PROJ_DIR$\Debug\Obj\main.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.o + $PROJ_DIR$\Debug\Obj\os_tmr.o $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.o - $PROJ_DIR$\Debug\Obj\os_cpu_a.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.xcl - $PROJ_DIR$\Debug\Obj\os_cpu_c.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.xcl - $PROJ_DIR$\Debug\List\uCOS_Modbus.map - $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.o - $PROJ_DIR$\Debug\Obj\startup_stm32f40xx.o - $PROJ_DIR$\Debug\Obj\os_sem.__cstat.et - $PROJ_DIR$\Debug\Obj\os_cpu_c.xcl - $TOOLKIT_DIR$\inc\c\DLib_Product.h - $PROJ_DIR$\Debug\Obj\os_task.xcl - $PROJ_DIR$\Debug\Obj\utils.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.__cstat.et + $PROJ_DIR$\Debug\Obj\system_stm32f4xx.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.__cstat.et + $PROJ_DIR$\Debug\Obj\os_time.__cstat.et + $PROJ_DIR$\Debug\Obj\os_q.xcl $PROJ_DIR$\Debug\Obj\os_mbox.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.__cstat.et - $PROJ_DIR$\Debug\Obj\os_dbg.xcl - $PROJ_DIR$\Debug\Obj\os_mbox.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.xcl - $PROJ_DIR$\Debug\Obj\os_mutex.__cstat.et - $PROJ_DIR$\Debug\Obj\misc.__cstat.et - $PROJ_DIR$\Debug\Obj\os_core.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_it.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.__cstat.et - $PROJ_DIR$\Debug\Obj\hardware.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.o - $PROJ_DIR$\Debug\Obj\os_q.__cstat.et - $PROJ_DIR$\Debug\Obj\os_tmr.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.__cstat.et - $PROJ_DIR$\Debug\Obj\app.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.__cstat.et - $PROJ_DIR$\Debug\Obj\sys_cfg.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.o + $PROJ_DIR$\Debug\Exe\uCOS_Modbus.bin + $PROJ_DIR$\Debug\Obj\modbus_flash.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.__cstat.et + $PROJ_DIR$\Debug\Obj\os_mem.__cstat.et + $PROJ_DIR$\Debug\Obj\os_flag.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.xcl $PROJ_DIR$\Debug\Obj\app.xcl $PROJ_DIR$\Debug\Obj\os_mutex.o - $PROJ_DIR$\Debug\Obj\os_mem.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.o - $PROJ_DIR$\Debug\Obj\os_core.__cstat.et - $PROJ_DIR$\Debug\Obj\os_sem.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.o $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.xcl - $PROJ_DIR$\Debug\Obj\utils.xcl - $PROJ_DIR$\Debug\Obj\os_task.o - $PROJ_DIR$\Debug\Obj\system_stm32f4xx.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.__cstat.et - $TOOLKIT_DIR$\inc\c\yvals.h - $PROJ_DIR$\..\app\src\app.c - $PROJ_DIR$\Debug\Obj\os_core.xcl - $TOOLKIT_DIR$\inc\c\string.h - $TOOLKIT_DIR$\lib\m7M_tls.a - $PROJ_DIR$\Debug\Exe\uCOS_Modbus.out - $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.o - $PROJ_DIR$\Debug\Obj\os_q.xcl - $PROJ_DIR$\Debug\Obj\os_sem.xcl - $PROJ_DIR$\Debug\Obj\sys_cfg.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.xcl + $TOOLKIT_DIR$\lib\rt7M_tl.a + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.xcl - $PROJ_DIR$\Debug\Obj\hardware.xcl - $PROJ_DIR$\Debug\Obj\os_mem.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.xcl - $PROJ_DIR$\Debug\Obj\os_dbg.o - $TOOLKIT_DIR$\inc\c\stdint.h - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_can.xcl - $PROJ_DIR$\Debug\Obj\modbus.xcl + $TOOLKIT_DIR$\lib\m7M_tls.a + $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.o - $PROJ_DIR$\Debug\Obj\misc.xcl - $PROJ_DIR$\Debug\Obj\system_stm32f4xx.o - $PROJ_DIR$\Debug\Obj\os_dbg.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.o + $PROJ_DIR$\Debug\Obj\misc.o + $PROJ_DIR$\Debug\Obj\os_mutex.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.o - $TOOLKIT_DIR$\inc\c\iccarm_builtin.h - $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.xcl - $PROJ_DIR$\Debug\Obj\sys_cfg.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.__cstat.et - $TOOLKIT_DIR$\inc\c\cmsis_iar.h - $PROJ_DIR$\Debug\Obj\main.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.xcl $PROJ_DIR$\Debug\Obj\os_mem.xcl + $PROJ_DIR$\Debug\Obj\os_time.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.xcl + $PROJ_DIR$\Debug\Obj\os_cpu_c.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.xcl + $PROJ_DIR$\Debug\Obj\app.__cstat.et + $PROJ_DIR$\Debug\Obj\os_time.xcl + $PROJ_DIR$\Debug\List\uCOS_Modbus.map + $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.xcl + $PROJ_DIR$\Debug\Obj\modbus.__cstat.et + $PROJ_DIR$\Debug\Obj\os_core.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.__cstat.et + $PROJ_DIR$\Debug\Obj\os_q.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.o + $TOOLKIT_DIR$\inc\c\stdint.h $TOOLKIT_DIR$\inc\c\ycheck.h - $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.__cstat.et - $TOOLKIT_DIR$\inc\c\DLib_Product_string.h - $TOOLKIT_DIR$\inc\c\ysizet.h - $PROJ_DIR$\Debug\Obj\os_tmr.xcl + $TOOLKIT_DIR$\inc\c\iccarm_builtin.h + $TOOLKIT_DIR$\inc\c\DLib_Defaults.h + $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.xcl $TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h - $TOOLKIT_DIR$\lib\dl7M_tln.a - $PROJ_DIR$\Debug\Obj\os_time.__cstat.et - $TOOLKIT_DIR$\lib\shb_l.a - $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.__cstat.et - $TOOLKIT_DIR$\config\linker\ST\stm32f407xG.icf - $PROJ_DIR$\Debug\Obj\os_time.o - $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c - $PROJ_DIR$\..\drivers\inc\stm32f4xx_tim.h - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c - $PROJ_DIR$\..\drivers\inc\stm32f4xx_usart.h - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c - $PROJ_DIR$\..\drivers\src\misc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c - $PROJ_DIR$\..\drivers\inc\stm32f4xx_syscfg.h - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c - $PROJ_DIR$\..\drivers\inc\stm32f4xx_wwdg.h - $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c - $PROJ_DIR$\..\ucos_ii\source\os_time.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c - $PROJ_DIR$\..\modbus\modbus.c - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c - $PROJ_DIR$\..\user\stm32f4xx_it.c - $PROJ_DIR$\..\user\stm32f4xx_it.h - $PROJ_DIR$\..\user\sys_cfg.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.xcl + $TOOLKIT_DIR$\inc\c\yvals.h + $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_it.__cstat.et + $PROJ_DIR$\Debug\Obj\os_core.o + $PROJ_DIR$\Debug\Obj\os_flag.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.__cstat.et + $PROJ_DIR$\Debug\Obj\os_sem.o + $PROJ_DIR$\Debug\Obj\os_task.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.__cstat.et + $PROJ_DIR$\Debug\Obj\modbus.xcl + $PROJ_DIR$\Debug\Obj\sys_cfg.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.xcl + $PROJ_DIR$\Debug\Obj\sys_cfg.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.__cstat.et + $PROJ_DIR$\Debug\Obj\os_sem.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.xcl + $PROJ_DIR$\Debug\Obj\os_task.o + $TOOLKIT_DIR$\inc\c\DLib_Product_string.h + $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.xcl + $PROJ_DIR$\Debug\Obj\hardware.o + $TOOLKIT_DIR$\inc\c\cmsis_iar.h + $PROJ_DIR$\Debug\Obj\stm32f4xx_can.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.o + $PROJ_DIR$\Debug\Obj\os_cpu_c.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.xcl + $PROJ_DIR$\Debug\Obj\os_dbg.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.xcl + $PROJ_DIR$\Debug\Obj\os_dbg.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.o + $PROJ_DIR$\Debug\Obj\utils.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_it.o + $PROJ_DIR$\Debug\Obj\os_dbg.o + $TOOLKIT_DIR$\inc\c\ysizet.h + $PROJ_DIR$\Debug\Obj\os_mbox.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.xcl + $PROJ_DIR$\Debug\Obj\main.xcl + $PROJ_DIR$\Debug\Obj\os_sem.__cstat.et + $PROJ_DIR$\Debug\Obj\modbus_flash.o + $PROJ_DIR$\Debug\Obj\os_tmr.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.__cstat.et + $PROJ_DIR$\Debug\Obj\os_flag.o + $PROJ_DIR$\Debug\Obj\os_tmr.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.xcl + $PROJ_DIR$\Debug\Obj\misc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.o + $PROJ_DIR$\Debug\Obj\utils.o + $TOOLKIT_DIR$\inc\c\DLib_Product.h + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.o + $TOOLKIT_DIR$\config\linker\ST\stm32f407xG.icf + $TOOLKIT_DIR$\inc\c\string.h + $PROJ_DIR$\Debug\Obj\sys_cfg.__cstat.et + $PROJ_DIR$\Debug\Obj\startup_stm32f40xx.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.xcl + $PROJ_DIR$\Debug\Obj\os_task.xcl + $PROJ_DIR$\Debug\Obj\os_core.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.o + $TOOLKIT_DIR$\lib\dl7M_tln.a + $PROJ_DIR$\Debug\Exe\uCOS_Modbus.out + $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.__cstat.et + $PROJ_DIR$\Debug\Obj\os_mutex.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_it.xcl + $PROJ_DIR$\Debug\Obj\os_mbox.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.o + $PROJ_DIR$\Debug\Obj\system_stm32f4xx.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_can.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.__cstat.et + $PROJ_DIR$\..\user\os_cfg.h + $PROJ_DIR$\Debug\Obj\modbus.o + $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\Debug\Obj\os_mem.o + $PROJ_DIR$\Debug\Obj\utils.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.o $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c $PROJ_DIR$\..\ucos_ii\source\ucos_ii.h - $PROJ_DIR$\..\user\sys_cfg.h - $PROJ_DIR$\..\ucos_ii\source\os_tmr.c - $PROJ_DIR$\..\user\utils.c - $PROJ_DIR$\..\user\os_cfg.h - $PROJ_DIR$\Debug\Exe\uCOS_Modbus.bin $PROJ_DIR$\..\user\app_cfg.h - $PROJ_DIR$\Debug\Obj\modbus.__cstat.et - $PROJ_DIR$\..\ucos_ii\source\os_core.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm - $PROJ_DIR$\..\ucos_ii\source\os.h + $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.__cstat.et $PROJ_DIR$\..\user\stm32f4xx_conf.h - $PROJ_DIR$\..\ucos_ii\ports\os_cpu.h - $PROJ_DIR$\..\ucos_ii\source\os_flag.c - $PROJ_DIR$\..\modbus\modbus.h + $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.o $PROJ_DIR$\..\ucos_ii\source\os_mem.c - $PROJ_DIR$\..\ucos_ii\source\os_q.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\user\stm32f4xx_it.c + $PROJ_DIR$\..\user\stm32f4xx_it.h $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\ucos_ii\source\os_time.c $PROJ_DIR$\..\ucos_ii\source\os_task.c - $TOOLKIT_DIR$\lib\rt7M_tl.a - $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.xcl - $PROJ_DIR$\Debug\Obj\os_tmr.o - $PROJ_DIR$\Debug\Obj\modbus.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_can.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.__cstat.et - $PROJ_DIR$\Debug\Obj\os_cpu_c.__cstat.et - $PROJ_DIR$\Debug\Obj\os_mbox.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.xcl - $PROJ_DIR$\Debug\Obj\os_time.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.o + $PROJ_DIR$\..\user\sys_cfg.h + $PROJ_DIR$\Debug\Obj\hardware.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.o + $PROJ_DIR$\..\ucos_ii\source\os_q.c + $TOOLKIT_DIR$\lib\shb_l.a + $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.o $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.xcl - $PROJ_DIR$\Debug\Obj\os_flag.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.xcl $PROJ_DIR$\Debug\Obj\hardware.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.xcl - $PROJ_DIR$\Debug\Obj\main.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.xcl - $PROJ_DIR$\Debug\Obj\system_stm32f4xx.xcl - $PROJ_DIR$\Debug\Obj\utils.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_it.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.o - $PROJ_DIR$\Debug\Obj\uCOS_Modbus.pbd + $PROJ_DIR$\..\ucos_ii\source\os_core.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c $PROJ_DIR$\..\modbus\modbus_flash.h - $PROJ_DIR$\Debug\Obj\modbus_flash.xcl - $PROJ_DIR$\Debug\Obj\modbus_flash.o - $PROJ_DIR$\Debug\Obj\modbus_flash.__cstat.et + $PROJ_DIR$\..\modbus\modbus.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\..\modbus\modbus.h $PROJ_DIR$\..\modbus\modbus_flash.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\ucos_ii\source\os.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c [ROOT_NODE] ILINK - 129 68 + 200 108 @@ -294,22 +293,22 @@ $PROJ_DIR$\..\cmsis\system_stm32f4xx.c - __cstat - 122 + ICCARM + 57 - ICCARM - 150 + __cstat + 66 BICOMP - 264 + 207 ICCARM - 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 @@ -317,684 +316,661 @@ $PROJ_DIR$\..\app\main.c - __cstat - 53 + ICCARM + 61 - ICCARM - 161 + __cstat + 54 BICOMP - 261 + 173 ICCARM - 25 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 33 232 218 224 222 230 228 219 + 11 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 10 255 219 220 211 262 260 232 251 192 169 144 - - $PROJ_DIR$\startup_stm32f40xx.s - - - AARM - 70 - - - $PROJ_DIR$\..\app\src\hardware.c - __cstat - 258 + ICCARM + 148 - ICCARM - 97 + __cstat + 240 BICOMP - 136 + 233 ICCARM - 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 33 232 218 224 222 230 + 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 10 255 219 220 211 262 - $PROJ_DIR$\..\app\src\app.c + $PROJ_DIR$\startup_stm32f40xx.s - __cstat - 103 - - - BICOMP - 111 + AARM + 194 - $PROJ_DIR$\Debug\Exe\uCOS_Modbus.out + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c - ILINK - 68 - - - OBJCOPY - 223 - - - - - ILINK - 173 97 161 46 241 272 91 63 66 140 35 81 137 112 40 117 121 174 240 70 152 245 43 36 76 142 246 148 78 59 47 60 252 105 259 268 62 255 42 93 262 107 130 77 69 106 41 85 147 98 115 109 150 265 171 238 128 169 + ICCARM + 98 - - - - $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - __cstat - 164 - - - ICCARM - 59 + 161 BICOMP - 154 + 89 ICCARM - 5 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 13 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c - __cstat - 134 + ICCARM + 67 - ICCARM - 252 + __cstat + 210 BICOMP - 94 + 147 ICCARM - 7 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 37 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c - __cstat - 256 + ICCARM + 74 - ICCARM - 246 + __cstat + 202 BICOMP - 118 + 81 ICCARM - 15 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 37 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c - __cstat - 242 + ICCARM + 49 - ICCARM - 262 + __cstat + 150 BICOMP - 92 + 209 ICCARM - 13 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 21 14 28 24 29 192 177 180 204 19 + 9 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c - __cstat - 247 + ICCARM + 153 - ICCARM - 259 + __cstat + 141 BICOMP - 88 + 85 ICCARM - 26 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 27 13 21 14 28 24 29 192 177 180 204 19 + 37 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c - __cstat - 123 + ICCARM + 201 - ICCARM - 255 + __cstat + 113 BICOMP - 65 + 182 ICCARM - 10 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 15 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c - __cstat - 101 + ICCARM + 188 - ICCARM - 268 + __cstat + 88 BICOMP - 157 + 102 ICCARM - 10 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 37 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c - __cstat - 114 + ICCARM + 72 - ICCARM - 36 + __cstat + 166 BICOMP - 266 + 137 ICCARM - 15 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 25 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c + $PROJ_DIR$\..\drivers\src\misc.c - __cstat - 243 + ICCARM + 95 - ICCARM - 152 + __cstat + 183 BICOMP - 135 + 56 ICCARM - 31 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 4 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 - $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\app\src\app.c __cstat - 38 + 106 - ICCARM - 245 + BICOMP + 82 + + + + $PROJ_DIR$\Debug\Exe\uCOS_Modbus.out + - BICOMP - 145 + OBJCOPY + 76 + + + ILINK + 108 - ICCARM - 17 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + ILINK + 191 148 61 95 212 175 128 47 53 168 179 70 214 83 114 131 143 101 63 194 98 49 201 74 67 153 188 72 115 238 216 84 73 121 190 164 234 155 112 167 206 198 94 224 75 184 62 235 93 120 59 138 57 185 237 87 90 199 - $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\..\ucos_ii\source\os_tmr.c - __cstat - 90 + ICCARM + 63 - ICCARM - 46 + __cstat + 180 BICOMP - 149 + 176 ICCARM - 19 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c - __cstat - 39 + ICCARM + 70 - ICCARM - 76 + __cstat + 170 BICOMP - 263 + 205 ICCARM - 15 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c - __cstat - 86 + ICCARM + 83 - ICCARM - 78 + __cstat + 203 BICOMP - 139 + 96 ICCARM - 4 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c + $PROJ_DIR$\..\user\utils.c - __cstat - 159 + ICCARM + 185 - ICCARM - 105 + __cstat + 165 BICOMP - 260 + 215 ICCARM - 8 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 26 27 13 21 14 28 24 29 192 177 180 204 19 + 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\ucos_ii\source\os_mem.c - __cstat - 144 + ICCARM + 214 - ICCARM - 42 + __cstat + 79 BICOMP - 257 + 100 ICCARM - 27 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 13 21 14 28 24 29 192 177 180 204 19 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c + $PROJ_DIR$\..\user\stm32f4xx_it.c - __cstat - 244 + ICCARM + 167 - ICCARM - 43 + __cstat + 127 BICOMP - 56 + 204 ICCARM - 22 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 227 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c + $PROJ_DIR$\..\ucos_ii\source\os_sem.c - __cstat - 64 + ICCARM + 131 - ICCARM - 47 + __cstat + 174 BICOMP - 253 + 140 ICCARM - 6 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\user\sys_cfg.c - __cstat - 80 + ICCARM + 138 - ICCARM - 60 + __cstat + 193 BICOMP - 58 + 135 ICCARM - 12 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 211 232 - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\ucos_ii\source\os_time.c - __cstat - 108 + ICCARM + 101 - ICCARM - 107 + __cstat + 68 BICOMP - 52 + 107 ICCARM - 21 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 14 28 24 29 192 177 180 204 19 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c + $PROJ_DIR$\..\ucos_ii\source\os_task.c - __cstat - 48 + ICCARM + 143 - ICCARM - 77 + __cstat + 132 BICOMP - 250 + 196 ICCARM - 18 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\ucos_ii\source\os_q.c - __cstat - 82 + ICCARM + 114 - ICCARM - 62 + __cstat + 50 BICOMP - 79 + 69 ICCARM - 10 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c + $PROJ_DIR$\..\ucos_ii\source\os_core.c - __cstat - 45 + ICCARM + 128 - ICCARM - 69 + __cstat + 111 BICOMP - 49 + 197 ICCARM - 28 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 24 29 192 177 180 204 19 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c - __cstat - 104 + ICCARM + 179 - ICCARM - 106 + __cstat + 80 BICOMP - 239 + 129 ICCARM - 24 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 29 192 177 180 204 19 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c - __cstat - 158 + ICCARM + 94 - ICCARM - 148 + __cstat + 126 BICOMP - 155 + 64 ICCARM - 9 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 23 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c - __cstat - 57 + ICCARM + 121 - ICCARM - 130 + __cstat + 55 BICOMP - 61 + 86 ICCARM - 14 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 28 24 29 192 177 180 204 19 + 46 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c - __cstat - 95 + ICCARM + 184 - ICCARM - 41 + __cstat + 178 BICOMP - 143 + 177 ICCARM - 29 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 192 177 180 204 19 + 29 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 32 42 35 26 43 4 @@ -1002,344 +978,344 @@ $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c - __cstat - 172 + ICCARM + 235 - ICCARM - 85 + __cstat + 97 BICOMP - 67 + 109 ICCARM - 192 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 177 180 204 19 + 42 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c - __cstat - 51 + ICCARM + 112 - ICCARM - 142 + __cstat + 78 BICOMP - 119 + 105 ICCARM - 15 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 28 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\ucos_ii\source\os_time.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c - __cstat - 170 + ICCARM + 73 - ICCARM - 174 + __cstat + 208 BICOMP - 251 + 195 ICCARM - 218 224 222 230 + 41 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c - __cstat - 102 + ICCARM + 234 - ICCARM - 98 + __cstat + 152 BICOMP - 87 + 187 ICCARM - 180 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 204 19 + 36 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\modbus\modbus.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c - __cstat - 225 + ICCARM + 224 - ICCARM - 241 + __cstat + 104 BICOMP - 146 + 156 ICCARM - 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 218 224 222 230 228 127 166 165 232 + 38 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c + $PROJ_DIR$\..\modbus\modbus.c - __cstat - 151 + ICCARM + 212 - ICCARM - 140 + __cstat + 110 BICOMP - 83 + 134 ICCARM - 218 224 222 230 + 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 219 220 211 262 260 192 169 144 255 - $PROJ_DIR$\..\user\stm32f4xx_it.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c - __cstat - 44 + ICCARM + 164 - ICCARM - 93 + __cstat + 171 BICOMP - 267 + 172 ICCARM - 212 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 218 224 222 230 + 36 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c - __cstat - 156 + ICCARM + 59 - ICCARM - 109 + __cstat + 221 BICOMP - 133 + 157 ICCARM - 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 222 219 + 43 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 4 - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c + $PROJ_DIR$\..\modbus\modbus_flash.c - __cstat - 248 + ICCARM + 175 - ICCARM - 66 + __cstat + 60 BICOMP - 72 + 77 ICCARM - 218 224 222 230 + 41 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 46 22 28 31 21 23 24 29 32 42 35 26 43 4 255 219 220 211 262 251 192 169 144 260 - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c - __cstat - 89 + ICCARM + 53 - ICCARM - 112 + __cstat + 103 BICOMP - 55 + 154 ICCARM - 218 224 222 230 + 219 220 211 262 - $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c - __cstat - 138 + ICCARM + 168 - ICCARM - 115 + __cstat + 163 BICOMP - 50 + 160 ICCARM - 204 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 19 + 219 220 211 262 - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c - __cstat - 84 + ICCARM + 93 - ICCARM - 81 + __cstat + 133 BICOMP - 249 + 91 ICCARM - 218 224 222 230 + 35 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 26 43 4 - $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c - __cstat - 100 + ICCARM + 120 - ICCARM - 240 + __cstat + 65 BICOMP - 167 + 99 ICCARM - 218 224 222 230 + 26 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 43 4 - $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c - __cstat - 75 + ICCARM + 62 - ICCARM - 265 + __cstat + 139 BICOMP - 120 + 151 ICCARM - 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 177 180 204 19 + 32 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 42 35 26 43 4 - $PROJ_DIR$\..\ucos_ii\source\os_core.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c - __cstat - 116 + ICCARM + 75 - ICCARM - 91 + __cstat + 51 BICOMP - 126 + 189 ICCARM - 218 224 222 230 + 24 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 29 32 42 35 26 43 4 @@ -1348,43 +1324,43 @@ AARM - 63 + 47 - $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c - __cstat - 254 + ICCARM + 216 - ICCARM - 35 + __cstat + 145 BICOMP - 54 + 239 ICCARM - 218 224 222 230 + 40 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\ucos_ii\source\os_mem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - __cstat - 113 + ICCARM + 238 - ICCARM - 137 + __cstat + 71 BICOMP @@ -1394,122 +1370,145 @@ ICCARM - 218 224 222 230 + 20 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\ucos_ii\source\os_q.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c - __cstat - 99 + ICCARM + 84 - ICCARM - 40 + __cstat + 136 BICOMP - 131 + 159 ICCARM - 218 224 222 230 + 45 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c - __cstat - 96 + ICCARM + 190 - ICCARM - 147 + __cstat + 146 BICOMP - 110 + 58 ICCARM - 177 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 7 8 26 27 13 21 14 28 24 29 192 180 204 19 + 22 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c - __cstat - 71 + ICCARM + 155 - ICCARM - 117 + __cstat + 52 BICOMP - 132 + 122 ICCARM - 218 224 222 230 + 36 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c - __cstat - 34 + ICCARM + 206 - ICCARM - 121 + __cstat + 92 BICOMP - 74 + 124 ICCARM - 218 224 222 230 + 31 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 21 23 24 29 32 42 35 26 43 4 - $PROJ_DIR$\..\modbus\modbus_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + + ICCARM + 198 + __cstat - 273 + 158 + + + BICOMP + 142 + + + + ICCARM + 21 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 19 40 45 41 46 22 28 31 23 24 29 32 42 35 26 43 4 + + + + + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c + ICCARM - 272 + 115 + + + __cstat + 130 BICOMP - 271 + 181 ICCARM - 7 11 20 141 163 124 37 168 73 0 160 153 23 30 2 229 22 4 6 12 8 26 27 13 21 14 28 24 29 192 177 180 204 19 232 218 224 222 230 270 127 166 165 + 19 6 14 116 117 125 119 123 186 12 149 118 5 8 2 222 15 40 45 41 46 22 28 31 21 23 24 29 32 42 35 26 43 4 @@ -1519,163 +1518,163 @@ $PROJ_DIR$\..\cmsis\system_stm32f4xx.c $PROJ_DIR$\..\app\main.c - $PROJ_DIR$\startup_stm32f40xx.s $PROJ_DIR$\..\app\src\hardware.c - $PROJ_DIR$\Release\Obj\stm32f4xx_exti.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.o - $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.xcl - $PROJ_DIR$\Release\Obj\os_mem.xcl - $PROJ_DIR$\Release\Obj\os_task.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_can.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.o - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_spi.o - $PROJ_DIR$\Release\Obj\os_time.o - $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.o - $PROJ_DIR$\Release\Obj\os_mutex.xcl - $PROJ_DIR$\Release\Obj\os_core.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.o - $PROJ_DIR$\Release\Obj\stm32f4xx_usart.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.o + $PROJ_DIR$\startup_stm32f40xx.s + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\Release\Obj\stm32f4xx_dac.xcl $PROJ_DIR$\Release\Obj\os_mbox.o - $PROJ_DIR$\Release\Obj\os_dbg.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_it.o - $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.xcl - $PROJ_DIR$\Release\Obj\os_dbg.o - $PROJ_DIR$\Release\Obj\stm32f4xx_syscfg.o - $PROJ_DIR$\Release\Obj\os_flag.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_exti.o - $PROJ_DIR$\Release\Obj\os_cpu_a.o - $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.o - $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.o - $PROJ_DIR$\Release\Obj\stm32f4xx_dma.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.xcl + $PROJ_DIR$\Release\Obj\os_flag.o + $PROJ_DIR$\Release\Obj\stm32f4xx_usart.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_flash.xcl + $PROJ_DIR$\Release\Obj\utils.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_dbgmcu.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_adc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.xcl + $PROJ_DIR$\Release\Obj\sys_cfg.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.xcl $PROJ_DIR$\Release\Obj\sys_cfg.o - $PROJ_DIR$\Release\Obj\os_q.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_can.o + $PROJ_DIR$\Release\Obj\os_task.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_tim.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_flash.o $PROJ_DIR$\Release\Obj\stm32f4xx_adc.o - $PROJ_DIR$\Release\Obj\os_core.o + $PROJ_DIR$\Release\Obj\stm32f4xx_flash.o + $PROJ_DIR$\Release\Obj\utils.o + $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_spi.o + $PROJ_DIR$\Release\Obj\os_mem.o + $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.o + $PROJ_DIR$\Release\Obj\os_mutex.o + $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.o + $PROJ_DIR$\Release\Obj\stm32f4xx_hash.o $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.xcl - $PROJ_DIR$\Release\Obj\system_stm32f4xx.o - $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.o - $PROJ_DIR$\Release\Obj\os_time.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_tim.o - $PROJ_DIR$\Release\Obj\stm32f4xx_adc.xcl - $PROJ_DIR$\Release\Obj\hardware.o - $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.o - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.o + $PROJ_DIR$\Release\Obj\os_flag.xcl + $PROJ_DIR$\Release\Obj\os_dbg.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_it.o + $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_usart.o + $PROJ_DIR$\Release\Obj\stm32f4xx_spi.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.o + $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.o + $PROJ_DIR$\Release\Obj\stm32f4xx_can.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_dma.o $PROJ_DIR$\Release\Obj\misc.o - $PROJ_DIR$\Release\Obj\os_mbox.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rng.o $PROJ_DIR$\Release\Obj\stm32f4xx_it.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.o - $PROJ_DIR$\Release\Obj\os_task.o - $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash.o - $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_dbgmcu.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.xcl - $PROJ_DIR$\Release\Obj\os_cpu_c.xcl - $PROJ_DIR$\Release\Obj\os_q.o - $PROJ_DIR$\Release\Obj\stm32f4xx_crc.o - $PROJ_DIR$\Release\Obj\main.o - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.o + $PROJ_DIR$\Release\Obj\stm32f4xx_syscfg.o + $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.o $PROJ_DIR$\Release\Obj\main.xcl - $PROJ_DIR$\Release\Obj\os_flag.o - $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.o - $PROJ_DIR$\Release\Obj\os_cpu_c.o - $PROJ_DIR$\Release\Obj\stm32f4xx_flash.xcl $PROJ_DIR$\Release\Obj\os_tmr.xcl - $PROJ_DIR$\Release\Obj\utils.o - $PROJ_DIR$\Release\Obj\stm32f4xx_usart.o - $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.o - $PROJ_DIR$\Release\Obj\startup_stm32f40xx.o - $PROJ_DIR$\Release\Obj\utils.xcl - $PROJ_DIR$\Release\Obj\hardware.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_spi.xcl + $PROJ_DIR$\Release\Obj\hardware.o + $PROJ_DIR$\Release\Obj\stm32f4xx_exti.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_crc.o + $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.xcl + $PROJ_DIR$\Release\Obj\os_cpu_a.o + $PROJ_DIR$\Release\Obj\os_q.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_syscfg.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.o - $PROJ_DIR$\Release\Obj\stm32f4xx_can.o - $PROJ_DIR$\Release\Obj\stm32f4xx_dac.o + $PROJ_DIR$\Release\Obj\os_sem.o + $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.xcl + $PROJ_DIR$\Release\Obj\os_cpu_c.o + $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.o + $PROJ_DIR$\Release\Obj\os_mutex.xcl + $PROJ_DIR$\Release\Exe\uCOS_Modbus.out + $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.xcl + $PROJ_DIR$\Release\Obj\os_time.o $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_hash.xcl + $PROJ_DIR$\Release\Obj\os_cpu_c.xcl + $PROJ_DIR$\Release\Obj\hardware.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_dma.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.o + $PROJ_DIR$\Release\Obj\os_dbg.o $PROJ_DIR$\Release\Obj\system_stm32f4xx.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_dac.xcl - $PROJ_DIR$\Release\Obj\os_mem.o - $PROJ_DIR$\Release\Exe\uCOS_Modbus.out - $PROJ_DIR$\Release\Obj\os_mutex.o - $PROJ_DIR$\Release\Obj\stm32f4xx_crc.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_dbgmcu.o + $PROJ_DIR$\Release\Obj\os_task.o + $PROJ_DIR$\Release\Obj\os_time.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.xcl + $PROJ_DIR$\Release\Obj\misc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_dac.o + $PROJ_DIR$\Release\Obj\stm32f4xx_exti.o $PROJ_DIR$\Release\Obj\os_tmr.o + $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.o + $PROJ_DIR$\Release\Obj\os_mbox.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.o + $PROJ_DIR$\Release\Obj\startup_stm32f40xx.o + $PROJ_DIR$\Release\Obj\main.o $PROJ_DIR$\Release\Obj\os_sem.xcl - $PROJ_DIR$\Release\Obj\misc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.o + $PROJ_DIR$\Release\Obj\system_stm32f4xx.o + $PROJ_DIR$\Release\Obj\stm32f4xx_tim.o + $PROJ_DIR$\Release\Obj\stm32f4xx_rng.o $PROJ_DIR$\Release\Obj\stm32f4xx_rng.xcl - $PROJ_DIR$\Release\Obj\sys_cfg.xcl - $PROJ_DIR$\Release\Obj\os_sem.o - $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c - $PROJ_DIR$\..\drivers\src\misc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c - $PROJ_DIR$\..\ucos_ii\source\os_time.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c - $PROJ_DIR$\..\user\stm32f4xx_it.c - $PROJ_DIR$\..\user\sys_cfg.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.o + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.o + $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.o + $PROJ_DIR$\Release\Obj\os_q.o + $PROJ_DIR$\Release\Obj\os_core.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_crc.xcl + $PROJ_DIR$\Release\Obj\os_core.o + $PROJ_DIR$\Release\Obj\os_mem.xcl $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c $PROJ_DIR$\..\user\utils.c - $PROJ_DIR$\..\ucos_ii\source\os_core.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm - $PROJ_DIR$\..\ucos_ii\source\os_flag.c $PROJ_DIR$\..\ucos_ii\source\os_mem.c - $PROJ_DIR$\..\ucos_ii\source\os_q.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\user\stm32f4xx_it.c $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\ucos_ii\source\os_time.c $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\ucos_ii\source\os_q.c + $PROJ_DIR$\..\ucos_ii\source\os_core.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c [ROOT_NODE] ILINK - 95 + 73 @@ -1684,11 +1683,11 @@ ICCARM - 47 + 101 BICOMP - 92 + 84 @@ -1697,20 +1696,11 @@ ICCARM - 72 + 98 BICOMP - 74 - - - - - $PROJ_DIR$\startup_stm32f40xx.s - - - AARM - 83 + 56 @@ -1719,198 +1709,194 @@ ICCARM - 52 + 58 BICOMP - 85 + 80 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c + $PROJ_DIR$\startup_stm32f40xx.s - ICCARM - 53 - - - BICOMP - 42 + AARM + 97 - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c ICCARM - 43 + 31 BICOMP - 78 + 22 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c ICCARM - 24 + 71 BICOMP - 5 + 27 - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c ICCARM - 76 + 100 BICOMP - 7 + 25 - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c ICCARM - 82 + 28 BICOMP - 63 + 50 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c ICCARM - 6 + 105 BICOMP - 58 + 69 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c ICCARM - 64 + 60 BICOMP - 66 + 111 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c ICCARM - 13 + 48 BICOMP - 8 + 77 - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c ICCARM - 44 + 90 BICOMP - 51 + 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\drivers\src\misc.c ICCARM - 89 + 52 BICOMP - 12 + 89 - $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\..\ucos_ii\source\os_tmr.c ICCARM - 56 + 92 BICOMP - 101 + 57 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c ICCARM - 21 + 14 BICOMP - 14 + 94 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c ICCARM - 98 + 38 BICOMP - 67 + 72 - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c + $PROJ_DIR$\..\user\utils.c ICCARM - 18 + 33 BICOMP - 17 + 20 - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\ucos_ii\source\os_mem.c ICCARM @@ -1918,150 +1904,150 @@ BICOMP - 11 + 113 - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c + $PROJ_DIR$\..\user\stm32f4xx_it.c ICCARM - 71 + 44 BICOMP - 97 + 53 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c + $PROJ_DIR$\..\ucos_ii\source\os_sem.c ICCARM - 55 + 65 BICOMP - 37 + 99 - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\user\sys_cfg.c ICCARM - 33 + 26 BICOMP - 4 + 24 - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\ucos_ii\source\os_time.c ICCARM - 61 + 75 BICOMP - 65 + 87 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c + $PROJ_DIR$\..\ucos_ii\source\os_task.c ICCARM - 59 + 86 BICOMP - 102 + 29 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\ucos_ii\source\os_q.c ICCARM - 73 + 109 BICOMP - 68 + 63 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c + $PROJ_DIR$\..\ucos_ii\source\os_core.c ICCARM - 91 + 112 BICOMP - 38 + 110 - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c ICCARM - 48 + 15 BICOMP - 23 + 42 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c ICCARM - 90 + 49 BICOMP - 93 + 41 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c ICCARM - 88 + 37 BICOMP - 46 + 61 - $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c ICCARM - 15 + 55 BICOMP - 86 + 45 @@ -2070,89 +2056,89 @@ ICCARM - 31 + 54 BICOMP - 87 + 64 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c ICCARM - 54 + 70 BICOMP - 29 + 66 - $PROJ_DIR$\..\ucos_ii\source\os_time.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c ICCARM - 16 + 32 BICOMP - 49 + 19 - $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c ICCARM - 81 + 96 BICOMP - 22 + 106 - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c ICCARM - 30 + 103 BICOMP - 26 + 104 - $PROJ_DIR$\..\user\stm32f4xx_it.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c ICCARM - 27 + 40 BICOMP - 60 + 78 - $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c ICCARM - 39 + 93 BICOMP - 103 + 23 @@ -2161,176 +2147,189 @@ ICCARM - 77 + 67 BICOMP - 69 + 79 - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c ICCARM - 96 + 83 BICOMP - 19 + 43 - $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c ICCARM - 35 + 102 BICOMP - 28 + 30 - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c ICCARM - 25 + 46 BICOMP - 57 + 16 - $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c ICCARM - 99 + 35 BICOMP - 79 + 47 - $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c ICCARM - 80 + 76 BICOMP - 84 + 34 - $PROJ_DIR$\..\ucos_ii\source\os_core.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm + + + AARM + 62 + + + + + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c ICCARM - 45 + 51 BICOMP - 20 + 81 - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm + $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - AARM - 34 + ICCARM + 68 + + + BICOMP + 74 - $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c ICCARM - 75 + 91 BICOMP - 32 + 59 - $PROJ_DIR$\..\ucos_ii\source\os_mem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c ICCARM - 94 + 107 BICOMP - 9 + 17 - $PROJ_DIR$\..\ucos_ii\source\os_q.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c ICCARM - 70 + 82 BICOMP - 40 + 18 - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c ICCARM - 50 + 39 BICOMP - 41 + 95 - $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c ICCARM - 104 + 108 BICOMP - 100 + 88 - $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c ICCARM - 62 + 85 BICOMP - 10 + 21 diff --git a/modbus/modbus.c b/modbus/modbus.c index 74dbe1f..1bb79a4 100644 --- a/modbus/modbus.c +++ b/modbus/modbus.c @@ -4,6 +4,8 @@ #include "string.h" #include "modbus.h" +extern OS_EVENT* ModbusWriteFlash; /*接收到modbus写入coil请求报文*/ +extern OS_EVENT* ModbusConnect; /*已接收到modbus正确报文*/ uint8_t ModbusErr; /*0x270F + 1 = K10000 */ @@ -35,6 +37,7 @@ uint8_t ModbusWriteCoil(uint16_t addres, uint8_t *data); uint8_t ModbusExtReadOdd(uint16_t num); + /*USART接收空闲中断*/ void USART1_IRQHandler(void) { @@ -102,6 +105,7 @@ void ModbusSend(uint8_t *txBuf, uint16_t len) /*等待串口发送完成*/ while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET); + /*在此处等待3.5个字符的时间*/ /*启动 DMA 发送*/ DMA_Cmd(DMA2_Stream7, ENABLE); } @@ -140,6 +144,7 @@ void AppTaskModbusParse (void *p_arg) ModbusErr = ERR_SLAVE_ADDRES; continue; } + OSSemPost(ModbusConnect); frame.func = rxBuf[1]; frame.opeAddres = ((uint16_t)rxBuf[2] << 8) | ((uint16_t)rxBuf[3]); @@ -160,22 +165,38 @@ void AppTaskModbusParse (void *p_arg) frame.wNum = rxBuf[6]; memcpy(frame.wData, &rxBuf[7], frame.wNum); ModbusErr = ModbusWriteCoils(frame.opeAddres, frame.opeNum, frame.wData); + if(ModbusErr == 0) + { + OSSemPost(ModbusWriteFlash); + } break; case 0x10:/*写多个寄存器*/ frame.wNum = rxBuf[6]; memcpy(frame.wData, &rxBuf[7], frame.wNum); ModbusErr = ModbusWriteRegs(frame.opeAddres, frame.opeNum, frame.wData); + if(ModbusErr == 0) + { + OSSemPost(ModbusWriteFlash); + } break; case 0x05:/*写单个线圈*/ memcpy(frame.wData, &rxBuf[4], 2); ModbusErr = ModbusWriteCoil(frame.opeAddres, frame.wData); + if(ModbusErr == 0) + { + OSSemPost(ModbusWriteFlash); + } break; case 0x06:/*写单个寄存器*/ memcpy(frame.wData, &rxBuf[4], 2); ModbusErr = ModbusWriteReg(frame.opeAddres, frame.wData); + if(ModbusErr == 0) + { + OSSemPost(ModbusWriteFlash); + } break; default:/*功能码错误*/ @@ -611,7 +632,6 @@ uint8_t ModbusExtReadOdd(uint16_t num) AddCrc16(ModbusTxBuf, 3 + dataLen); ModbusTxLen = 5 + dataLen; } - OSTimeDlyHMSM(0, 0, 0, 10); ModbusSend(ModbusTxBuf, ModbusTxLen); } return 0; diff --git a/modbus/modbus_flash.c b/modbus/modbus_flash.c index 2b6a6ec..0bf8bff 100644 --- a/modbus/modbus_flash.c +++ b/modbus/modbus_flash.c @@ -3,49 +3,66 @@ #include "modbus.h" #include "modbus_flash.h" #include "string.h" +#include "os.h" extern uint8_t ModbusCoil[1250]; extern uint16_t ModbusReg[10000]; +extern uint8_t ModbusErr; +extern OS_EVENT* ModbusWriteFlash; /*接收到modbus写入coil请求报文*/ -uint8_t ModbusCoilWriteFlash(void) +uint8_t ModbusFlashWrite(void); +uint8_t ModbusErrReply(uint8_t func, uint8_t err); + + +void AppTaskModbusWriteFlash(void *p_arg) +{ + OS_ERR err; + while(1) + { + OSSemPend(ModbusWriteFlash, 0, &err); + OSTimeDly(OS_TICKS_PER_SEC); + while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET); + + ModbusErr = ModbusFlashWrite(); + } +} + + +uint8_t ModbusFlashWrite(void) { uint32_t addres = MODBUS_FLASH_COIL_ADDR; uint16_t halfWord; FLASH_Status status; FLASH_Unlock(); + FLASH_ClearFlag(FLASH_FLAG_EOP | FLASH_FLAG_OPERR | FLASH_FLAG_WRPERR + | FLASH_FLAG_PGAERR | FLASH_FLAG_PGPERR | FLASH_FLAG_PGSERR); + /*扇区擦除,写入之前必须先擦除*/ status = FLASH_EraseSector(MODBUS_FLASH_SECTOR, VoltageRange_3); + if(status != FLASH_COMPLETE) + { + return ERR_SLAVE; + } + for(uint16_t i = 0; i < 1250; i += 2) { /*前面的放在低字节,后面的放在高字节*/ halfWord = ((uint16_t)ModbusCoil[i + 1] << 8) | ((uint16_t)ModbusCoil[i]); - status = FLASH_ProgramHalfWord(addres, ModbusCoil[i]); + status = FLASH_ProgramHalfWord(addres, halfWord); /*写入失败,停止写入*/ if(status != FLASH_COMPLETE) { - break; + return ERR_SLAVE; } addres += 2; } - FLASH_Lock(); -} - - -uint8_t ModbusRegWriteFlash(void) -{ - uint32_t addres = MODBUS_FLASH_REG_ADDR; - FLASH_Status status; - - FLASH_Unlock(); - /*扇区擦除,写入之前必须先擦除*/ - status = FLASH_EraseSector(MODBUS_FLASH_SECTOR, VoltageRange_3); - + addres = MODBUS_FLASH_REG_ADDR; for(uint16_t i = 0; i < 10000; i++) { status = FLASH_ProgramHalfWord(addres, ModbusReg[i]); @@ -53,23 +70,24 @@ uint8_t ModbusRegWriteFlash(void) /*写入失败,停止写入*/ if(status != FLASH_COMPLETE) { - break; + return ERR_SLAVE; } addres += 2; } - FLASH_Lock(); + return 0; } -uint8_t ModbusRegReadFlash(void) + +void ModbusRegReadFlash(void) { - memcpy(ModbusCoil, (const void *)MODBUS_FLASH_COIL_ADDR, 1250); + memcpy(ModbusReg, (const void *)MODBUS_FLASH_REG_ADDR, sizeof(ModbusReg)); } -uint8_t ModbusCoilReadFlash(void) +void ModbusCoilReadFlash(void) { - memcpy(ModbusReg, (const void *)MODBUS_FLASH_REG_ADDR, 10000); + memcpy(ModbusCoil, (const void *)MODBUS_FLASH_COIL_ADDR, sizeof(ModbusCoil)); } diff --git a/modbus/modbus_flash.h b/modbus/modbus_flash.h index 7d66948..58557c2 100644 --- a/modbus/modbus_flash.h +++ b/modbus/modbus_flash.h @@ -5,14 +5,15 @@ /*FLASH地址每+1,代表1字节*/ /*Sector 11起始地址*/ -#define MODBUS_FLASH_BASE 0x080E0000UL +#define MODBUS_FLASH_BASE 0x080E0000UL /*Sector 11编号*/ -#define MODBUS_FLASH_SECTOR FLASH_Sector_11 +#define MODBUS_FLASH_SECTOR FLASH_Sector_11 /*线圈数据起始地址*/ #define MODBUS_FLASH_COIL_ADDR MODBUS_FLASH_BASE /*寄存器数据起始地址*/ #define MODBUS_FLASH_REG_ADDR (MODBUS_FLASH_BASE + 0x4E2UL) /*0x4E2 = K1250*/ - +void ModbusRegReadFlash(void); +void ModbusCoilReadFlash(void); #endif diff --git a/user/app_cfg.h b/user/app_cfg.h index bedc0de..6f43c93 100644 --- a/user/app_cfg.h +++ b/user/app_cfg.h @@ -62,10 +62,10 @@ //#define APP_CFG_TASK_EQ1_PRIO 7u #define OS_TASK_TMR_PRIO (OS_LOWEST_PRIO - 2u) -#define APP_TASK_START_PRIO 10u -#define APP_TASK_MODBUS_PARSE_PRIO 3u - - +#define APP_TASK_START_PRIO 10u +#define APP_TASK_MODBUS_PARSE_PRIO 3u +#define APP_TASK_MODBUS_WRITE_FLASH_PRIO 9u +#define APP_TASK_MODBUS_CONNECT_PRIO 15u /* ********************************************************************************************************* @@ -78,8 +78,10 @@ #define APP_CFG_TASK_EQ_STK_SIZE 512u #define APP_CFG_TASK_OBJ_STK_SIZE 256u -#define APP_TASK_START_STK_SIZE 256u -#define APP_TASK_MODBUS_PARSE_STK_SIZE 512u +#define APP_TASK_START_STK_SIZE 256u +#define APP_TASK_MODBUS_PARSE_STK_SIZE 512u +#define APP_TASK_MODBUS_WRITE_FLASH_STK_SIZE 512u +#define APP_TASK_MODBUS_CONNECT_STK_SIZE 256u