Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | Error: Booting at higher frequencies!!!!

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Error: Booting at higher frequencies!!!! - rk_stevean - Dec 12 8:08:16 2006




Hi

I am workin gon the customised board with ADSp 21160 and 25 MHz
crystal on it.
I am having problem in booting at higher frequency ie, at 100 Mhz(4:1
Clk cfg).

At 2:1 the boot code is working fine.

There is a slight variation in the boot code that is getting copied at
the location in 3:1 clk cfg.=20

Consider this part of code that is getting copied at 2:1 in the
mentioned location

0x4006A           dm(0x41)=3Dm13;
0x4006B           dm(0x46)=3Dm14;
0x4006C           i15=3D0x40004;
0x4006D           call 0x400ea;

=20

Now, at 3:1 clk cfg on boot the following code is getting written in
the same location as

0x4006A           dm(0x41)=3Dm13;
0x4006B           dm(0x46)=3Dm14;
0x4006C           i15=3D0x40004;
0x4006D           jump 0x4006a;
The instruction at 0x4006D is jumping back to 0x4006A and this is
executing infinitely. Thus the application code not getting written.

What might be the problem? Why is the instruction at 0x4006d changing
  from call to jump at 3:1 clk cfg?=20=20
At 4:1 clk cfg at location 0x40005 the following code is getting copied

=20

0x40005            if  sv  jump  0x40044(db)
0x40006            nop;
0x40007            nop;
0x40008            if  sv  rti;
0x40009            if  sv  rti;
=85
=85
=85
0x40051            if not lce rti(db);
0x40052            r6=3D0;
0x40053            if  ac;
0x40054            if not lce  jump(pc,0);
0x40055            r0  =3D 0;
0x40056            m4=3D0;

Here at the location 0x40005 what does the sv stand for ? Similarly in
0x40008 & 0x40009?=20
=20

Thanks and Regards
Stevean

=20


(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Error: Booting at higher frequencies!!!! - Mike Rosing - Dec 12 10:42:23 2006

On Tue, 12 Dec 2006, rk_stevean wrote:

> Hi
>
> I am workin gon the customised board with ADSp 21160 and 25 MHz
> crystal on it.
> I am having problem in booting at higher frequency ie, at 100 Mhz(4:1
> Clk cfg).
>
> At 2:1 the boot code is working fine.
>
> There is a slight variation in the boot code that is getting copied at
> the location in 3:1 clk cfg.
>
> Consider this part of code that is getting copied at 2:1 in the
> mentioned location
>
> 0x4006A           dm(0x41)=m13;
> 0x4006B           dm(0x46)=m14;
> 0x4006C           i15=0x40004;
> 0x4006D           call 0x400ea;
>
> Now, at 3:1 clk cfg on boot the following code is getting written in
> the same location as
>
> 0x4006A           dm(0x41)=m13;
> 0x4006B           dm(0x46)=m14;
> 0x4006C           i15=0x40004;
> 0x4006D           jump 0x4006a;
> The instruction at 0x4006D is jumping back to 0x4006A and this is
> executing infinitely. Thus the application code not getting written.
>
> What might be the problem? Why is the instruction at 0x4006d changing
>   from call to jump at 3:1 clk cfg?

I'm betting it's the speed of your boot flash.  First copy every thing
from flash at 25MHz, then turn on the PLL.  If you have to copy code after
that, put enough wait states into the bus to slow the transfer down so you
meet the timing constraints on the flash.

Patience, persistence, truth,
Dr. mike



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )