Beginner problem with NUCLEO-L4R5ZI and blinking LED
- August 23, 2018
- 3 replies
- 1918 views
Hi,
I'm realy new to this and I'm using NUCLEO-L4R5ZI with Ac6 System Workbench for STM32. I've found the board and initialized all peripherals with their default settings inside STM32CubeMX. Then I've generated the code for System Workbench and imported it inside.
Inside the main while loop I've written just two lines of code for toggling the LED which I assume are correct.
while (1)
{
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
HAL_GPIO_TogglePin(GPIOB, GPIO_PIN_7);
HAL_Delay(500);
}
/* USER CODE END 3 */I try to flash the file nothing happens (not blinking on any of the User LEDs). Project builds itself without any errors. Only error I get is while flashing, but its finishes successfully. Below is the whole log from programing.
Another thing is when I try to program my board with default example everything works just fine and the log is still the same (even with that error).
Any help would be appreciated!