Hello,

 

My answers inline.

 

Regards

Deepali

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of kashin Lin
Sent: Sunday, March 02, 2008 4:31 PM
To: [email protected]
Subject: DSPLink samples failure

 

Hi,

i try the DSPLink sample in Davinci evm6446 with Linux 2.6.23.

take the "loop" sample as example:
i use following command to run the "loop" sample
   root@(none):~/DSPLink/GPP_Side# ./loopgpp ../DSP_Side/loop.out 128 2

i found there are some failure in the ouput message:
   Failure: Status:[0x80008002] File:[0x202] Line:[202]
   Leaving MSGQ_transportClose () status [0x80008002]
   Entered POOL_close ()
   poolId [0x0]

   Failure: Status:[0x80008000] File:[0x203] Line:[194]
   Leaving POOL_close () status [0x80008000]
   Entered POOL_close ()
   poolId [0x1]
... (more than these two)
 
(the whole output messages are in the attached file)



what's the cause of this? how can i fix it?



[Deepali]: While looking at the attached log, the loop sample has run
correctly. The failure prints that you see are coming from DSPLink
atexit handler. DSPLink registers an atexit handler to do system cleanup
incase the application writers have not done it correctly. This ensures
the system is stable for the next run. These failures can be ignored as
they indicate that the calls have been made successfully earlier.


another question is:
how can i know the sample is running correctly or not?
those ouput seems to be debug message without showing the program
procedure, ex: "load DSP executable file", "start trasfer data",
"trasfer success"...



[Deepali]: The debug trace is feature we provide to help debugging by
providing function enter/exit trace prints with different print levels
which can be tuned as per application debugger needs. Please disable the
TRACE i.e. Press 0 for NO while running dsplinkcfg script to configure
DSPLink. When you rebuild DSPLink and run the loop sample, you will get
a print sequence as below on a successful run.

 

./loopgpp loop.out 1024 100

=============== Sample Application : LOOP ==========

Entered LOOP_Create ()

Leaving LOOP_Create ()

Entered LOOP_Execute ()

Leaving LOOP_Execute ()

Entered LOOP_Delete ()

Leaving LOOP_Delete ()

 

thanks in advance!

best,
kashin lin  



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to