DSPRelated.com
Forums

Regading Slave booting in 6202

Started by charan March 6, 2002
Hi,

We have designed a TMS320C6202 based system. The system consists of two
6202's connected in Master - Slave mode through Expansion bus(Master boot
mode lines configured as 10101 and slave configured as 00111) .

The Master DSP X-bus is in Asynchronous I/O port mode and Slave is in
Asynchronous Host port mode.

We are able to write/read data to/from data memory of the slave from Master
DSP. But while accessing Program memory we are able to read from the slave
but not able to write to it. This is creating an issue in booting the slave
DSP.

Please reply us if anybody has worked regarding this issue.

Regards

charan

----
----------
Gurucharan
Accord Software and Systems Pvt. Ltd.
# 37,Krishna Reddy Colony,
Domlur Layout,
Bangalore-560071

Phone : +91-80-5350105/136/138/454/484/490 Extn : 318
Fax : +91-80-5352723
URL : http://www.accord-soft.com

mailto:

----
----------



Hi charan,

we are doing a similar thing with an MPC860<-->6203 X-bus interface, with
the 860 loading the program into the 6203. The 6x only allows write to prog
mem thru DMA, so we first have to copy the program code into data mem, and
then DMA it into prog mem. It seems to work fine for us.

Hope this helps....

G
>From: "charan" <>
>To: <>
>Subject: [c6x] Regading Slave booting in 6202
>Date: Wed, 6 Mar 2002 17:18:16 +0530
>MIME-Version: 1.0
>Received: from [216.115.96.61] by hotmail.com (3.2) with ESMTP id
>MHotMailBE4FF541007440043251D873603DB1D8320; Wed, 06 Mar 2002 15:59:34
>-0800
>Received: from [216.115.97.187] by n11.groups.yahoo.com with NNFMP; 06 Mar
>2002 23:46:36 -0000
>Received: (qmail 56303 invoked from network); 6 Mar 2002 12:48:20 -0000
>Received: from unknown (216.115.97.172) by m6.grp.snv.yahoo.com with QMQP;
>6 Mar 2002 12:48:20 -0000
>Received: from unknown (HELO n21.groups.yahoo.com) (216.115.96.71) by
>mta2.grp.snv.yahoo.com with SMTP; 6 Mar 2002 12:48:20 -0000
>Received: from [216.115.96.146] by n21.groups.yahoo.com with NNFMP; 06 Mar
>2002 12:31:42 -0000
>Received: (EGP: unknown); 6 Mar 2002 11:53:10 -0000
>Received: (qmail 58848 invoked from network); 6 Mar 2002 11:53:10 -0000
>Received: from unknown (216.115.97.167) by m10.grp.snv.yahoo.com with
>QMQP; 6 Mar 2002 11:53:10 -0000
>Received: from unknown (HELO accord-soft.com) (164.164.69.252) by
>mta1.grp.snv.yahoo.com with SMTP; 6 Mar 2002 11:53:06 -0000
>Received: from charan (Gurucharan [192.168.1.122])by accord-soft.com
>(8.9.3/8.9.3) with SMTP id RAA21787;Wed, 6 Mar 2002 17:17:17 +0530
>From sentto-1072842-624-1015458395-graham_fletcher Wed, 06 Mar 2002
>16:01:29 -0800
>X-eGroups-Return:
>.\
com
>X-eGroups-Return:
>X-eGroups-Approved-By: s_boucheryah <> via web; 06
>Mar 2002 12:48:19 -0000
>X-Sender:
>X-Apparently-To:
>Message-ID: <>
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
>Importance: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
>X-eGroups-Edited-By:
>Mailing-List: list ; contact
>Delivered-To: mailing list
>Precedence: bulk
>List-Unsubscribe: <mailto:>
>
>Hi,
>
>We have designed a TMS320C6202 based system. The system consists of two
>6202's connected in Master - Slave mode through Expansion bus(Master boot
>mode lines configured as 10101 and slave configured as 00111) .
>
>The Master DSP X-bus is in Asynchronous I/O port mode and Slave is in
>Asynchronous Host port mode.
>
>We are able to write/read data to/from data memory of the slave from Master
>DSP. But while accessing Program memory we are able to read from the slave
>but not able to write to it. This is creating an issue in booting the slave
>DSP.
>
>Please reply us if anybody has worked regarding this issue.
>
>Regards
>
>charan
>
>----
>----------
> Gurucharan
> Accord Software and Systems Pvt. Ltd.
> # 37,Krishna Reddy Colony,
> Domlur Layout,
> Bangalore-560071
>
> Phone : +91-80-5350105/136/138/454/484/490 Extn : 318
> Fax : +91-80-5352723
> URL : http://www.accord-soft.com
>
> mailto:
>
>----
>---------- >
>_____________________________________
>Note: If you do a simple "reply" with your email client, only the author of
>this message will receive your answer. You need to do a "reply all" if you
>want your answer to be distributed to the entire group.
>
>_____________________________________
>About this discussion group:
>
>To Join: Send an email to
>
>To Post: Send an email to
>
>To Leave: Send an email to
>
>Archives: http://www.yahoogroups.com/group/c6x
>
>Other Groups: http://www.dsprelated.com >">http://docs.yahoo.com/info/terms/


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.



