NUCLEO-F743ZI FreeRTOS LWIp Problem
I'm using CubeMx 4.25.0 to generate the basic configuration for NUCLEO-F743ZI board.
STM32 MCU Package for STM32H7 1.20 installed.
Default settings are used, FREERTOS and LWIP flags are enabled sys timebase source set to TIM1
as suggested by CubeMx.
Project files are generated for SW4STM32 IDE.
When project is built and debugger is started the default application ends inside 'Default_Handler infinte Loop' after SCB_CleanInvalidateDCache inside LWIp initialization.
MX_LWIP_Init() ---- netif_add() ----low_level_init() which create the ethernetif_input() thread that uses ethernetif_input() ---- low_level_input() ---- SCB_CleanInvalidateDCache()
which causes the unexpected interrupt.
setting __DCACHE_PRESENT in ''stm32h743xx.h' to 0 renders the
SCB_CleanInvalidateDCache() call ineffective but
the HAL_ETH_transmit() funciton now return a HAL_ETH_ERROR_DMA when checking if((heth->Instance->DMACSR & ETH_DMACSR_FBE) != (uint32_t)RESET)
I've attached the generated project code to replicate the problem
Anyone has the same issue?
#stm32h7 #lwip #nucleo-f743zi