2025-02-13 07:12 PM - last edited on 2025-02-14 04:45 AM by Andrew Neil
I am new to FreeRTOS ( RTOS in general, although I am very familiar with baremetal) and am following along with this video:https://www.youtube.com/watch?v=CdpgqpuPSyQ&t=4s
I am using a STM32F3DISCOVERY board so I had to make some minor tweaks to follow along, seemingly just pin numbering. I am using the default pin configurations and clock configuration. I am using TIM6 as Timebase source. I cannot seem to figure out why my LEDs are not blinking. I created a baremetal project to confirm the config of the pins is good and there I can get them toggling. I see the TIM6 CNT incrementing and wrapping so that is working. I tried to use breakpoints to see if I ever get back to my task and aside from the first hit during initialization, I never get back.
Not sure what I did wrong, but it appears my tasks only occur once and then terminate but I cannot figure out why. Any tips on how to debug this? Thank you
Solved! Go to Solution.
2025-02-18 02:31 AM
Hello @andrewralea ,
I have reproduced the behavior and it seems the system tick is not active in cmsis_os2.c.
I've escalated the behavior internally for analysis and fix. Internal ticket 203484 not accessible by the community users.