Graham-

>we are doing a similar thing with an MPC860<-->6203 X-bus interface, with
>the 860 loading the program into the 6203. The 6x only allows write to prog
>mem thru DMA, so we first have to copy the program code into data mem, and
>then DMA it into prog mem. It seems to work fine for us.

That's incorrect. Through C6202/3 X-Bus, we use host master mode to download
program memory. X-Bus logic on the DSP side uses DMA for all modes (async or
sync) so there is no problem to read/write either prog or data memory.

The hard limitation is that the C6202/3 itself cannot write its own program
memory with STW or other instructions -- it must use DMA for that.

Jeff Brower
DSP sw/hw engineer
Signalogic >>We have designed a TMS320C6202 based system. The system consists of two
>>6202's connected in Master - Slave mode through Expansion bus(Master boot
>>mode lines configured as 10101 and slave configured as 00111) .
>>
>>The Master DSP X-bus is in Asynchronous I/O port mode and Slave is in
>>Asynchronous Host port mode.
>>
>>We are able to write/read data to/from data memory of the slave from Master
>>DSP. But while accessing Program memory we are able to read from the slave
>>but not able to write to it. This is creating an issue in booting the slave
>>DSP.
>>
>>Please reply us if anybody has worked regarding this issue.
>>
>>Regards
>>
>>charan
>>
>>----
>>----------
>> Gurucharan
>> Accord Software and Systems Pvt. Ltd.
>> # 37,Krishna Reddy Colony,
>> Domlur Layout,
>> Bangalore-560071
>>
>> Phone : +91-80-5350105/136/138/454/484/490 Extn : 318
>> Fax : +91-80-5352723
>> URL : http://www.accord-soft.com
>>
>> mailto:
>>
>>----




Hi all,

Sorry, my mistake. We're not using the X-bus for booting at all. We
have some DPRAM mapped into DSP CE1, and using the ROM boot process
to load 64k in. This then executes which handles handshaking of the
main code & data load process - it's this process which cannot write
directly into prog mem (as Jeff says, STW or similar cannot be used
to write prog mem), so we must place chunks into data mem & DMA into
prog mem.

Sorry for any confusion caused.

G

