Hello,
Can anyone please guide me or give me some pointers to how to go about
implementing PCI DSP firmware and Linux driver for TMS320C6412?
Code snippets are fine.
Thanks in-advance,
-Y
_____________________________________
PCI DSP firmware and Linux driver for TMS320C6412
Started by ●September 1, 2010
Reply by ●September 2, 20102010-09-02
Hello
I am trying to use a TMS320C6424 DSP without external memory. I investigated the memory map and I found out that:
- the L1P ram is located at address: 0x00E0 8000 and also on address: 0x10E0 8000
- the L1D ram is located at address: 0x00F0 4000 and also on address: 0x10F0 4000
- the L2 ram is located at address: 0x0080 0000 and also on address: 0x1080 0000
Are they mirrored? are they the same memory ? why is located on different address?
If I want to upload a program into L2 which address should I use:? 0x0080 0000 or 0x1080 0000?
I see that the evm6424 linker.cmd file use the address: 0x1080 0000 for L2 ram.
Best Regards
Robert
I am trying to use a TMS320C6424 DSP without external memory. I investigated the memory map and I found out that:
- the L1P ram is located at address: 0x00E0 8000 and also on address: 0x10E0 8000
- the L1D ram is located at address: 0x00F0 4000 and also on address: 0x10F0 4000
- the L2 ram is located at address: 0x0080 0000 and also on address: 0x1080 0000
Are they mirrored? are they the same memory ? why is located on different address?
If I want to upload a program into L2 which address should I use:? 0x0080 0000 or 0x1080 0000?
I see that the evm6424 linker.cmd file use the address: 0x1080 0000 for L2 ram.
Best Regards
Robert
Reply by ●September 2, 20102010-09-02
Hello Robert,
On 9/2/2010 6:54 AM, Kemenes Robert wrote:
>
> Hello
> I am trying to use a TMS320C6424 DSP without external memory. I
> investigated the memory map and I found out that:
> - the L1P ram is located at address: 0x00E0 8000 and also on address:
> 0x10E0 8000
> - the L1D ram is located at address: 0x00F0 4000 and also on address:
> 0x10F0 4000
> - the L2 ram is located at address: 0x0080 0000 and also on address:
> 0x1080 0000
>
> Are they mirrored? are they the same memory ? why is located on
> different address?
>
The memory spaces are probably mirrored. If they were not, TI would
claim double the memory space on the datasheet. Most C6000 devices have
mirrored internal memory, but it is not indicated on the datasheet. I
have no idea why TI spec'd 2 memory spaces [note that only one of them
is accessible from EDMA and PCI - I would suspect that this would be the
preferred address]. You can verify that the memory spaces are the same
by displaying two memory windows side by side with the 'suspected
mirrored addresses' in each window. Write a pattern into one window and
refresh the other to see if it appears.
mikedunn
> If I want to upload a program into L2 which address should I use:?
> 0x0080 0000 or 0x1080 0000?
>
> I see that the evm6424 linker.cmd file use the address: 0x1080 0000
> for L2 ram.
>
> Best Regards
> Robert
On 9/2/2010 6:54 AM, Kemenes Robert wrote:
>
> Hello
> I am trying to use a TMS320C6424 DSP without external memory. I
> investigated the memory map and I found out that:
> - the L1P ram is located at address: 0x00E0 8000 and also on address:
> 0x10E0 8000
> - the L1D ram is located at address: 0x00F0 4000 and also on address:
> 0x10F0 4000
> - the L2 ram is located at address: 0x0080 0000 and also on address:
> 0x1080 0000
>
> Are they mirrored? are they the same memory ? why is located on
> different address?
>
The memory spaces are probably mirrored. If they were not, TI would
claim double the memory space on the datasheet. Most C6000 devices have
mirrored internal memory, but it is not indicated on the datasheet. I
have no idea why TI spec'd 2 memory spaces [note that only one of them
is accessible from EDMA and PCI - I would suspect that this would be the
preferred address]. You can verify that the memory spaces are the same
by displaying two memory windows side by side with the 'suspected
mirrored addresses' in each window. Write a pattern into one window and
refresh the other to see if it appears.
mikedunn
> If I want to upload a program into L2 which address should I use:?
> 0x0080 0000 or 0x1080 0000?
>
> I see that the evm6424 linker.cmd file use the address: 0x1080 0000
> for L2 ram.
>
> Best Regards
> Robert
Reply by ●September 6, 20102010-09-06
Hi to all.
Is the genAIS tool same for all C6000 family?
I have one genAIS.pl with the folowing content in the header:
###############################################################################################
# Copyright 2004, All Rights Reserved, Texas Instruments Incorporated
#
# genAIS.pl
#
# Generates AIS command sctream for bootloading DM64xLC.
#
# 2005-04-01 v1.00
Can I use this to generate AIS file for TMS320c6424 ?
Is there a different genAIS for the TMS320cC6424?
Regards
Robert
Is the genAIS tool same for all C6000 family?
I have one genAIS.pl with the folowing content in the header:
###############################################################################################
# Copyright 2004, All Rights Reserved, Texas Instruments Incorporated
#
# genAIS.pl
#
# Generates AIS command sctream for bootloading DM64xLC.
#
# 2005-04-01 v1.00
Can I use this to generate AIS file for TMS320c6424 ?
Is there a different genAIS for the TMS320cC6424?
Regards
Robert