linux-mips
[Top] [All Lists]

Re: DBAu1500 board flash downloading

To: n_gale@ok.ru
Subject: Re: DBAu1500 board flash downloading
From: Jeff Baitis <baitisj@evolution.com>
Date: Fri, 30 May 2003 14:45:35 -0700
Cc: linux-mips@linux-mips.org
In-reply-to: <web-13584424@backend4.aha.ru>; from n_gale@ok.ru on Sat, May 31, 2003 at 12:29:57AM +0400
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <web-13584424@backend4.aha.ru>
Reply-to: baitisj@evolution.com
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
Serguei:

Rather than building an EJTAG interface, I recommend the Raven EJTAG interface.
It plugs into your LPT port, and will plug into the EJTAG interface on your
DBAu1500 board.

The device is available through {http://www.macraigor.com}.

Linux software for this device is available at {http://www.ocdemon.com/}.

I assume that you will probably be trying to re-load YAMON onto the flash
device. I never tried re-loading YAMON, so I cannot comment about problems you
might have hear.


But here's the path that I essentially followed. I co-authored a bootloader
that can execute out of RAM, and wrote a driver for the AMD flash device.  My
bootloader uses a chunk of hacked-up YAMON code so that an SREC can be loaded
through serial, and I wrote a simple driver for AMD mirror-bit flash.

The trick was to set the CP0 configuration registers over GDB so that you can
load a bootloader into RAM, and then jump to the appropriate start address.

1. Plug in the RAVEN, turn it on.

2. Set the CP0 configuration registers through GDB so that RAM will refresh
   properly.

3. Load bootloader into uncached RAM through GDB and tell GDB to jump to
   the bootloader entry point.

4. Use the bootloader to erase flash.

5. The bootloader can also load an SREC through the serial port, and write it
   to flash. In your case, you would load YAMON.srec, and then write it to
   flash.

Good luck. Hopefully AMD support will be able to help you, too.

-Jeff



On Sat, May 31, 2003 at 12:29:57AM +0400, n_gale@ok.ru wrote:
> First Name: Serguei
> Last Name: Soloviev
> Email: n_gale@ok.ru
> Company: 
> Category: DBAu1500 board question
> 
> Dear sirs. Few days ago I started the work with DBAu1500 
> but unfortunatly among included software toolchain I 
> didn't find 
> any utility to download startup code into clean flash.
> 
> Does anybody have any flash programming utility wich 
> probably works via EJTAG to download code to DBAu-flash or 
> if I have absolutely clean or bad written flash due to 
> uncleanly interrupted programming process for example due 
> to power fail I need to insert it to the programmer to 
> download boot software? 
> I can not belive that there is no any simple utility 
> working via LPT-port to do this.
> Pls. help me find such utility and a primitive sheme with 
> one HC244 and few resistors how to solder an adapter from 
> LPT to JTAG.
> 
>   Thank u in advance.
> 
> ---
> Professional hosting for everyone - http://www.host.ru
> 

-- 
         Jeffrey Baitis - Associate Software Engineer

                    Evolution Robotics, Inc.
                     130 West Union Street
                       Pasadena CA 91103

 tel: 626.535.2776  |  fax: 626.535.2777  |  baitisj@evolution.com 


<Prev in Thread] Current Thread [Next in Thread>