Reply by lion king March 19, 20062006-03-19
Hi, because I don't have emulator, so I burn my code into flash using Universal Programmer to program hex code into flash. eewizard_1 wrote: Hi lion king If you don't have an emulator how are you getting your code into your board? Could you post your schematics for us to look over? Al --- In c...@yahoogroups.com, lion king wrote: > > Hi, I don't have any emulator, but I have TMS320C6713DSK. The code I burn into flash has run correctly on the DSK. > I think the first code that TMS run after reset is configuring PLL. I has change dsk_init() function and call it from my project. When I run my project on the DSK, ECLKOUT is configured correctly as 80MHz. But when I change to my own board with TMS320C6713BPYP, the ECLKOUT is still 25MHz ( the default value is 1/2 of CLKIN). So I'm sure my code hasn't run. Do you have any suggestion? > > Mike Dunn wrote: > Hello lion king, > > --- lion king wrote: > > > Hi, I have a project making my own DSP board for > > speech synthesis. I have a question: How can I know > > whether my TMS320C6713BPYP has read my program code > > from eternal flash? > 1. Do you have an emulator?? If yes, you can examine > the code loaded from Flash and step through it. > 2. If no, do you have a 6713 DSK for reference?? > 3. If yes, does your code run correctly on the DSK?? > > As a start, I would suggest that you end your Flash > program with a 'forever' loop that Jumps between two > locations in Flash. You can then check the address > lines [if you can access them] with your scope to > verify that the DSP if branching between the correct 2 > locations. > > We can provide more info once you describe the tools > and equipment that you are using. > > mikedunn > > I use my osiloscope to measure > > and see that, at reset, my TMS has send addess to > > addess bus, pin OE,WE,CE has been cofigured > > correctly, data from external flash has been out, > > but I measure pin ECLKOUT is still 25MHz, not as in > > my code. I'm sure that my TMS has run into my code. > > How can I test? > >
Reply by lion king March 17, 20062006-03-17
Hi, because I don't have emulator, so I burn my code into flash using
Universal Programmer to program hex code into flash.
	eewizard_1 <eewizard_1@eewi...> wrote:
  Hi lion king

If you don't have an emulator how are you getting your code into your
board? Could you post your schematics for us to look over?

Al

--- In c6x@c6x@..., lion king wrote:
>
> Hi, I don't have any emulator, but I have TMS320C6713DSK.
The code I burn into flash has run correctly on the DSK.
> I think the first code that TMS run after reset is
configuring PLL. I has change dsk_init() function and call it from my
project. When I run my project on the DSK, ECLKOUT is configured
correctly as 80MHz. But when I change to my own board with
TMS320C6713BPYP, the ECLKOUT is still 25MHz ( the default value is 1/2
of CLKIN). So I'm sure my code hasn't run. Do you have any suggestion?
> 
> Mike Dunn wrote:
> Hello lion king,
> 
> --- lion king wrote:
> 
> > Hi, I have a project making my own DSP board for
> > speech synthesis. I have a question: How can I know
> > whether my TMS320C6713BPYP has read my program code
> > from eternal flash? 
> 1. Do you have an emulator?? If yes, you can examine
> the code loaded from Flash and step through it.
> 2. If no, do you have a 6713 DSK for reference??
> 3. If yes, does your code run correctly on the DSK??
> 
> As a start, I would suggest that you end your Flash
> program with a 'forever' loop that Jumps between two
> locations in Flash. You can then check the address
> lines [if you can access them] with your scope to
> verify that the DSP if branching between the correct 2
> locations.
> 
> We can provide more info once you describe the tools
> and equipment that you are using.
> 
> mikedunn
> > I use my osiloscope to measure
> > and see that, at reset, my TMS has send addess to
> > addess bus, pin OE,WE,CE has been cofigured
> > correctly, data from external flash has been out,
> > but I measure pin ECLKOUT is still 25MHz, not as in
> > my code. I'm sure that my TMS has run into my code.
> > How can I test? 
> >
	
Reply by eewizard_1 March 15, 20062006-03-15
Hi lion king

If you don't have an emulator how are you getting your code into your
board?  Could you post your schematics for us to look over?

Al

