AnsweredAssumed Answered

Hard fault on os_tsk_self()

Question asked by Bar Maley on Dec 24, 2014
Latest reply on Dec 28, 2014 by Bar Maley
Don't really know what else to say. I'm using uVision4.74 and RTX. Please don't suggest to switch to uVision 5 and CMSIS-RTOS RTX. This line is a part of a function that was called many times before, so it is not this but what? Where to dig? How? At the point of failure I just initialize I2C BEFORE RTX was started in privileged mode. Will appreciate your help. Thanks. 
This is the line of code that brings me trouble: 
OS_TID rtx_id;
rtx_id = os_tsk_self();