AnsweredAssumed Answered

modbus tcp port lwIP stack on stm32f4 with DP83848 PHY

Question asked by valdenaire.franck on Nov 5, 2015
Latest reply on Nov 11, 2015 by patro.umakanta

Good afternoon everyone,

I am fairly new to this forum.So hi everyone :-) I am a young electronics and embedded systems engineer, used to driver dev but really a noob when it comes to internet networks understanding.

I am looking for a running example of modbus tcp on stm32f4. 
I must add that I allready ported and recompiled lwIP and I am actually hosting a webserver on stm32f4. 

I am using the DP83848 PHY. 
So basically wondering if anyone allready found a modbus tcp (using lwIP or not)

I am using stm32workbench IDE.The thing is that, if I was able to adapt a running example of a lwIp port for stm32 on the stm32f4 discovery board using external DP83848 PHY, I don't know were to start to from to port modbus tcp, to lwIP. I am having hard time understanding the stack. I wonder how to receive a tcp packet, how the lwIp stack handles it, and simply if the lwIp stack can handle modbus tcp.

I was hoping someone allready did that and could help me or share examples.

Any help will be really appreciated.

Thank you all