--- In c6x@y..., Jeff Brower <jbrower@s...> wrote:
> Graham-
>
> >we are doing a similar thing with an MPC860<-->6203 X-bus
interface, with
> >the 860 loading the program into the 6203. The 6x only allows
write to prog
> >mem thru DMA, so we first have to copy the program code into data
mem, and
> >then DMA it into prog mem. It seems to work fine for us.
>
> That's incorrect. Through C6202/3 X-Bus, we use host master mode
to download
> program memory. X-Bus logic on the DSP side uses DMA for all modes
(async or
> sync) so there is no problem to read/write either prog or data
memory.
>
> The hard limitation is that the C6202/3 itself cannot write its own
program
> memory with STW or other instructions -- it must use DMA for that.
>
> Jeff Brower
> DSP sw/hw engineer
> Signalogic > >>We have designed a TMS320C6202 based system. The system consists
of two
> >>6202's connected in Master - Slave mode through Expansion bus
(Master boot
> >>mode lines configured as 10101 and slave configured as 00111) .
> >>
> >>The Master DSP X-bus is in Asynchronous I/O port mode and Slave
is in
> >>Asynchronous Host port mode.
> >>
> >>We are able to write/read data to/from data memory of the slave
from Master
> >>DSP. But while accessing Program memory we are able to read from
the slave
> >>but not able to write to it. This is creating an issue in booting
the slave
> >>DSP.
> >>
> >>Please reply us if anybody has worked regarding this issue.
> >>
> >>Regards
> >>
> >>charan
> >>
> >>------------------------------
----------
> >>----------
> >> Gurucharan
> >> Accord Software and Systems Pvt. Ltd.
> >> # 37,Krishna Reddy Colony,
> >> Domlur Layout,
> >> Bangalore-560071
> >>
> >> Phone : +91-80-5350105/136/138/454/484/490 Extn : 318
> >> Fax : +91-80-5352723
> >> URL : http://www.accord-soft.com
> >>
> >> mailto:charan@a...
> >>
> >>------------------------------
----------



Graham-

Thanks for clarification. Sounds like you have it working though, so that's the

main thing!

Jeff Brower
DSP sw/hw engineer
Signalogic On Fri, 08 Mar 2002, "graham_fletcher" <> wrote:
>Hi all,
>
>Sorry, my mistake. We're not using the X-bus for booting at all. We
>have some DPRAM mapped into DSP CE1, and using the ROM boot process
>to load 64k in. This then executes which handles handshaking of the
>main code & data load process - it's this process which cannot write
>directly into prog mem (as Jeff says, STW or similar cannot be used
>to write prog mem), so we must place chunks into data mem & DMA into
>prog mem.
>
>Sorry for any confusion caused.
>
>G
>
>--- In c6x@y..., Jeff Brower <jbrower@s...> wrote:
>> Graham-
>>
>> >we are doing a similar thing with an MPC860<-->6203 X-bus
>interface, with
>> >the 860 loading the program into the 6203. The 6x only allows
>write to prog
>> >mem thru DMA, so we first have to copy the program code into data
>mem, and
>> >then DMA it into prog mem. It seems to work fine for us.
>>
>> That's incorrect. Through C6202/3 X-Bus, we use host master mode
>to download
>> program memory. X-Bus logic on the DSP side uses DMA for all modes
>(async or
>> sync) so there is no problem to read/write either prog or data
>memory.
>>
>> The hard limitation is that the C6202/3 itself cannot write its own
>program
>> memory with STW or other instructions -- it must use DMA for that.
>>
>> Jeff Brower
>> DSP sw/hw engineer
>> Signalogic
>>
>>
>> >>We have designed a TMS320C6202 based system. The system consists
>of two
>> >>6202's connected in Master - Slave mode through Expansion bus
>(Master boot
>> >>mode lines configured as 10101 and slave configured as 00111) .
>> >>
>> >>The Master DSP X-bus is in Asynchronous I/O port mode and Slave
>is in
>> >>Asynchronous Host port mode.
>> >>
>> >>We are able to write/read data to/from data memory of the slave
>from Master
>> >>DSP. But while accessing Program memory we are able to read from
>the slave
>> >>but not able to write to it. This is creating an issue in booting
>the slave
>> >>DSP.
>> >>
>> >>Please reply us if anybody has worked regarding this issue.
>> >>
>> >>Regards
>> >>
>> >>charan
>> >>
>> >>------------------------------
>----------
>> >>----------
>> >> Gurucharan
>> >> Accord Software and Systems Pvt. Ltd.
>> >> # 37,Krishna Reddy Colony,
>> >> Domlur Layout,
>> >> Bangalore-560071
>> >>
>> >> Phone : +91-80-5350105/136/138/454/484/490 Extn : 318
>> >> Fax : +91-80-5352723
>> >> URL : http://www.accord-soft.com
>> >>
>> >> mailto:charan@a...
>> >>
>> >>------------------------------