AnsweredAssumed Answered

MQX-Lite does not run after power-cycle

Question asked by Dominic Ast on Dec 19, 2014
Latest reply on Dec 19, 2014 by Dominic Ast

Dear all

 

I face a very strange problem (at least for me): I just startet to use MQX-Lite OS an o Kinetis L uC ( FDRM Eval-Kit ). The tasks are very simple:

 

void init_task(uint32_t task_init_data)

{

    #if CONSOLE_IO_SUPPORT

    printf( "init_task start\n" );

    #endif

    _task_create_at( 0, SLEEPTASK_TASK, 0, SleepTask_task_stack, SLEEPTASK_TASK_STACK_SIZE );

}

 

void sleep_task(uint32_t task_init_data)

{

    while(1) {

        #if CONSOLE_IO_SUPPORT

        printf( "sleep_task start\n" );

        #endif

        TEST_LED_TOGGLE;

    }

}

 

Everything runs great if I debug with CodeWarrior - I see the debug output in the console an I see the toggling led on the board. But If I power off the device and repower it - nothing happens. I have to press the reset button to start the program - then is runs great. This was not the case before I used the MQX-Lite OS.

 

Does anyone know about this issue?

 

Best regards, Dominic

Outcomes