DSPRelated.com
Forums

2189_example_codes

Started by Volkan Sevindik April 7, 2004
At 08:43 PM 4/26/2004, duhlynn wrote:
>You'll need to send the byte value of 0xaa. As Al pointed out, you
>could also use term term pro and hold ALT then type 170. Here's a hex
>editor that will let you create a file with the byte value of 0xaa...
> http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm...
>You'll still need some means to send binary file over the serial port
>though(like tera term pro).
>
>In my experience, loader files under 4K can be loaded at 115200.
>Loader files in excess of 115K can successfully loaded at 19200-38400.

The maximum speed of the transfer is dependent on the operating clock of
the DSP. Calculate the values that you can set the baud generator for with
the xtal and clock settings on your system. This will suggest how fast you
can set the transfer.

Are you setting the Clock Multiplier in hardware? My first 2191 board
didn't work because the PLL was not working properly. The IO Power Supply
is used for the PLL. I had a fairly low impedance supply for I/O, but not
good enough I was trying to use a two layer pcb (I poured the Vcore supply
under the 219x and assumed the I/O supply was not too important). I changed
to a four layer pcb and everything worked well to 160 MHz.

In my design, I set the clock multiplier in software. This turned out to be
very helpful, since my programs ran with the oscillator in buffer mode and
failed when I initialized the PLL even at the same frequency.

This won't affect booting, but are you using Rev 1.0 silicon? There is a
very serious DMA problem with all 0.x silicon THAT YOU WANT TO AVOID. See
the ADI Errata.

Al Clark
Danville Signal Processing, Inc.
--------------------------------
comp.dsp conference July 28 - Aug 1, 2004

details at http://www.danvillesignal.com/index.php?id=compdsp
email:

Who says you can't teach an old dog a new DSP trick?



Actually, ALT then type 166 gives 0xaa.


At 10:37 AM 4/27/2004, duhlynn wrote:
>Actually, ALT then type 166 gives 0xaa.


0xAA = 16 * 10 + 10 = 170

166 = 0xA6

Al Clark
Danville Signal Processing, Inc.
--------------------------------
comp.dsp conference July 28 - Aug 1, 2004

details at http://www.danvillesignal.com/index.php?id=compdsp
email:

Who says you can't teach an old dog a new DSP trick?


Hi

i m trying to modify flah programmer in order to program AMD Flash (it's an ST
one on Ez Kit)
I've just modify few code (erase, ID), but it doesn't works : unable to write

Does anybody try to program AMD flah with programmer?

I saw that EMICTL is 0x38 for ST but it's an 8 bit flash : why configure 16 bit

Thanks in advance


At 02:48 PM 4/28/2004, you wrote:
>Al,
>
>ALT + 170 gives you 0xaa???
>
>I tried a couple different WIN98 editors and my results are...
>ALT + 170 = 0xa5
>ALT + 166 = 0xaa
>
>I'm curious as to why there is a difference....
>Might just be my work machine....
>
>Tim Dahlin


I can't say I've ever looked on an editor that would display the file in
Hex directly but

If you type in Alt 65 you would see an 'A' which is also 0x41. Alt 170 is
the same as 0xAA which will typically be some kind of extended ASCII in a
text editor. I have no idea how you the values you report. I do know that
the autobaud always works with Alt 170. Al Clark
Danville Signal Processing, Inc.
--------------------------------
comp.dsp conference July 28 - Aug 1, 2004

details at http://www.danvillesignal.com/index.php?id=compdsp
email:

Who says you can't teach an old dog a new DSP trick?



Hi

Is there somebody has tried to access external flash (RD and WR) from running
program on ADSP2191 : CS Flah is MS0 and BMS Thanks in advance




In my current design, I use a 4MW flash with the CS~ driven by the
logical and of BMS~ and MS1~. I didn't want to have to fool with
setting registers to access PAGE 0 of MS0~. Main purpose of going
with a large flash was to store various tables, FPGA configurations,
and program overlays.

Tim Dahlin

--- In , stephane.gouel@a... wrote:
> Hi
>
> Is there somebody has tried to access external flash (RD and WR)
from running
> program on ADSP2191 : CS Flah is MS0 and BMS > Thanks in advance


Dear stephane,

I am trying to do a similiar thing with the ADSP-21992. I have had
only mixed success, but maybe i can help.

Sincerely,

ED --- In , stephane.gouel@a... wrote:
> Hi
>
> Is there somebody has tried to access external flash (RD and WR)
from running
> program on ADSP2191 : CS Flah is MS0 and BMS > Thanks in advance