Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).
Hi to all,
I have a problem described below: -
I have a customized DSP Target board, that consists TMS320C6211 DSK processor, No memory chip
(FlashPROM, SDRAM etc.) available memory location is only the Internal memory of the processor
that starts from 0x00000000 to 0x0000FFFF and all on chip. There is a Decoder on the board that
is connected to the Chip Select CE2 directly with the processor.
The configuration of the Decoder is as follows: -
Selection Lines: EA21, EA20, EA19
Chip Select logic with EA18 must be enabled to select an output.
I have giving power supply to the Processor, and written the program as follows to generate
the Chip Selec at the chip selec output pin of the Processor, this program is working well on
the Standard Target Board provided by Texas Instrument i.e. DSP Kit.
/* Program to toggle the chip select */
#define CHIP_6211 1
#include "std.h"
#include "c6211dsk.h"
#include <csl.h>
void main()
{
/* Initializing the DSP Processor */
/* Cleared all the global interrupt register, IER etc, Not included here */
*(unsigned volatile int *)0x018000010 = 0x2;
*(unsigned volatile int *)0xA00000000 = 0x00000000;
}
But I am not getting any chip select out from the DSP processor.
I am not using any Flash memory at the Chip Selec 1, and also I am making the DSP processor
on HPI mode through HD3 HD4 pins making low. I also made the DSP Processor on the Little Endian
Mode by putting the HD-8th number pin on Ground.
I am not getting any Data out put on any Data Pin and No Chip Selec. Please help me to solve
out this problem. Is there any configuration in Memory map. Or if I have to initialize my
Configuration with GEL file. My PC Gets Hangs if I Initialize my Target with Any GEL File, like
6211_6711DSKL.gel
I have to put my Compiler(Build options) on BIG ENDIAN, and I am using the Big Endian
Libraries: - rts6200e.lib, csl6211e.lib.
(I am not using the BIOS File, if I use it then in Global Settings I have to make it Big
Endian), But I am sure My target is in Little Endian Mode, I have checked it through a
program.
Please Help me to get the trace of the signals on this customized board.
if any change in the program, then Please suggest.
Regards
Thankyou very much Jeff.
I will try your suggesion in Laboratory today. I am also working out for GEL file, I m using
the Version2.0 of CCS, as it was given in Texas Instruments CD (Comes with product), should I
use any other CCS?
please give me one more suggestion, as I am using the Customized board, to this board, can I
edit the same GEL file that is used for the Standard Texas KIT. i.e. 6211_6711dsk.gel, as I am
not using any memory on the target board, what should I do for the EMIF_CE0, EMIF_CE1,
EMIF_CE2, EMIF_CE3 locations, as I am facing the following error when I am initializing with
the edited GEL file.
" Target CPU memory can read", on the locations, 0x01800004,C,10,8 the error is
comming , aslo one error in 0x1b00000c (the C-Tools) filed.
What should I do Sir,
Please Help
Regards
Jeff Brower <j...@signalogic.com> wrote:
Arunav-
First, why do you "have to" set build options for Big Endian? That sure does not
make sense. You boot the processor Little Endian, then you need to use Little
Endian.
Second, nowhere in your post do you indicate you have working combination of full
version of CCS (i.e. not DSK version) and JTAG emulator. If not, you need to get
that working first. Assuming you copied the DSK 6211 design carefully, then you
ought to be able to edit the .gel file for the DSK board, take out what you don't
need (SDRAM, Flash, etc), and use that .gel file with no problems. Your comment that
your "PC hangs" when you load the .gel file is not a good sign.
Seems to me you're still at square 1, and should not attempt to jump beyond that. I
suggest to fix the above basic issues first, then worry about chip selects!
-Jeff
Arunav Kumar wrote:
>
> Hi to all,
> I have a problem described below: -
>
> I have a customized DSP Target board, that consists TMS320C6211 DSK processor, No memory
chip (FlashPROM, SDRAM etc.) available memory location is only the Internal memory of the
processor that starts from 0x00000000 to 0x0000FFFF and all on chip. There is a Decoder on the
board that is connected to the Chip Select CE2 directly with the processor.
>
> The configuration of the Decoder is as follows: -
> Selection Lines: EA21, EA20, EA19
> Chip Select logic with EA18 must be enabled to select an output.
>
> I have giving power supply to the Processor, and written the program as follows to
generate the Chip Selec at the chip selec output pin of the Processor, this program is working
well on the Standard Target Board provided by Texas Instrument i.e. DSP Kit.
>
> /* Program to toggle the chip select */
> #define CHIP_6211 1
> #include "std.h"
> #include "c6211dsk.h"
> #include
>
> void main()
> {
>
> /* Initializing the DSP Processor */
> /* Cleared all the global interrupt register, IER etc, Not included here */
>
> *(unsigned volatile int *)0x018000010 = 0x2;
> *(unsigned volatile int *)0xA00000000 = 0x00000000;
> }
>
> But I am not getting any chip select out from the DSP processor.
>
> I am not using any Flash memory at the Chip Selec 1, and also I am making the DSP
processor on HPI mode through HD3 HD4 pins making low. I also made the DSP Processor on the
Little Endian Mode by putting the HD-8th number pin on Ground.
>
> I am not getting any Data out put on any Data Pin and No Chip Selec. Please help me to
solve out this problem. Is there any configuration in Memory map. Or if I have to initialize my
Configuration with GEL file. My PC Gets Hangs if I Initialize my Target with Any GEL File, like
6211_6711DSKL.gel
>
> I have to put my Compiler(Build options) on BIG ENDIAN, and I am using the Big Endian
Libraries: - rts6200e.lib, csl6211e.lib.
> (I am not using the BIOS File, if I use it then in Global Settings I have to make it Big
Endian), But I am sure My target is in Little Endian Mode, I have checked it through a
program.
>
> Please Help me to get the trace of the signals on this customized board.
> if any change in the program, then Please suggest.
> Regards
Arunav-
First, why do you "have to" set build options for Big Endian? That sure does not
make sense. You boot the processor Little Endian, then you need to use Little
Endian.
Second, nowhere in your post do you indicate you have working combination of full
version of CCS (i.e. not DSK version) and JTAG emulator. If not, you need to get
that working first. Assuming you copied the DSK 6211 design carefully, then you
ought to be able to edit the .gel file for the DSK board, take out what you don't
need (SDRAM, Flash, etc), and use that .gel file with no problems. Your comment that
your "PC hangs" when you load the .gel file is not a good sign.
Seems to me you're still at square 1, and should not attempt to jump beyond that. I
suggest to fix the above basic issues first, then worry about chip selects!
-Jeff
Arunav Kumar wrote:
>
> Hi to all,
> I have a problem described below: -
>
> I have a customized DSP Target board, that consists TMS320C6211 DSK processor, No memory
chip (FlashPROM, SDRAM etc.) available memory location is only the Internal memory of the
processor that starts from 0x00000000 to 0x0000FFFF and all on chip. There is a Decoder on the
board that is connected to the Chip Select CE2 directly with the processor.
>
> The configuration of the Decoder is as follows: -
> Selection Lines: EA21, EA20, EA19
> Chip Select logic with EA18 must be enabled to select an output.
>
> I have giving power supply to the Processor, and written the program as follows to
generate the Chip Selec at the chip selec output pin of the Processor, this program is working
well on the Standard Target Board provided by Texas Instrument i.e. DSP Kit.
>
> /* Program to toggle the chip select */
> #define CHIP_6211 1
> #include "std.h"
> #include "c6211dsk.h"
> #include <csl.h> void main()
> {
>
> /* Initializing the DSP Processor */
> /* Cleared all the global interrupt register, IER etc, Not included here */
>
> *(unsigned volatile int *)0x018000010 = 0x2;
> *(unsigned volatile int *)0xA00000000 = 0x00000000;
> }
>
> But I am not getting any chip select out from the DSP processor.
>
> I am not using any Flash memory at the Chip Selec 1, and also I am making the DSP
processor on HPI mode through HD3 HD4 pins making low. I also made the DSP Processor on the
Little Endian Mode by putting the HD-8th number pin on Ground.
>
> I am not getting any Data out put on any Data Pin and No Chip Selec. Please help me to
solve out this problem. Is there any configuration in Memory map. Or if I have to initialize my
Configuration with GEL file. My PC Gets Hangs if I Initialize my Target with Any GEL File, like
6211_6711DSKL.gel
>
> I have to put my Compiler(Build options) on BIG ENDIAN, and I am using the Big Endian
Libraries: - rts6200e.lib, csl6211e.lib.
> (I am not using the BIOS File, if I use it then in Global Settings I have to make it Big
Endian), But I am sure My target is in Little Endian Mode, I have checked it through a
program.
>
> Please Help me to get the trace of the signals on this customized board.
> if any change in the program, then Please suggest.
> Regards
Hi Arunav--
Jeff has already clearly indicated that the CCS version to work with custom
board needs to be full version and not the limited version bundled with
DSKs. Please check TIs website for details on what is the current version of
CCS. I would recommend usage of ATLEAST V2.21, if not CCS3.1. Also you did
not answer if you are using emulator in your debug ir not.
--Bhooshan
On 9/8/06, Arunav Kumar <b...@yahoo.com> wrote:
>
> Thankyou very much Jeff.
> I will try your suggesion in Laboratory today. I am also working out for
> GEL file, I m using the Version2.0 of CCS, as it was given in Texas
> Instruments CD (Comes with product), should I use any other CCS?
> please give me one more suggestion, as I am using the Customized board, to
> this board, can I edit the same GEL file that is used for the Standard Texas
> KIT. i.e. 6211_6711dsk.gel, as I am not using any memory on the target
> board, what should I do for the EMIF_CE0, EMIF_CE1, EMIF_CE2, EMIF_CE3
> locations, as I am facing the following error when I am initializing with
> the edited GEL file.
>
> " Target CPU memory can read", on the locations, 0x01800004,C,10,8 the
> error is comming , aslo one error in 0x1b00000c (the C-Tools) filed.
> What should I do Sir,
>
> Please Help
> Regards
>
> Jeff Brower <j...@signalogic.com <jbrower%40signalogic.com>> wrote:
> Arunav-
>
> First, why do you "have to" set build options for Big Endian? That sure
> does not
> make sense. You boot the processor Little Endian, then you need to use
> Little
> Endian.
>
> Second, nowhere in your post do you indicate you have working combination
> of full
> version of CCS (i.e. not DSK version) and JTAG emulator. If not, you need
> to get
> that working first. Assuming you copied the DSK 6211 design carefully,
> then you
> ought to be able to edit the .gel file for the DSK board, take out what
> you don't
> need (SDRAM, Flash, etc), and use that .gel file with no problems. Your
> comment that
> your "PC hangs" when you load the .gel file is not a good sign.
>
> Seems to me you're still at square 1, and should not attempt to jump
> beyond that. I
> suggest to fix the above basic issues first, then worry about chip
> selects!
>
> -Jeff
>
> Arunav Kumar wrote:
> >
> > Hi to all,
> > I have a problem described below: -
> >
> > I have a customized DSP Target board, that consists TMS320C6211 DSK
> processor, No memory chip (FlashPROM, SDRAM etc.) available memory location
> is only the Internal memory of the processor that starts from 0x00000000 to
> 0x0000FFFF and all on chip. There is a Decoder on the board that is
> connected to the Chip Select CE2 directly with the processor.
> >
> > The configuration of the Decoder is as follows: -
> > Selection Lines: EA21, EA20, EA19
> > Chip Select logic with EA18 must be enabled to select an output.
> >
> > I have giving power supply to the Processor, and written the program as
> follows to generate the Chip Selec at the chip selec output pin of the
> Processor, this program is working well on the Standard Target Board
> provided by Texas Instrument i.e. DSP Kit.
> >
> > /* Program to toggle the chip select */
> > #define CHIP_6211 1
> > #include "std.h"
> > #include "c6211dsk.h"
> > #include
> >
> > void main()
> > {
> >
> > /* Initializing the DSP Processor */
> > /* Cleared all the global interrupt register, IER etc, Not included here
> */
> >
> > *(unsigned volatile int *)0x018000010 = 0x2;
> > *(unsigned volatile int *)0xA00000000 = 0x00000000;
> > }
> >
> > But I am not getting any chip select out from the DSP processor.
> >
> > I am not using any Flash memory at the Chip Selec 1, and also I am
> making the DSP processor on HPI mode through HD3 HD4 pins making low. I also
> made the DSP Processor on the Little Endian Mode by putting the HD-8th
> number pin on Ground.
> >
> > I am not getting any Data out put on any Data Pin and No Chip Selec.
> Please help me to solve out this problem. Is there any configuration in
> Memory map. Or if I have to initialize my Configuration with GEL file. My PC
> Gets Hangs if I Initialize my Target with Any GEL File, like
> 6211_6711DSKL.gel
> >
> > I have to put my Compiler(Build options) on BIG ENDIAN, and I am using
> the Big Endian Libraries: - rts6200e.lib, csl6211e.lib.
> > (I am not using the BIOS File, if I use it then in Global Settings I
> have to make it Big Endian), But I am sure My target is in Little Endian
> Mode, I have checked it through a program.
> >
> > Please Help me to get the trace of the signals on this customized board.
> > if any change in the program, then Please suggest.
> > Regards
>
--
-------------------------------------------------------------------
"I've missed more than 9000 shots in my career.
I've lost almost 300 games. 26 times I've been trusted to take the game
winning shot and missed.
I've failed over and over again in my life.
And that is why I succeed."
-- Michael Jordan
--------------------------------------------------------------------