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/DK-TM4C129X: dk-tm4c129x use RTOS and Touch

Part Number: DK-TM4C129X

Tool/software: TI-RTOS

Hi.

First of all, I would like you to read it considering my lack of English ability.

Use DK-TM4C129X. 

I know that tirtos_tivac does not support grlib.(not example code)

so make project first _tivac_2_16_01_14 and porting TivaWare_C_Series-2.0.1.11577.

display grahpic It works well.

but Touch not work.

So i think two way

1. Code size problem

 my out file 3mb, and ccs advice tap:not all available code size is being used

2. Rtos and callback problem

 TouchScreenCallbackSet(WidgetPointerMessage); 

 The program dies here.

 The location here is main. and not call task.

i know why die my program.

please help!

thank you.

  • Hi Youbin,
    Your TivaWare version seems old. Have you tried to run the latest TivaWare version 2.1.4.178 graphic library in a non TI-RTOS environment? I will suggest you do so first to make sure everything works including both the display and touch features before moving to the TI-RTOS environment.

    Also if your code size is 3MB then it is too big and it won't fit into the MCU's 1MB flash. You need to find out what is in the code that takes up that much space. Please use the .map file to investigate the spaces taken up by different code sections and functions.
  • Thank you, your reply

    It works fine without no Tios,  only tivaWare_C_Series-2.0.1.11577 grlib(touch & display).

    i will try that TivaWare version 2.1.4.178 graphic library.

    thank you.

    I have two question.

    ccs->view->resource explore->TI-RTOS for TivaC->Tiva TM4C129XNCZAD->...->UART Echo example project make and build

    it's output file 2.2MB.

    it's also ccs advice tap:not all available code size is being used.

    but it works fine.

    you advice MCU's 1MB flash. code size too big.

    1. why do it worsk fine?

    2. i need external flash memory?

    I look forward to your reply.

    thank you

  • lee youbin said:

    I have two question.

    ccs->view->resource explore->TI-RTOS for TivaC->Tiva TM4C129XNCZAD->...->UART Echo example project make and build

    it's output file 2.2MB.

    it's also ccs advice tap:not all available code size is being used.

    but it works fine.

    you advice MCU's 1MB flash. code size too big.

    1. why do it worsk fine?

    I think you are talking about the .out file which includes the debug symbols in it. At first I though you were you were talking about the .bin file which is the program image of you code that is 3MB. Sorry, my misunderstanding. The debug symbols in the .out file is used by the debugger to facilitate debugging. 

    lee youbin said:
    2. i need external flash memory?

    Are you looking for serial flash memories? You can use the onchip SSI module to interface with the SPI based flash memories.