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.

SW-TM4C: Why can't I see Hello World?

Part Number: SW-TM4C
Other Parts Discussed in Thread: TM4C129ENCZAD

Hello, I have created a new Project with CCSProject.
(The project name is Hello.)

I created the code below in hello.c.
#include <stdio.h>

int main(void){
printf("Hello World!\n");

return 0;
}

After building this project, I tried to load Hallo.out, but only the following was displayed on the console screen.
CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete

What do I need to do to display Hello World on the console screen?

  • Hello Kanematu-san,

    You need to open up a Terminal in CCS. It won't display in Console.

    When in Debug mode, you need to click on View and select "Terminal".

    Then you have to configure it for your COM port:

    Once you do that, you'll get the output:

    Best Regards,

    Ralph Jacobi

  • Hello, I tried opening it as you suggested, but it didn't show up.

    As a procedure, I set the data port or UART of XDS110 to Serial Port.
    It still doesn't show up in the terminal.

    What else should I change in this terminal setting?


    Also, please tell me what baud rate should be set at this time.
    I can't enter any command as it is now.

    (postscript)
    Does the attached debugger matter as well?

  • Hello Kanematu-san,

    Do you have any UART pins connected to your XDS110? On TI EVMs this is done naturally but if you are using an external XDS110 probe you'd need those connections included as part of the schematic.

    Best Regards,

    Ralph Jacobi

  • Hi, I found out why the port is not open.

    I have connected the external XDS110 (LAUNCH PAD) to the part corresponding to the JTAG pin of TM4C129ENCZAD.

    What should I do in this case?

    For the time being, the Debugger and IC are connected via JTAG, and the Debugger and PC are connected via USB.

  • Hello Kanematu-san,

    If you can connect UART RX/TX lines of the RXD/TXD pins for the LaunchPad XDS110 then you'd be able to leverage the terminal feature.

    Best Regards,

    Ralph Jacobi

  • Hello, you can't connect it in my current method.

    If you use LaUnchpad as a debugger, I think it is tough because the UART wiring is not connected anywhere.

    It seems to be possible if you prepare an external debugger and connect it to LaunchPad.