2021-09-02 12:09 PM
I use the NUCLEO-L4R5ZI Evaluation Board.
I use STM32CubeIDE with HAL and gcc.
When i activate an Timer Output Channel (I have tried it with Output Compare, PWM, Forced Output) i get a Signal:0 in the gdb after the Timer init (e.g. after call of MX_TIM16_Init())
If i don't use Output Channel or when i use an Input Channel for Timer everything works fine.
I have this behaviour with all timers.
For testing i have disabled the NVIC interrupt but this doesn't fix this strange-error.
Is it possible that the timer output calls some function that is not defined ?
I use APB1 and APB2 clock with 8 MHz.
Thanks for your reply.
Solved! Go to Solution.
2021-09-02 12:32 PM
That's in the System ROM
Check the BOOT0 pin is low, check SCB-VTOR set to your base location.
For the L4R5ZI there might be an option byte issue, BFB2 ? PEMPTY ?
2021-09-02 12:32 PM
That's in the System ROM
Check the BOOT0 pin is low, check SCB-VTOR set to your base location.
For the L4R5ZI there might be an option byte issue, BFB2 ? PEMPTY ?
2021-09-02 01:35 PM
Thanks for your reply.
It really seems to be the not properly cleared PEMPTY flag by the flash loaders.
After i have patched STM32CubeIDE everything works fine.
This bug has me really made debug for 10 hours :squinting_face_with_tongue:.
I wonder why my application runs okay until i use the timer output