This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/MSP430F5529: RTOS/MSP430F5529: uartconsole_MSP_EXP430F5529LP_TI example possible initialize fail in main()

Part Number:

MSP430F5529


MSP-EXP430F5529LP







Other Parts Discussed in Thread: MSP-EXP430F5529LP

Tool/software: TI-RTOS

Hello,

I am trying to build the uartconsole_MSP_EXP430F5529LP_TI example from resource explorer in ccsv8 for MSP-EXPF5529LP launchpad.

    Task_Params_init(&taskParams);
    taskParams.stackSize = TASKSTACKSIZE;
    taskParams.stack = &task0Stack;
    Task_construct(&task0Struct, (Task_FuncPtr)consoleFxn, &taskParams, NULL);

    /* Turn on user LED */
    GPIO_write(Board_LED0, Board_LED_ON);

This part tells me after successful initialization LED0 on the board is supposed to light up. But no such thing happens. Also when I connect to backchannel UART via serial terminal, no console runs.

What I do is open the example project and build&flash it. I tried to debug but the breakpoint I set in the main() function never hit. I am not sure I am doing right because I don't have much experience with RTOS debugging.

What am I doing wrong?

Thanks in advance..

  • Hello Ugur,

    your post header: Part Number: MSP430F5529 points to two development environments:
    MSP-EXP430F5529
    &
    MSP-EXP430F5529LP.
    Which one do you have?
    Your tags point to MSP-EXP4305529LP.

    I reiterated your steps assuming that you have MSP-EXP-430F5529LP LP.
    After successful initialization LED0 (LED1 according to the board mask) on my board lights up.

    How do you deal with ESD?

  • Hello Tomasz,

    Sorry for the confusion, I am working on the launchpad, MSP-EXP430F5529LP.

    I am a total noob to TI RTOS so I only went through below steps:

    - Open CCSv8 IDE
    - Import uartconsole_MSP_EXP430F5529LP_TI sample code from Resource Explorer to IDE
    - Plug MSP-EXP430F5529LP to the USB port
    - Build&Flash the uartconsole_MSP_EXP430F5529LP_TI project (successful build and flash)
    - Waited some time to see whether board initialization complete (by checking the LED on the Launchpad)
    - Nothing happened, so I pressed Reset button on the Launchpad
    - Again waited some time to see whether board initialization complete, only to see unsuccess again.

    This is the exact sequence I followed. Like I said, I am a total noob to TI RTOS, so please kindly share if any specific task to be carried out to successfully start the TI RTOS on the Launchpad which I missed.

    Thanks!
  • If you have used project defaults for a compilation, your out image should be ready for a debug session.
    Which compiler and its version do you use?

  • Hello Ugur,

    Can you provide the information Tomasz asked for? This will help with debugging your situation. If no response soon, I'll assume you have solved your issue and close this thread.

**Attention** This is a public forum