DSPRelated.com
Forums

c6415 booting from PCI interface

Started by Steve Sharp August 9, 2002
Hi,

I currently have a c5402 booting via serial (code & data loaded from the
serial port), however i have now moved to the c6415 and am looking to boot
the processor via a pci interface. Does anyone have any information on the
best process to achieve this ?

Thanks in advance.

Regards.
--
Steve.





Steve Sharp wrote:

> Hi,
>
> I currently have a c5402 booting via serial (code & data loaded from the
> serial port), however i have now moved to the c6415 and am looking to boot
> the processor via a pci interface. Does anyone have any information on the
> best process to achieve this ?
>
> Thanks in advance.
>
> Regards.
> --
> Steve.
>

I co-worker of mine recently did this with a VTI-1420 board (c6416).

It was quite simple:

(Assuming that the PCI BARs are configured by a host operating system, we used
linux)
Do a warm reset (set bit 0 in register HDCR in BAR1). You must wait at least 16
DSP clock cycles before
accessing the DSP again.

Write code to the memory (BAR0). We converted the .out file to srecords with the
TI tools and had a simple srecord parser
to download. The window to the DSP memory is 4MB and starts at 0x00000000 after
reset. If you want to download code to external
RAM you have to move the window (there is a register in BAR1 for that)

Do a DSPINT (set bit 1 in register HDCR) /Regards, P Ligander