7 years, 11 months ago.

Export to KDS, Problem with RTOS for Platform K64F

Hey Community,

I want to export a simple RTOS project with SDFileSystem library.

If I compile the online version - it's fine :)

But If I compile with Kinetis Design Studio KDS 3.0 - the binary seems to be okay, but I can not use SD-Card functions. The Compile output is without warnings or errors...

RTOS Crashes If I use fprintf() functions within Threads. If I use fprintf() functions outside Threads, (for e.g. in main init()) it is working well !

( the Assembler files are S. renamed)

Why does the RTOS behave different from the online compiled version??

Thanks to all :)

we need more information please. Wht's the version of the library - rtos and mbed ? there was a change to new RTX recently. Does it work with older (2 revision back for instance) ?

posted by Martin Kojtal 10 May 2016

RTOS is Rev 107 MBED is rev 116

posted by Tobi Roe 11 May 2016

If I update all libraries to current version, then EthernetInterface doesnt compile ( K64F Bug). Cannot open source file "fsl_enet.h"

Like: https://developer.mbed.org/questions/68935/Latest-mbed-rtos-breaks-Ethernet-on-K64F/

posted by Tobi Roe 11 May 2016

Problem SOLVED :) With the help of this topic: https://developer.mbed.org/forum/mbed/topic/3290/

Increased stack size for thread to 2.25 * DEFAULT_STACK_SIZE

posted by Tobi Roe 12 May 2016
Be the first to answer this question.