Skip to main content
Graduate II
February 5, 2025
Solved

STM32F746+LWIP+CMSIS2 Not Working BUT With CMSIS1 Working

  • February 5, 2025
  • 1 reply
  • 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 

    This topic has been closed for replies.
    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

    1 reply

    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

    Graduate
    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