2018-04-19 08:12 AM
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-f743zi2018-04-28 02:35 PM
Hi.
Please change the RAM section in your linker script file.
You are using DTCMRAM, which will not work.
There are a bunch of answered questions with this topic.
Please search for NUCLEO-H743, the H7 is a new family
and different to F7 devices.
2018-05-01 02:18 AM
2018-12-15 11:36 PM
Hello,
Please note that latest examples in stm32cubeh7 still contains this bug.
I hope it is planned to be fixed soon.
Thanks