cancel
Showing results for 
Search instead for 
Did you mean: 

Breakpoints in FreeRTOS are getting hit very weirdly!

vishnu_illikkal
Associate III

vishnu_illikkal_0-1760014851384.png

vishnu_illikkal_2-1760014957943.png

 

vishnu_illikkal_1-1760014882857.png

Weird things are happening.

The breakpoint  i set in the void Read_ToF_From_VL53L0X_FreeRTOS_Task(void *pvParameters) task is not getting hit
this task calls VL53L0X_Measure_Distance function in which i set a breakpoint which is working ok !

vishnu_illikkal_3-1760015211774.png

 

also i put another breakpoint in the file VL53L0X_FreeRTOS_Queues.c which is called upon initialization
this is also not getting hit

is it a problem with teh specific folder?

vishnu_illikkal_4-1760015290938.png


but the VL53L0X_Core_Functions.c also on the same main dir

does the FreeRTOS dir have any problems?

Has anyone experienced this problem?

@Andrew Neil 

@mƎALLEm 
@TDK 

4 REPLIES 4
vishnu_illikkal
Associate III

Note:

The tasks which are not getting hit by the breakpoint are working properly i am getting its outputs.

 

TDK
Super User

What device? The number of hardware breakpoints is limited. If you try to set too many, you should get a message about it.

Consider clearing all breakpoints, verifying that none are set in the Breakpoints tab, then setting the one you want to see if it will work.

If you feel a post has answered your question, please click "Accept as Solution".

STM32H750VBT6
i also tried to set only the breakpoints in the task Read_ToF_From_VL53L0X_FreeRTOS_Task  still not working

 

vishnu_illikkal_0-1760016534725.png

 

vishnu_illikkal
Associate III

I have a second board also, i tried the same code on that also. which is also showing the same problem.