Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

FreeRTOS+TCP for STM32H7?

Posted by onesmallstep on January 11, 2019

Looking at the FreeRTOS+TCP code, I see that they have network interface drivers written for the STM32F4 and STM32F7, but not the STM32H7.

Is there a working port of the NetworkInterface code for the STM32H7 anywhere, or is one planned for the future?

Thank you.


FreeRTOS+TCP for STM32H7?

Posted by heinbali01 on January 11, 2019

Hi Nick, I know of one person who worked on making a Network Interface for STM32H7: Thomas Kindler. I'm attaching his NetworkInterface.c. There is no handling of the PHY yet. I posted a generic driver for most 100 Mbps PHY's here


FreeRTOS+TCP for STM32H7?

Posted by heinbali01 on January 11, 2019

Sorry, I forgot the important attachment. Many thanks to Thomas Kindler :-)

Attachments


FreeRTOS+TCP for STM32H7?

Posted by onesmallstep on January 11, 2019

Excellent, thank you!

Does this work with the existing stm32h7xxhaleth files without any modification?


FreeRTOS+TCP for STM32H7?

Posted by heinbali01 on January 12, 2019

Does this work with the existing stm32h7xxhaleth files without any modification?

Yes it was developed to be used with the STM32H7xx HAL library, including the ETH module. For the combined driver for STM32F4/STM32F7, I changed the ETH module, mostly to allow for zero-copying: - Packets are received directly in a NetworkBufferDescriptor_t. - And when sending a packet, DMA will work with the NetworkBufferDescriptor_t as provided by the IP-task. Hence the driver doesn't copy any network packet.

I like Thomas' module because it shows a NetworkInterface.c in it's simplest form.

It is quite essential though to add initialisation of the PHY, and also it is important to monitor the Link Status of the PHY. Without that it will also work, but only as long as the device is connected to a switch or a router.

If you want, send me an email and I will help you to make this working. My address is hein [at] htibosch [dot] net


FreeRTOS+TCP for STM32H7?

Posted by nicmig on February 6, 2019

Hi! any progress on that? I am also working with an STM32H743 nucleo-144. Would be great to have a working NetworkInterface.


FreeRTOS+TCP for STM32H7?

Posted by nicmig on February 6, 2019

FreeRTOS+TCP for STM32H7?

Posted by heinbali01 on February 7, 2019

No progress has been made on the STM32H7x +TCP driver. I don't have time to do it, but if anyone wants to develop and test it further, I will help as much as I can. Hein


FreeRTOS+TCP for STM32H7?

Posted by onesmallstep on February 13, 2019

Thank you, that is very generous of you!

Unfortunately I got diverted by another task, but I will eventually get back to this. Perhaps by then this network module will be finished, if not I may contact you for some direction.

Thanks again!


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS v10.2.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Mediatek

Renesas

RISC-V

SiFIve RISC-V

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner