I'm trying to port the OpenPowerLink stack on a STM32F107 board, but i couldn't set the IP adress, i'v defined mt node :
#define NODEID 0x2
#define IP_ADDR 0xc0a86405 // 192.168.100.5
static BYTE abMacAddr[] = {0x00, 0x12, 0x13, 0x10, 0x15, 0x11};
you did everything right. The reason why your CN is not answering is, that there is no
IP stack included in the basic stack example. The stack only consists of the virtual ethernet interface which provides a header VirtualEthernetApi.h. This header can be used to connect an IP stack to the POWERLINK stack.
There are several lightweight open source IP stacks (uIP) available which you can try to connect to this interface. If you decide to dig into this please share the code with the community.
best regards
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello Thomas,
Thank you for your answer,
I'm actually a beginner in the embedded development, but i have to digg into the uIP stack to find a solution,
Do you have any experience in that area to help me start ?
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm trying to port the OpenPowerLink stack on a STM32F107 board, but i couldn't set the IP adress, i'v defined mt node :
#define NODEID 0x2
#define IP_ADDR 0xc0a86405 // 192.168.100.5
static BYTE abMacAddr[] = {0x00, 0x12, 0x13, 0x10, 0x15, 0x11};
and itiilased it :
But ican't ping the board from my PC (PC and board connected via a Hub) !
Any Help ? Thank you.
Hello Mike,
you did everything right. The reason why your CN is not answering is, that there is no
IP stack included in the basic stack example. The stack only consists of the virtual ethernet interface which provides a header VirtualEthernetApi.h. This header can be used to connect an IP stack to the POWERLINK stack.
There are several lightweight open source IP stacks (uIP) available which you can try to connect to this interface. If you decide to dig into this please share the code with the community.
best regards
Thomas
Hello Thomas,
Thank you for your answer,
I'm actually a beginner in the embedded development, but i have to digg into the uIP stack to find a solution,
Do you have any experience in that area to help me start ?
Thank you.
Hello Mike,
maybe in your case it is the best to use the IP stack which is recommended for your platform. This site seems to be very useful: http://www.st.com/web/en/catalog/tools/FM147/CL1794/SC961/SS1743/PF257896?s_searchtype=keyword
best regards
Thomas
Hello,
Ok Great, thank you for your help.