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.

DM642 PCI example does not work.

Expert 1060 points

Dear experts.

I have a problem using PCI on DM642. The PCI example does not work.

Spectrum digital web( http://c6000.spectrumdigital.com/evmdm642/ ) support Valley Tech PCI Drivers.

I download the source( ZIP ) and compile with CCS3.1 or CCS3.3.

After fix some error (chip define, library and header path error), I get a .out binary (Dm642App.out).

With this binary I loaded on CCS and run the program. After that I executed Dm642App.exe on Host PC.

But After Host PC sends a data Dm642 couldn't get the data and pending.

When I debug, MyTasks.c->ProcessTask->GIO_read returns IOM_PENDING and blocked.

It seems isr() routine doesn't called properly.

Strange thing is when I execute with the default provided binary ( pci\Target\Bin\Dm642App.out), it works fine.

Only my compiled binary has a problem. 

The data size also different. The default binary is 107 Kbyte, My compiled bin is 169 Kbyte.

I suspect the DSP/BIOS or cgt version. so I compiled with other version but it didn't work.

I did not change the source code and just want to check the PCI operation with my compiled bin.

Please let me know how to make it.

Best Regards.

Jay.