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.

CCS/MSP430FR2633: Captivate Development Kit - Easy way to read printf using CCS

Part Number: MSP430FR2633
Other Parts Discussed in Thread: ENERGIA,

Tool/software: Code Composer Studio

Support Path: /Tools & software/Help me with an issue/Design Kits / Evaluation Modules / Boards/Software issue/

Using CCS, is there any quick way to read printfs from the MSP430 ?

I have the development kit (captivate) connected via USB to the computer. Using CCS I can program the MCU with handmade code or with code generated using Virtual Studio.

  • This question appears to be unrelated to the MSP device and might be better answered in the Code Composer Forum. Have you referred to the following TI Wiki page? processors.wiki.ti.com/.../Printf_support_for_MSP430_CCSTUDIO_compiler

    Regards,
    Ryan
  • Hello Ryan, thank you for your answer. I have seen that wiki page before, I followed all the instructions, but my console does not print anything in the debugging step.

    I'm not using a common launchpad, this is a Captivate Development Kit. In the main.c file, there is a code that makes LED to turn on when a hand touches the capacitive board. What I did was, in the loop "while (1)" I wrote an extra line with "printf (" hello ");". Then, nothing happens, it simply compiles, and the MCU turn on the LED when a hand touch, just like the "printf".

    Do you have any suggestion?
  • Hello Gilberto,

    Once again, the target EVM board does not matter in relation to the printf function which only concerns the CCS debugger console window. You should not be trying to reroute it to a UART interface since this would be used to communicate with the CapTIvate Design Center. Can you get printf to work outside of a CapTIvate project? If not then this may be a question for the C/C++ Compiler Forum.

    Regards,
    Ryan
  • Hello again,

    Can you explain how to check the printf outside a CapTivate project?
    I'm sorry for the trivial subject, this is my first contact with microcontrollers.

    I'm trying to build my own touchpad based on mutual capacitance between columns and rows.

    At this point, I would like to get the grid capacitance values to the computer, and then work on that data, in real time.

    Do you have suggestions?

    Thank you,
    Regards,
    Gilberto Loureiro
  • Hello Gilberto,

    There are multiple basic printf examples provided by the online community, but they are typically avoided since they can only be used for the CCS debugger when a virtual COM port (through backchannel UART) is preferred. Several community members utilize basic IDE programs/terminals (Hyperterminal, Python, Energia), GUI developers (Processing), or technical computing environments (Matlab) to process incoming data.

    Regards,
    Ryan

  • Hello Ryan,

    I have tried to read something using Energia, but I had some problems:

    - Energia board: MSP430FR2633 is not in the list ("Energia Menu" -> "Tools" -> "Board"), when I press the button "Upload" there is an error.

    - I have the CCS project to run in microcontroller, I use to upload the project using CCS. Which code should I open with Energia in order to try to upload it?

    Regards

    Gilberto Loureiro

  • Energia was a bad example for your use case, please ignore.

    Regards,
    Ryan

**Attention** This is a public forum