This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

communication between PC and DSP (DSPC-8681E)

Other Parts Discussed in Thread: TMS320C6678

Hi all,

I'm using DSPC-8681E (which integrates four TMS320C6678 multi-core DSPs:DSP0~3) but I encountered some problems when I'm trying to communicate between PC and DSP (DSPC-8681E_UserGuide_Win.pdf (v0.7.6) sec.5.4.
http://support.advantech.com.tw/Support/SearchResult.aspx?keyword=DSPC-8681&searchtabs=BIOS,Certificate,Datasheet,Driver,Firmware,Manual,Online%20Training,Specification,Utility,FAQ,Installation,Software%20API,Software%20API%20Manual&select_tab=Manual )

When I run ipc.bat and choose DSP #0 to load, everything works fine and I can get the same "PCIe Hello World Example, this is DSP0" reuslt as shown in the pdf.
However, if I choose DSP#1~3 to load, the results looks correct at first but ends up with errors.

The first few lines are like this:
Enter DSP ID [0~3]:3
3
Load DSP image:..\..\ipc\dsp\evmc6678l\bin\DSPC8681E\demo_evm6678l.out to 3:0, start address 0x00840000
Load DSP image OK
DDR of DSP is initialized, ready to write dummy data to DSP
dummy dummy_buffer before DSP operation:
............

But in the end it shows:
failed to wait for interrupt. Error: ERROR_TIMEOUT

I've tried to load in another .out file and run the batch file again. However the results are the same: DSP#0 works but DSP#1~3 don't.

Maybe there's something wrong with my DSP #1~3?
However, I'm able to run dsp loader and load the program into DSP memory (i.e. I'm able to query DSP information, download DSP Program Image, DSP memory read & write, Download DSP binary file, save DSP memory as a binary file) with DSP#1~3. So it seems DSP#1~3 actually work fine.

Does anyone have any idea about it? Any advice would be appreciated. Thanks.

(Btw, I'm trying to have my PC communicate with DSP directly because I've also got some problems when using ethernet too... I've posted my problems here if any of you would like to take a look:
http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/313424.aspx
Thanks again.)

  • I am using DSPC-8682,and I also find this problem.I develop a software to debug 8682 on CCSv5 with PCI,I can buid project,download code,run,step,set breakpoint,read and write memory and register on DSPC-8682 board.Because 8682's driver  isn't in line with my request,I write 8682's windows driver according its linux driver.And I find the same problem,I can read and write L2,chip config space,chip corepac space,msmcsram.But I can't read and write DDR.And the DMA with reading and writing DDR is completed,but the data is zero.So my problem is not "time out",this is differet with you.

    Regards

    Summer

  • I am not sure if you only run cores 1-3 (no core 0) or not. Core 0 set IPCGR to trigger other cores (1-3) to run, you must run core 0 always.

    Regards, Eric

  • Hi 

    Thanks for the reply. I did run core 0 first and then run core 1-3. However it turned out that only core 0 works...