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.

Heap problem of Demo example

Hi Everyone,

I am currently learning the demo project example of TIRTOS. I am using concerto board (F28M35H52C1). I can sucessfully built the project and ran it. Now, I would like to add another IPC variable for the two processors. In "demo.h" file, I added another variable called "currentsensor" into the structure "TempMsg" as shown below. This change was made in "demo.h" in both M3 code and C28x code. I can sucessfully built the code. However, when I tried to run the M3 core, the program was paused and I got heap problems in Console as shown in the figure below. I tried several things, such as increased the SYS/BIOS heap size or increased the variable "numBlock" from 2 to10, but the problem was still there. Can anyone help for this problem ?

Many Thanks,

Bin

typedef struct TempMsg {
    MessageQ_MsgHeader hdr;
    Float temperatureF;
    Float temperatureC;
    Float currentsensor;
} TempMsg;