Hi
I am using BIOS6 and have this function in a HWI
Mailbox_post(SRIO_mailbox, &gDoorbellMsg, BIOS_WAIT_FOREVER);
where gDoorbellMsg is a global ( Uint32 gDoorbellMsg = 0xEDED;)
And in a task I have
Uint32 msg;
if (Mailbox_pend(SRIO_mailbox, &msg, BIOS_WAIT_FOREVER) == FALSE)
{
while(1); //??shouldn't get here.
}
--->>>> I set my breakpoint here. <<<<----
When the HWI occurs, I hit the breakpoint set just after Mailbox_pend as expected.
But the msg value does not equal what is expected (0xEDED).
According to the calling context in Texas Instruments\bios_6_21_00_13\docs\cdoc\index.html, I should be able to post in an HWI. True?
I've attached to .cfg settings. Any ideas what I am setting up wrong?
5543.Mailbox not returning value.doc
Cheers