Skip to main content
Koceila Hami
Associate II
June 5, 2018
Question

STM32 with TCP/IP

  • June 5, 2018
  • 3 replies
  • 6027 views
Posted on June 05, 2018 at 10:42

Hello,

I'm working on a project that aims to develop a program for compliance with the TS13 149 (

http://itxpt.org/en/home

) standard of passenger counting systems for public transit vehicles produced by the company in which I am doing my work. traineeship. The purpose of the project is to introduce network management protocols based on a

TCP / IP (Ethernet) link. To do this, the standard requires a service-oriented architecture (SOA) and the following protocols:

SOA:the project must meet a service-oriented architecture

FTP: For file transfer

SSH (Secure Shell): To make secure (encrypted) connections between a client and a server and to have control over a remote terminal.

HTTP: Used for data triggered by an event

mDNS: Simplifies name resolution and enables dynamic scalability and evolution in a local network.

TCP: For data transport

DHCP: For automatic configuration of IP parameters of a station or machine

IP (IPv4, IPv6): For the address space

Ethernet: For the link

My questions are then:

  • Does the STM microcontroller support the TCP / IP stack?
  • If so, what kind of microcontroller should I use? (according to my research, STM32 could do the trick !)
  • Is the TCP / IP stack that is made for this microcontroller supports all the protocols mentioned?
  • Where to download thisstack?
  • Which programming environment uses these microcontrollers?

If the STM microcontrollers support all these protocols, our company is committed to carry out this project with this type of microcontrollers

Thank you all

#stm32

Note: this post was migrated and contained many threaded conversations, some content may be missing.
    This topic has been closed for replies.

    3 replies

    Koceila Hami
    Associate II
    June 7, 2018
    Posted on June 07, 2018 at 09:15

    After several searches, I came across STMCube ™ (STM32Cube MCU Package for STM32F4), see this site (

    http://www.st.com/en/embedded-software/stm32cubef4.html

     ) which proposes a TCP / IP solution.

    We only have to install this application STMCube ™ on our microcontroller, or there are development steps to follow?

    AvaTar
    Senior III
    June 7, 2018
    Posted on June 07, 2018 at 09:43

    My suggestion - save yourself the hassle, and go for a Cortex A.

    Koceila Hami
    Associate II
    June 7, 2018
    Posted on June 07, 2018 at 09:55

    Hello AvaTar,

    What criterion do you propose to me Cortex-A? The TCP/IP stack is supported by this tool? send me documentation links when you have time, thank you

    I li on my research that it is possible to install free software which are graphic tools of software configuration allowing to generate initialization code C using graphic assistants! it's possible?

    AvaTar
    Senior III
    June 7, 2018
    Posted on June 07, 2018 at 10:15

    What criterion do you propose to me Cortex-A? The TCP/IP stack is supported by this tool?

    Cortex A (all variants I know) have a proper ethernet phy / peripheral and plenty of performance to keep up with the network traffic, aside from the normal application.

    They can run a proper OS (Linux, VxWorks, Qnx, etc.), and use to come with all the required drivers.

    In regard to ethernet + TCP/IP, you can port any stack/application available for your OS, many freely available. The same goes for GUI design tool, Qt comes to my mind.

    Not to forget, cross development is much easier. You can develop and test most of your application on the host, or even on the target itself.

    Koceila Hami
    Associate II
    June 11, 2018
    Posted on June 11, 2018 at 13:59

    Hello,

    So after doing a lot of research, I came across this document (list of TCP / IP stacks for STM32):

    http://www.emcu.eu/wp-content/uploads/2018/03/STM32-ETHERNET-Solutions.pdf

     

    Thank you