Project

General

Profile

DSP Hello World error message

Added by Nick Arango over 11 years ago

When (in the DSP Hello World) the arm calls ldDspApp0>StopApp(), I receive an error message (at the bottom of this post)
I have seen several other unresolved issues of the same sort of on this forum. Has there been anything done to address this?

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


Replies (6)

RE: DSP Hello World error message - Added by Michael Williamson over 11 years ago

Sorry for the delay.

I have seen these messages before, but we have several applications that do not exhibit this issue on teardown. I suspect that the example application needs some attention. Are you rebuilding the examples are using ones downloaded from the wiki page (which are quite old)?

-Mike

RE: DSP Hello World error message - Added by Steven Hill over 11 years ago

Hi:

I'm getting the same assertions. I re-flashed the kernel and the file system on the board with the latest images from the MDK_2013-05-15 BSP (Kernel version 3.2.0), and the files that I used to build the example also came from that package. There is at least one error in both of the files that are used, in that the SendMessage routines for both the DSP and the ARM have only one parameter instead of two. This causes an amazing number of build errors and can be quite confusing...

RE: DSP Hello World error message - Added by Jonathan Cormier over 11 years ago

Steven,

I just followed the DSP_Hello_World tutorial and didn't have the same build errors you did. It should be noted though that the example files in the latest MDK were not updated and would exhibit these errors you mentioned. If you use the example files from the wiki, you shouldn't have any problems.

-Jonathan

RE: DSP Hello World error message - Added by Jonathan Cormier over 11 years ago

[Edit] Woops I quoted myself instead of edited.

RE: DSP Hello World error message - Added by Jonathan Cormier over 11 years ago

Nick,

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

RE: DSP Hello World error message - Added by Nick Arango over 11 years ago

Thanks for your help

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