MDK MIDDLEWARE: Networkv7, ETH-ERR:Init, Thread create failed
Information in this knowledgebase article applies to:
When migrating from Networkv5/6 to Networkv7, execution goes into net_sys_error's while loop. Printf debug for the network or the Event Recorder are enabled. During the call to netInitialize() or the start of another thread the following error is thrown: "ETH-ERR:Init, Thread create failed." or Event Property "ThreadCreateFailed". What is causing this error?
There are not enough resources allocated by CMSIS RTOS for the new thread, netCore_Thread.
Add resources in RTX_Conf_CM.c for netCore_Thread by raising the total stack size for threads with user-provided stack. netCore_Thread effectively replaces Networkv5/6's call to net_main().
During migration, net_main() was removed from a thread. If the call to net_main() increased the thread's required stack size, then this size can be lowered.
Last Reviewed: Wednesday, November 16, 2016
of your data.