Keil Logo

MDK MIDDLEWARE: Networkv7, ETH-ERR:Init, Thread create failed

Information in this knowledgebase article applies to:

  • MDK-ARM: Middleware, Networkv7


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

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.