cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746+LWIP+CMSIS2 Not Working BUT With CMSIS1 Working

lavanya
Associate III

 

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 @SofLit @Andrew Neil 

1 ACCEPTED SOLUTION

Accepted Solutions
STea
ST Employee

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.

View solution in original post

1 REPLY 1
STea
ST Employee

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.