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.

SYS/BIOS Message Queue

Hi,

I am trying to use SYS/BIOS Message Queues. I created two tasks in which Task2 will be creating a message Queue , waits on MessageQ_get. Task1 will allocate a message of size 40 bytes (MessageQ_MsgHeader, a pointer and an integer) and sends the same onto the message Queue. Task2 will receive the message which is sent by Task1

This application is running successfully on Simulator i.e. Task2 is able to receive the message sent by Task1 (both the pointer variable and the integer). But when i try to execute in EVM6670i, i am receiving some junk values. When i try to do getMsgsize i am getting only 28 bytes. Whereas the sent message size is 40 bytes.

Is there any difference while running messageQ application in simulator and EVM6670i?

Best Regards

Usha P

  • Usha,

    One thought is that maybe the memory used for message passing is not properly initialized in the EVM case.  And this is not an issue when run on the simulator, because all memory is initialized in that case?  This is just a first idea.

    Are you able to run other programs on the EVM without issue?  

    Are you using GEL files to setup the board?  

    And have you tried running some of the standard IPC examples on the board to see if they run without issue?

    Scott