- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have timing problems while debugging an FreeRTOS Example using VS-Code.
In Debug Mode the vTaskDelay function return about x10 times slower then expected.
The Problem occures:
in VS-Code while debugging with: System Idle Power Mode "System Deep Sleep"
I have tested:
MTB --> both power modes --> no problems
VS-Code--> "Active" --> no problems
VS-Code--> "System Deep Sleep" --> Task Delay functions around 10x slower...
BR
Andreas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
After seeing with a collegue..
Can you try to change the macro "#define configUSE_TICKLESS_IDLE 2" to 0 , you can find it in the file "FreeRTOSConfig.h" line 208.
There is some issue with this maco, normally it should resolve your problem.
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Andreas_Heder ,
I am able to reproduce this issue with VS-Code debugging. It looks like there are some difference in the OpenOCD command line. I will check and get back to you.
Best regards,
Bhamy Narasimha Shenoy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
After seeing with a collegue..
Can you try to change the macro "#define configUSE_TICKLESS_IDLE 2" to 0 , you can find it in the file "FreeRTOSConfig.h" line 208.
There is some issue with this maco, normally it should resolve your problem.
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey,
thats work! Thank you.
BR
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Andreas_Heder,
Did you get chance to try the solution mentioned in the previous response?
Best regards,
Bhamy Narasimha Shenoy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content