Hello world project clock issue
I have an STM32F415VG custom board with a 25MHz external oscillator.
I created an empty project with CubeMX setting the clock to use HSE+PLL to have 72MHz SYSCLK. Nothing else is enabled except the Serial Wire Debug port.
I import the project in KEIL, build and load it.
When I run it, the SystemClock_Config function crashes, loosing debuger connection.
I debugged the funcion and found out that the issue arises right after the instruction
/* Enable the main PLL. */
__HAL_RCC_PLL_ENABLE();
inside the HAL_RCC_OscConfig(&RCC_OscInitStruct) function.
What could be the issue? I neve experienced this.
N.B. We have previously used this board for another project and never had an issue like that, the clock config just worked.
