osalDbgAssert gives wrong error string
Posted: Sat May 10, 2014 4:05 pm
Hi,
I am using ChibiStudio to debug my application and a osalDbgAssert fails.
The problem is that the string specified in my osalDbgAssert is "TIM9 and TIM12 does not have CCR2", but when I look at the message in the debugger I get "eicu_lld_start" (which is the name of the function).
Why am I not getting the specified message so it is possible to know which assert that failed?
Code:
Debug result: http://s13.postimg.org/68bietdz9/problem.png
Running ChibiStudio 3.0.0unstable
Thanks in advance!
Best Regards
Emil
I am using ChibiStudio to debug my application and a osalDbgAssert fails.
The problem is that the string specified in my osalDbgAssert is "TIM9 and TIM12 does not have CCR2", but when I look at the message in the debugger I get "eicu_lld_start" (which is the name of the function).
Why am I not getting the specified message so it is possible to know which assert that failed?
Code:
Code: Select all
osalDbgAssert((eicup->config->iccfgp[2] != NULL) && (eicup->config->iccfgp[3] != NULL), "TIM9 and TIM12 does not have CCR2");Debug result: http://s13.postimg.org/68bietdz9/problem.png
Running ChibiStudio 3.0.0unstable
Thanks in advance!
Best Regards
Emil