Question
Hard fault on os_tsk_self()
Posted on December 24, 2014 at 06:38
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 inprivileged 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();
#rtx-hard-fault