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.

Multiple static task, doesn't work

Other Parts Discussed in Thread: F28M35H52C

Hi there, I'm trying for a month to write code for the F28M35H52C, more or less. I run over and over again on problems. I use the CCS 6.0.0.00190 and RTOS 2.0.1.23.
My aim is that the program accept TCP connections from PC's and receives some commands via this connection. Exchange some data between the M3 and C28 via IPC and to broadcast the data via UDP to various PC and I want to use logging.

I started to include the TCP example into the IPC Demo Example from the TI Resource Explorer, but it dosen't work. So I start from scratch, with an empty Project and create a static Task which toggle the Board_LED0 and in an other static Task to print some text out. 

The LED0 Task works fine but the second Task will not run and if I enable Task_sleep() I get an memory overflow.0488.myTests.zip

I have no Idea why it doesn't work. Can someone help me with this problem?
I add the whole Project-File at the end.

Thanks Chris.

  • Hi Chris,

    I'm suspecting the printf() statement needs to allocate some heap and you might be running out. Can you try using System_printf() calls instead? You are using the "SysMin" system proxy so the print statements get stored in a memory buffer which can be flushed out via a System_flush() call or when you call BIOS_exit(). If you halt the target, you can also use ROV to view the buffer contents in the SysMin module.