updade:
1.修改上下行网口速率为自协商 2.修改下行网口重置后IP为10.21.54.8,端口为502 3.产线烧录版
This commit is contained in:
+12
-12
@@ -142,29 +142,29 @@ static void bsp_FlashReset(void)
|
||||
/*客户端主机网络配置*/
|
||||
u16 port_1 = 5000;
|
||||
u16 port_2 = 502;
|
||||
Usr_Flash.FlashData.IP_Addr_1[0] = 192;
|
||||
Usr_Flash.FlashData.IP_Addr_1[1] = 168;
|
||||
Usr_Flash.FlashData.IP_Addr_1[2] = 100;
|
||||
Usr_Flash.FlashData.IP_Addr_1[3] = 103;
|
||||
Usr_Flash.FlashData.IP_Addr_1[0] = 10;
|
||||
Usr_Flash.FlashData.IP_Addr_1[1] = 21;
|
||||
Usr_Flash.FlashData.IP_Addr_1[2] = 54;
|
||||
Usr_Flash.FlashData.IP_Addr_1[3] = 6;
|
||||
|
||||
Usr_Flash.FlashData.Port_1[0] = port_1 >> 8;
|
||||
Usr_Flash.FlashData.Port_1[1] = port_1 & 0x00ff;
|
||||
|
||||
Usr_Flash.FlashData.Sub_Mask_1[0] = 255;
|
||||
Usr_Flash.FlashData.Sub_Mask_1[1] = 255;
|
||||
Usr_Flash.FlashData.Sub_Mask_1[2] = 255;
|
||||
Usr_Flash.FlashData.Sub_Mask_1[2] = 252;
|
||||
Usr_Flash.FlashData.Sub_Mask_1[3] = 0;
|
||||
|
||||
Usr_Flash.FlashData.Gateway_IP_1[0] = 192;
|
||||
Usr_Flash.FlashData.Gateway_IP_1[1] = 168;
|
||||
Usr_Flash.FlashData.Gateway_IP_1[2] = 100;
|
||||
Usr_Flash.FlashData.Gateway_IP_1[0] = 10;
|
||||
Usr_Flash.FlashData.Gateway_IP_1[1] = 21;
|
||||
Usr_Flash.FlashData.Gateway_IP_1[2] = 54;
|
||||
Usr_Flash.FlashData.Gateway_IP_1[3] = 1;
|
||||
|
||||
/*客户端目标IP*/
|
||||
Usr_Flash.FlashData.IP_Addr_2[0] = 192;
|
||||
Usr_Flash.FlashData.IP_Addr_2[1] = 168;
|
||||
Usr_Flash.FlashData.IP_Addr_2[2] = 100;
|
||||
Usr_Flash.FlashData.IP_Addr_2[3] = 61;
|
||||
Usr_Flash.FlashData.IP_Addr_2[0] = 10;
|
||||
Usr_Flash.FlashData.IP_Addr_2[1] = 21;
|
||||
Usr_Flash.FlashData.IP_Addr_2[2] = 54;
|
||||
Usr_Flash.FlashData.IP_Addr_2[3] = 8;
|
||||
|
||||
Usr_Flash.FlashData.Port_2[0] = port_2 >> 8;
|
||||
Usr_Flash.FlashData.Port_2[1] = port_2 & 0x00ff;
|
||||
|
||||
Reference in New Issue
Block a user