Skip to main content
Associate III
February 5, 2025
Solved

STM32F746+LWIP+CMSIS2 Not Working BUT With CMSIS1 Working

  • February 5, 2025
  • 2 replies
  • 1718 views

 

I am using CUBEMX Version   6.10 

STMCUBE IDE                        1.16.0

FW version                               F7V1.17.0

Enabled LWIP ETH With FREERTOS CMSIS2

same settings did with cmsis version 1 it's working but with cmsis version2 NOT Working

I configured on internal Timer TIM1 

as soon as I connect Eth Cable program counter not reaching threads & Timer callback / TIM6(systick update).

I checked in fault handlers it is not reaching here 

ETH State in eth handler is (READY STATE --> START STATE)

Error code in eth handler is zero.

Here I have attached my .ioc file

I have updated flash ld file as per repository code

 

LWIP Debug Messages :

 

netif: netmask of interface set to 255.255.255.0
netif: GW address of interface set to 192.168.10.10
netif_set_ipaddr: netif address being changed
netif: added interface st IP addr 192.168.10.5 netmask 255.255.255.0 gw 192.168.10.10
netif: setting default interface st
etharp_timer
pbuf_alloced_custom(length=0)
pbuf_alloced_custom(length=0)
pbuf_alloced_custom(length=0)
pbuf_alloced_custom(length=0)
etharp_request: sending ARP request.
pbuf_alloc(length=28)
pbuf_alloc(length=28) == 0x20009804
etharp_raw: sending raw ARP packet.
pbuf_add_header: old 0x20009824 new 0x20009816 (14)
ethernet_output: sending packet 0x20009804
pbuf_free(0x20009804)
pbuf_free: 0x20009804 has ref 1, ending here.
pbuf_free(0x20009804)
pbuf_free: deallocating 0x20009804
pbuf_alloced_custom(length=0)

 

... after this MCU got stucked.

 

@STea @mƎALLEm @Andrew Neil 

Best answer by STea

Hello @lavanya ,

unfortunately, there is no support for cmsis V2 FreeRTOS for F7 series.

I have input a ticket (ticket number 203486 for internal reference only) to remove the option for cmsis v2 for FreeRTOS in cube MX.
Regards

2 replies

STeaAnswer
ST Employee
February 18, 2025

Hello @lavanya ,

unfortunately, there is no support for cmsis V2 FreeRTOS for F7 series.

I have input a ticket (ticket number 203486 for internal reference only) to remove the option for cmsis v2 for FreeRTOS in cube MX.
Regards

In order 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.
CObri.1
Associate III
February 26, 2025

Hello @STea 
I also tried to update the freerots from V1 to V2 and the run in 1000 of errors when building a working project for an F7. Luckily I found this ticket here after a while!

Is it planed to support the F7 series in the future?

Best regards
CO


Associate II
May 12, 2026

How is there no support for CMSIS v2? Like F7 series, even the H7 series needs to utilize CMSIS_v2, the v1 is not supported. And CMSIS_v2 doesn't work.