cancel
Showing results for 
Search instead for 
Did you mean: 

No Build Errors but Program is stuck when ported to MBed OS

MGuth.1
Associate III

Hi

I'm trying to get a LCD Display run with a Nucleo U575 Board via FMC connection.

I followed this guide on Github for the setup. Somehow I don't get my CubeIDE working properly - I can only flash a code (even a simple blinky) to the board once. When I try to flash it a second time, the LD4 stays red and nothing else happens...

Back to topic:

So I followed the instructions linked above and setup everything in the CubeIDE. When I copy the needed files to a fresh/empty mbed program, it's building without any complains. Flashing the program to my Nucleo also works flawlessly (I'm using Mbed Studio). But As soon as the Nucleo executes the code, it gets stuck somewhere in the SystemClock_config() in line 205 when it checks for

if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)

Can anyone help me please?

All code that I added to an empty mbed program can be seen in my github repo

0 REPLIES 0