2019-01-28 01:46 PM
Hello all,
I built with CubeMX 5.0.1 a project from scratch using the default settings.
The modifications:
MMC --> SD (otherwise it wouldn't run. Probably ST will change it someday)
LWIP enabled with fixed IP addresses
Added two lines to blink a LED
Compilation is okay.
Run the software and it will hang at:
Thread #1 (Suspended : Signal : SIGINT:Interrupt)
HAL_GetTick() at stm32f7xx_hal.c:319 0x80020c6
HAL_Delay() at stm32f7xx_hal.c:382 0x80020ea
HAL_ETH_Init() at stm32f7xx_hal_eth.c:289 0x800383a
low_level_init() at ethernetif.c:253 0x80087a8
ethernetif_init() at ethernetif.c:606 0x8008968
netif_add() at netif.c:310 0x800ae4a
MX_LWIP_Init() at lwip.c:110 0x800854e
StartDefaultTask() at main.c:1.707 0x80010aa
pvTaskIncrementMutexHeldCount() at tasks.c:4.188 0x800a008
In the meantime I bought a DISC1 board with a STM32F769 version Z but this it's not the solution. I also changed the default Timer TIM6 for SysTick with TIM14.
Why is it so difficult to create a simple Hello_world_program with CubeMX which will run properly? Any idea to fix the problem?
Thank you.
Solved! Go to Solution.
2019-01-31 03:20 PM
If someone like me get stucked:
Disable IWDG (or refresh it). It is set by default and this can be a trap.
After creating a default project with CubeMX 5.0.1 for the Discovery-F769
you have to change MMC to SD and take care about or disable the Watchdogs WWDG and IWDG.
Otherwise your board will stop at a specific time and you wonder why the current
function resource does not work.
2019-01-31 03:20 PM
If someone like me get stucked:
Disable IWDG (or refresh it). It is set by default and this can be a trap.
After creating a default project with CubeMX 5.0.1 for the Discovery-F769
you have to change MMC to SD and take care about or disable the Watchdogs WWDG and IWDG.
Otherwise your board will stop at a specific time and you wonder why the current
function resource does not work.