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.

MSP430F6779A TI-RTOS UART

Other Parts Discussed in Thread: MSP430F6779A, MSP430FR6989, MSP430F5529, MSP430F6779, SYSBIOS, MSP430WARE

Hello,

Is TI-RTOS compatible or readily setup to run on a MSP430F6779A device?

 

I can't seem to get the TI-RTOS stuff to work on the MSP430F6779A device.

 

All am trying to do right now is to have it come up and configure a UART port to read and write STDIN and STDOUT.

 

At this point I don’t even know if it is setting up the UART right.

 

Do you have a working project that does this simple function or is TI-RTOS useless or requires a lot of porting before I can use it?

  • Hi Christopher,

         TI-RTOS supports the MSP430F6779A device. There are 2 parts to TI-RTOS, the kernel  and drivers (UART, I2C, etc). The kernel libraries are readily available for the MSP430F6779A  and doesn't need to be rebuilt. The drivers on the other hand will need to be rebuilt for MSP430F6779A. We provide already rebuilt driver libraries for the MSP430FR6989, MSP430F5529 and MSP432P401R. Here's a guide we provide to help users rebuild for other MSP430 devices just like your case.

        Also we have UART example projects for the launchpads and EVMs of the 3 supported devices but you can easily reuse most of the code for your  device. The TI-RTOS UART APIs are standard and are portable across different devices so the same UART calls that work for the out of the box examples will work for your device as well. There are also board specific files that are part of the examples that you'll need to modify to your specific board and is talked about in detail in the guide I shared.

    If you need more help or have more questions on going this route, feel free to ask.

    Best,

    Moses

  • Hello Moses,

    Thanks for the response.  Some follow up and errors on compiling. See below.

    I have generated a TI-RTOS project for the MSP430F6779A device.

    Build the TI_RTOS driver libraries for the MSP430F6779A device.

     

    Everything seems to compile correctly, but when it comes to link the object files it ERRORS OUT.

    I have included the message dump from the building process below.

    How do I fix this issue?

     

    **** Build of configuration Debug for project hello_MSP430F6779 ****

     

    "C:\\ti\\ccsv6.1.3\\ccsv6\\utils\\bin\\gmake" -k all

    making ../src/sysbios/sysbios.ae430X ...

    gmake[1]: Entering directory 'C:/MSP430_workspace/hello_MSP430F6779/src/sysbios'

    gmake[1]: Nothing to be done for 'all'.

    gmake[1]: Leaving directory 'C:/MSP430_workspace/hello_MSP430F6779/src/sysbios'

    'Building target: hello_MSP430F6779.out'

    'Invoking: MSP430 Linker'

    "C:/ti/ccsv6.1.3/ccsv6/tools/compiler/ti-cgt-msp430_16.3.0.STS/bin/cl430" -vmspx --data_model=restricted --use_hw_mpy=F5 --advice:power=all --advice:power_severity=suppress -g --define=ccs --define=MSP430WARE --define=__MSP430F6779A__ --display_error_number --diag_wrap=off --diag_warning=225 --diag_warning=255 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --abi=eabi --printf_support=minimal -z -m"hello_MSP430F6779.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccsv6.1.3/ccsv6/ccs_base/msp430/include" -i"C:/ti/ccsv6.1.3/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" -i"C:/ti/ccsv6.1.3/ccsv6/tools/compiler/ti-cgt-msp430_16.3.0.STS/lib" -i"C:/ti/ccsv6.1.3/ccsv6/tools/compiler/ti-cgt-msp430_16.3.0.STS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="hello_MSP430F6779_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "hello_MSP430F6779.out" "./MSP_TS430F6779.obj" "./UARTUtils.obj" "./hello.obj" "../lnk_msp430f6779a.cmd" -l"configPkg/linker.cmd" -llibmath.a -l"C:/ti/tirtos_msp43x_2_16_01_14/products/msp430_driverlib_2_21_00_08a/driverlib/MSP430F5xx_6xx/ccs/MSP430F6779A.lib" -llibc.a

    <Linking>

     

    undefined           first referenced   

      symbol                 in file        

     ---------           ----------------   

     UARTEUSCIA_fxnTable ./MSP_TS430F6779.obj

     

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "hello_MSP430F6779.out" not built

     

    gmake: *** [hello_MSP430F6779.out] Error 1

    >> Compilation failure

    makefile:144: recipe for target 'hello_MSP430F6779.out' failed

    gmake: Target 'all' not remade because of errors.

     

    **** Build Finished ****

  • Moses,

    Is there a working demo for the MSP430F6779A that incorporates TI-RTOS with UART?

    Thanks.

  • Hi Christopher,

         Sorry for the delay. Unfortunately we don't have any specific examples for that device but however the examples for boards we support can be ported to the MSP430F6779A. The first step will be to rebuild the TI-RTOS drivers for the MSP430F6779A. Have you been able to do this using the guide I shared earlier? I can walk you through it if you haven't. Then the next step will be to create a board.c/h that implements the needed board-level functions. I see you have a MSP_TS430F6779.c file that I believe does this, can you share that file so I can verify it?

    Thanks,

    Moses

  • Moses,

    Here are the source files I have been using. They were from the “hello_MSP_EXP430F5529LP_TI_MSP430F5529” project I ported from the MSP_EXP430F5529LP using the porting instruction you provided.

    My MSP430F6779 project compiles without errors and loads into the board just fine.

    The problem is; nothing comes out the UART port and nothing goes into the UART port. UART PORT NOT WORKING!!4452.hello_MSP430F6779.zip

    I have no prior experience with TI-RTOS so I don’t even know how to fix the problem. That’s why I asked for a working project that implements the UART STDIO functions to start with.

  • Did you change the setting in the UART_config's hwAttrs structure? This structure gives the configuration to the driver. Also, you'll probably need to change the pin-muxing in the <board>_initUART function.
  • Did this get resolved?

    Todd
  • Todd,

    Moses above had mentioned changing the structure of the UART settings?  Do you know where that is located or where we can find that?  Our customer starting with a project from the F5529 MSP430.  And now using the F6779 device.  All he is trying to do is get the TI-RTOS running with that device.  Would you be able to get on a conference call with our customer?

    Christopher