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.

"Hello example" CCS's GNU sample program

Other Parts Discussed in Thread: TM4C1294KCPDT

Hi,Everyone

I need your help.
I use "Hello example" CCS's GNU sample program on Tiva TM4C1294KCPDT with EK-TM4C1294EXL.

I execute System_printf() and BIOS_exit(0).
But I colud not see "hello world" on Console.

Why I can not see this?
and Can you tell me how to use System_printf() with GNU Compiler ?

I use CCSv6.0.1.00040 and TI RTOS for Tiva v2.10.01.38 on Windows

Best Regards
Hiroyasu

  • Hi Hiroyasu,

    When using the GNU compiler to build TI-RTOS apps, you need to enable semi-hosting in order to see the CIO output on the console. Please refer this link for instructions on how to enable semi-hosting -> http://processors.wiki.ti.com/index.php/SYS/BIOS_with_GCC_%28CortexM%29#How_do_I_enable_Semi-Hosting_for_Cortex-M_GNU_targets_.3F

    Please note that if you plan to run the application in a stand-alone environment (i.e. without a debugger) then you will need to disable semi-hosting again. Please see this wiki page for more info on this -> http://processors.wiki.ti.com/index.php/TI-RTOS_Examples_SemiHosting

    Hope this helps.

    Best,
    Ashish
  • Hi,Ashish

    I can see "hello World" on console when semi-hosting enable.
    Thank you

    Best Regards
    Hiroyasu