Hi,
i did my configuration using CubeMX. Then i wrote this simple program.
HAL_GPIO_TogglePin(GPIOD,GPIO_PIN_14); HAL_Delay(1000);
I builded and downloaded my program and nothing happened. Then, i started debug session and i clicked run and program worked properly. I couldn't understand why my program doesn't work with build and download.
Best regards.
hernancrespo89 said:I builded and downloaded my program and nothing happened.
Are you sure the download actually worked?
Did you reset the target after downloading?
Now it works, thank you
So, for the benefit of future readers, what was the actual problem, and how did you solve it?
I forgot to reset the target.
There may well be an option to reset after download.
Yes, 'reset after download' solved my issue