Project

General

Profile

Warning messages when running DSP Hello World

Added by François Tremblay over 12 years ago

Hi,

I was able to walk-through the DSP_Hello_World tutorial. The test applications seems to run well until arm application ends. There are assertion messages printed at the end. It happends only when the arm application uses the release version of dsplink.

root@mityomapl138:~# ./helloWorldDsp dsphelloworld.out 
Loading file dsphelloworld.out
Msgq <debug> open: 0x00008000
PROC Load successful
Starting application.
Msgq <GPPMSGQ1> open: 0x00008000
inbound:debug: Starting
inbound:GPPMSGQ1: Starting
ARM received a message from the DSP:
        DSP Message = "DSP Initialization finished (from linux host)." 
Sending a message to the DSP.
Waiting for DSP response (type 'q' to quit)...
ARM received a message from the DSP:
        DSP Message = "Hello Word. DSP Received Message = 'Hello DSP'" 
Exiting application.
Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj, SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File : drv_api.c Line : 501
Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj, SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File : drv_api.c Line : 501
inbound:GPPMSGQ1: Status = 0x80008002
inbound:GPPMSGQ1: Terminating
inbound:debug: Terminating
Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj, SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File : drv_api.c Line : 501
Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj, SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File : drv_api.c Line : 501

My questions are

1) Is someone else got the same issue?
2) Are theses assertion are dangerous or hide a potential problem?

Thanks

--François


Replies (3)

RE: Warning messages when running DSP Hello World - Added by Gregory Gluszek over 12 years ago

Hi François,

We've seen this issue before, but haven't been able to track it down yet. It seems to be benign, so I would not worry about it for now. I'll be sure to post any updates here if we find anything else out.

\Greg

RE: Warning messages when running DSP Hello World - Added by Nick Arango over 11 years ago

I'm getting the same thing

PROC Load successful
Starting application.
ARM received a message from the DSP:
    DSP Message = "DSP Initialization finished." 
Sending a message to the DSP.
Waiting for DSP response (type 'q' to quit)...
ARM received a message from the DSP:
    DSP Message = "Hello Word. DSP Received Message = 'Hello DSP'" 
Exiting application.
Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj, SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File : drv_api.c Line : 501
Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj, SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File : drv_api.c Line : 501
inbound:GPPMSGQ1: Status = 0x80008002
inbound:GPPMSGQ1: Terminating
inbound:debug: Terminating
Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj, SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File : drv_api.c Line : 501
Assertion failed (((drvObj != NULL) && (IS_OBJECT_VALID (drvObj, SIGN_DRV))) || ((drvObj == NULL) && (cmdId == CMD_PROC_ATTACH))). File : drv_api.c Line : 501

Has there been any update on this issue? I'm running the kernal and rfs from MKD_2013-5-15

RE: Warning messages when running DSP Hello World - Added by Jonathan Cormier over 11 years ago

Nick and François,

I've just updated the wiki page with a new arm_main.cpp and cleaned up some of the instructions. The error messages have been hidden for now by removing the delete statements. We are planning on working towards tracking the ASSERTS down.

-Jonathan Cormier

    (1-3/3)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)