2024-09-28 05:05 PM
I am trying to toggle one of the LED lights of STM32 NUCLEO-L552ZE-Q board. I am working with the latest version of STM32CubeIDE 1.16.1. The steps I followed are given in the picture. However, I find this error when I debugg:
set *(int *)0xE000EDFC=*(int *)0xE000EDFC|0xFF0
Program received signal SIGINT, Interrupt.
0x080006bc in HAL_IncTick () at ../Drivers/STM32L5xx_HAL_Driver/Src/stm32l5xx_hal.c:303
303 }
Also, the pics show more. I tried many things to fix this issue but couldn't.
Has someone face the same issue and how did you solve it? Any help is highly appreciated.
Solved! Go to Solution.
2024-09-29 12:05 PM
Upload your IOC file
2024-09-29 12:18 PM
The IOC file in your project
2024-09-29 12:19 PM
2024-09-29 12:35 PM
Does the LED ever blink?
Or just errors during debugging?
2024-09-29 12:39 PM
Just errors during debugging.
None of these blink.
2024-09-29 12:50 PM
Not sure if it'll make a difference but you don't have debugging enabled.
I've tried on another Nucleo with Debug off and I don't run into errors. I have a counter variable that still counts up and updates in the Expressions. So that is why i say it may not make a difference if you do enable it.
2024-09-29 12:54 PM
thank you, yes, I also have tried that, but no difference. Still I get the same problem.
2024-09-29 12:56 PM
I think that might be a problem with the settings of my STM32Cube 1.16.1, but actually I did as advised in the internet everything.
2024-09-29 01:22 PM
I have a lot of Nucleo boards but unfortunately i don't have the one your have. Just out of curiosity, place a breakpoint on SystemClock_Config and MX_GPIO_Init and see if you can get past HAL_Init and SystemClock_Config functions without any errors?
2024-09-29 01:39 PM
No, unfortunately, it gives the same error.