Hi,
I am trying to run modified version of sample readwrite application on
DSP. I followed this link,
http://wiki.davincidsp.com/index.php/Writing_DSPLink_Application_using_PROC_read_and_write_APIs,
to create memory to transfer data to and from GPP/DSP. I copy and
pasted the same on the respective files. Also changed the address
while calling the PROC_write API as follows:
status = PROC_write(processorID, WRITEMEM,bufferSize,bufIn);
where,
WRITEMEM is defined as '0x8FC00000' as mentioned in the link above.
I tried to run the sample program but got the error as follows. My
code does not assigns the input address of
0x87f05000 to anything. It is just a dummy value given at input to
comply with input agruements syntax.
Can somebody, please point out my mistake. I am struggling on this for
more than a day. Your help will be highly appreciated.
root@beagleboard:/usr/share/ti-dsplink/cmd_compiled/RELEASE# ./
readwritegpp read
write.out 0x87f05000 1000 1
============= Sample Application : READWRITE ==========
Entered RDWR_Create ()
Leaving RDWR_Create ()
Entered RDWR_Execute ()
BufferSize must be greater than file size.
file is read into bufferheader i[ 137.174133] Assertion failed
((procState->dsp
State == ProcState_Started) || (procState->dspState ==
ProcState_Stopped) || (pr
ocState->dspState == ProcState_Idle)). File : /home/jars/
dsplink_1_61_03/dsplink
/gpp/src/../../gpp/src/ldrv/ldrv_proc.c Line : 575
s copiedEnd of pointer assign and start of proc_write
PROC_write Failed. Status: [0x80008013]
PROC_write Failed. Status: [0x80008013]
Verifying data and printing
Leaving RDWR_Execute ()
Execute phase failed. Status: [0x80008013]
Entered RDWR_Delete ()
PROC_stop () failed (output). Status: [0x8000801b]
Leaving RDWR_Delete ()