AnsweredAssumed Answered

STM32H7 SCB_CleanInvalidateDCache ERROR

Question asked by Michele G on Apr 23, 2018
Latest reply on Apr 27, 2018 by Clive One

I'm using CubeMx to generate the basic configuration for NUCLEO-F743ZI board;

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.

 

if __DCACHE_PRESENT is set to 0  the SCB_CleanInvalidateDCache() is effectively skipped but 

at this point HAL_ETH_Transmit and  HAL_ETH_Receive return HAL_ETH_ERROR_DMA

 

 

Anyone has the same issue?

Outcomes