Не подскажите как это можно отследить?
В ARM ядре я жду сообщение от DSP /* Receive the message */ status = MSGQ_get (gppMsgq, WAIT_FOREVER, (MSGQ_Msg *)&msg) ; if (DSP_FAILED (status)) { printf ("MSGQ_get () failed. Status = [0x%x]\n",(Uint16)status) ; }
Дожидаюсь посылаю обратно данные /*Send the same message received in earlier MSGQ_get () call */ status = MSGQ_put (dspMsgq, (MSGQ_Msg)msg);
Соответственно в DSP я посылаю сообщение msgqStatus = MSGQ_put(dstMsgQueue , (MSGQ_Msg)outputMsg); if (msgqStatus != SYS_OK) { SYS_abort("Failed to send a message to process function"); }
Сообщение отредактировал alexey123_45 - May 24 2017, 06:53
|