Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Jeff Baitis <baitisj@evolution.com>
To: n_gale@ok.ru
Cc: linux-mips@linux-mips.org
Subject: Re: DBAu1500 board flash downloading
Date: Fri, 30 May 2003 14:45:35 -0700	[thread overview]
Message-ID: <20030530144535.T29389@luca.pas.lab> (raw)
In-Reply-To: <web-13584424@backend4.aha.ru>; from n_gale@ok.ru on Sat, May 31, 2003 at 12:29:57AM +0400

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 

  reply	other threads:[~2003-05-30 21:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-30 20:29 DBAu1500 board flash downloading n_gale
2003-05-30 21:45 ` Jeff Baitis [this message]
2003-06-03  4:53   ` Dan Malek
2003-06-03  5:40     ` Lyle Bainbridge
2003-06-03  5:40       ` Lyle Bainbridge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030530144535.T29389@luca.pas.lab \
    --to=baitisj@evolution.com \
    --cc=linux-mips@linux-mips.org \
    --cc=n_gale@ok.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox