Hey,
when i call:
otLinkSetChannel(OTInstance, ThreadChannelToUse);
from the very beginning of the programm:
void main(void)
{
int ret;
ret = InitLEDs();
InitTemperatureMeasurement();
InitUART();
// Setup default configuration
ProcessReceivedUARTMessage();
otLinkSetChannel(Instance, ThreadChannelToUse);
SetLEDOn(DONGLE_RED_MULTI_LED);
SetLEDOff(DONGLE_BLUE_MULTI_LED);
return;
}.
everything works, but when this i called from a thread -> it crashed with Hard Fault.
i really need a hint/advise.
regards,
Sören
Edit:
i've found out the the yellow marked line causes the hard fault - it is from "link_api.cpp"