--- In c6x@c6x@..., lion king <it_lionking@...> wrote:
>
>         Hi, I don't have any emulator, but I have TMS320C6713DSK.
The code I burn into flash has run correctly on the DSK.
>          I think the first code that TMS run after
reset is
configuring PLL. I has change dsk_init() function and call it from my
project. When I run my project on the DSK, ECLKOUT is configured
correctly as 80MHz. But when I change to my own board with
TMS320C6713BPYP, the ECLKOUT is still 25MHz ( the default value is 1/2
of CLKIN). So I'm sure my code hasn't run. Do you have any suggestion?
> 
> Mike Dunn <mike-dunn@...> wrote:
>   Hello lion king,
> 
> --- lion king wrote:
> 
> > Hi, I have a project making my own DSP board for
> > speech synthesis. I have a question: How can I know
> > whether my TMS320C6713BPYP has read my program code
> > from eternal flash? 
> 1. Do you have an emulator?? If yes, you can examine
> the code loaded from Flash and step through it.
> 2. If no, do you have a 6713 DSK for reference??
> 3. If yes, does your code run correctly on the DSK??
> 
> As a start, I would suggest that you end your Flash
> program with a 'forever' loop that Jumps between two
> locations in Flash. You can then check the address
> lines [if you can access them] with your scope to
> verify that the DSP if branching between the correct 2
> locations.
> 
> We can provide more info once you describe the tools
> and equipment that you are using.
> 
> mikedunn
> > I use my osiloscope to measure
> > and see that, at reset, my TMS has send addess to
> > addess bus, pin OE,WE,CE has been cofigured
> > correctly, data from external flash has been out,
> > but I measure pin ECLKOUT is still 25MHz, not as in
> > my code. I'm sure that my TMS has run into my code.
> > How can I test? 
> >
	
Reply by lion king March 14, 20062006-03-14
        Hi, I don't have any emulator, but I have TMS320C6713DSK. The code I burn into flash has run correctly on the DSK.
       I think the first code that TMS run after reset is configuring PLL. I has change dsk_init() function and call it from my project. When I run my project on the DSK, ECLKOUT is configured correctly as 80MHz. But when I change to my own board with TMS320C6713BPYP, the ECLKOUT is still 25MHz ( the default value is 1/2 of CLKIN). So I'm sure my code hasn't run. Do you have any suggestion?

Mike Dunn <m...@sbcglobal.net> wrote:
Hello lion king,

--- lion king wrote:

> Hi, I have a project making my own DSP board for
> speech synthesis. I have a question: How can I know
> whether my TMS320C6713BPYP has read my program code
> from eternal flash?
1. Do you have an emulator?? If yes, you can examine
the code loaded from Flash and step through it.
2. If no, do you have a 6713 DSK for reference??
3. If yes, does your code run correctly on the DSK??

As a start, I would suggest that you end your Flash
program with a 'forever' loop that Jumps between two
locations in Flash. You can then check the address
lines [if you can access them] with your scope to
verify that the DSP if branching between the correct 2
locations.

We can provide more info once you describe the tools
and equipment that you are using.

mikedunn
> I use my osiloscope to measure
> and see that, at reset, my TMS has send addess to
> addess bus, pin OE,WE,CE has been cofigured
> correctly, data from external flash has been out,
> but I measure pin ECLKOUT is still 25MHz, not as in
> my code. I'm sure that my TMS has run into my code.
> How can I test?> __________________________________________________
>

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/c6x/

<*> To unsubscribe from this group, send an email to:
c...@yahoogroups.com

<*





Reply by Mike Dunn March 14, 20062006-03-14
Hello lion king,

--- lion king <it_lionking@it_l...> wrote:

> Hi, I have a project making my own DSP board for
> speech synthesis. I have a question: How can I know
> whether my TMS320C6713BPYP has read my program code
> from eternal flash? 
1. Do you have an emulator??  If yes, you can examine
the code loaded from Flash and step through it.
2. If no, do you have a 6713 DSK for reference??
3. If yes, does your code run correctly on the DSK??

As a start, I would suggest that you end your Flash
program with a 'forever' loop that Jumps between two
locations in Flash.  You can then check the address
lines [if you can access them] with your scope to
verify that the DSP if branching between the correct 2
locations.

We can provide more info once you describe the tools
and equipment that you are using.

mikedunn
> I use my osiloscope to measure
> and see that, at reset, my TMS has send addess to
> addess bus, pin OE,WE,CE has been cofigured
> correctly, data from external flash has been out,
> but I measure pin ECLKOUT is still 25MHz, not as in
> my code. I'm sure that my TMS has run into my code.
> How can I test? 
>    
> 
> __________________________________________________
> 
	
Reply by lion king March 14, 20062006-03-14
Hi, I have a project making my own DSP board for speech synthesis. I have a question: How can I know whether my TMS320C6713BPYP has read my program code from eternal flash? I use my osiloscope to measure and see that, at reset, my TMS has send addess to addess bus, pin OE,WE,CE has been cofigured correctly, data from external flash has been out, but I measure pin ECLKOUT is still 25MHz, not as in my code. I'm sure that my TMS has run into my code. How can I test? 
 

__________________________________________________