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.

porting dsp/bios link to powerpc

Hello,

 

I have to port the dsp/bioslink software to the powerpc platform. Therefore I downloaded dsplink_sla_1_61_03.tar.gz and hoped to understand the instructions from the porting guide. Well, I don't ;)

To me it seems that the porting guide just barely scratches the surface. For example, our project uses SPI to access memory between C6747 and a PowerPC. This is not mentioned in the porting guide.

Apart from the few examples, I see no generic documentation.

Is there some step-by-step guide, at least for one of the examples?

 

cu

Markus

  • Markus,

    Can you use the latest DSPLink release 1.65.00.03? There are bug fixes and issues in the new release.

    Which OS is running on Power PC?

    Does SPI provide memory mapped access to the host processor into the memory of the C6747?  While this is similar to shared memory, it is not efficient to transfer large data buffers using byte-by-byte write into the remote memory locations. Can DMA be used to to keep the data between the two cores synchronized?

    Can you give me some more information of your architecture? This will enable me to support you.

    Deepali

     

  • Hello Deepali,

    thanks for your Answer -and your questions.

     

    I'll try and fetch 1.65.00.03. If I can use it together with DSP/BIOS 5.xx I don't see why I shouldn't be able to use it.

     

    Linux 2.6.36 is currently running on the Power PC (CMEM doesn't compile on this platform, btw. dmac_clean_range is arm specific, for example).

    I'm sorry, I can't answer the rest of your questions. I'll ask a colleague of mine who knows much more about the architecture. But I think we can use DMA...

  • Hello Deepali,

     

    according to my colleague, we can surely use DMA transfer from PowerPC to the C6747. The other way should be possible as well.

     

    TIA

    Markus

  • Hello Deepali,

     

    I was hoping for an answer.... Do you need more information? What further data do you need?

     

    cu

    Markus

  • Markus

    In the Linux product for DSPLink, we support communication of PC with DM6437 and DM64LC using a DMA interface.

    For PCI based comunication, we use a concept called SYNC POOL which keeps the DSPLink data and structures consistent with the other core using DMA. The code supports two different ways for PCI based data transfer

    1) Synchronized POOL using target DMA

    2) Memory copy between host and  target where the PCI registers are used to set the window of shared memory between the two cores.

    You can look at DSPLink code for reference. Specifically the files at $DSPLINK\gpp\src\arch\DM6437\pci This file has code for DMA read and writes dm6437_hal_pci_dma.c.

    This code can also be updated for host DMA.

    Please let me know your further questions.

    Deepali

  • Thank you, Deepali. I'll have a look at it and see how far I can get :)

     

    cu

    Markus