cancel
Showing results for 
Search instead for 
Did you mean: 

Implement EtherNet/IP communication on STM32F746NG using OpENer

ashish1907
Associate II

Hello @ST Community,

I am working on a project with the STM32F746NG board. In this project, I want to communicate with a PLC using the EtherNet/IP communication protocol. To achieve this, I plan to integrate the OpENer stack into my project.

I am looking for guidance on how to properly build and port the OpENer stack to the STM32F746NG board and how to test it to ensure it communicates correctly with the PLC. Any examples, step-by-step instructions, or references would be greatly appreciated.

Thank you in advance for your support!

5 REPLIES 5
Andrew Neil
Super User

@ashish1907 wrote:

I am looking for guidance on how to properly build and port the OpENer stack 


Surely, that would be found in the OpENer documentation, and/or from the OpENer community?

https://github.com/EIPStackGroup/OpENer - community links there

https://eipstackgroup.github.io/OpENer/

 

PS:

A quick search for "STM32 OpENer" finds:

https://eipstackgroup.github.io/OpENer/dc/dcb/porting.html - Porting Guide

https://community.st.com/t5/stm32-mcus-embedded-software/stm32f4-ethernet-ip-library/td-p/677457 - ST Partner solutioin

https://groups.google.com/g/eip-stack-group-opener-users/c/c1houg86m_U?pli=1 - Opener on STM32F746

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@Andrew Neil wrote:

@ashish1907 wrote:

I am looking for guidance on how to properly build and port the OpENer stack 


Surely, that would be found in the OpENer documentation, and/or from the OpENer community?

https://github.com/EIPStackGroup/OpENer - community links there


And especially STM32 port: https://github.com/EIPStackGroup/OpENer/tree/master/source/src/ports/STM32

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

Thank you for your response @Andrew Neil @mƎALLEm . I have all the files needed to build OpENer for my STM32F746NG board, but I don’t know the correct process to compile and integrate the stack. Could you please share a detailed step-by-step build procedure (with images/flow diagrams)? I have tried many times and it keeps failing — a picture-based flow would help me a lot.

Again,  you need to go to the OpENer community for that - it's not an ST thing.

 

There are instruction for compiling here: https://github.com/EIPStackGroup/OpENer

 

PS:

You haven't actually said what board you're using:

How to write your question to maximize your chances to find a solution

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

@ashish1907 wrote:

Could you please share a detailed step-by-step build procedure (with images/flow diagrams)? I have tried many times and it keeps failing — a picture-based flow would help me a lot.


This is a general question on integration, C programming, compiler settings etc no relation with that stack itself. If you have a colleague in your company to help you in that task it could be efficient for you.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.