linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: WITTROCK <jwittrock@maginst.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: [OT] write flash on MPC5200 board via jtag
Date: Wed, 23 Jul 2008 05:21:49 -0700 (PDT)	[thread overview]
Message-ID: <18609501.post@talk.nabble.com> (raw)
In-Reply-To: <1216753011l.5683l.0l@antares>


I am using  http://urjtag.org/ UrJtag  to do accomplish this.  I have used it
with both a Wiggler clone and an Altera UsbBlaster as the physical JTAG
interface on both a Linux and Windows (cygwin) host.  The only problem is
that this approach is very slow, so I wrote a small (~8kb) "bootstrap"
program which is first put into flash.  This small program then handles
programming u-boot to flash over a serial interface.  Once u-boot is in
place, I use it to program the rest of flash.

Some JTAG tools actually place a small application in the target devices
ram, then this application allows much faster programming of an attached
flash device.  This requires more information about the COP/BDM interface
than is published in the MPC5200B user manual or data sheet.  I haven't used
the Abatron tools, so maybe they do this.  In the case of UrJtag, it is
simply fiddling with bus signals using boundry scan, so it is excruciatingly
slow.

-WITTROCK
-- 
View this message in context: http://www.nabble.com/-OT--write-flash-on-MPC5200-board-via-jtag-tp18596887p18609501.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

      parent reply	other threads:[~2008-07-23 12:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-22 18:56 [OT] write flash on MPC5200 board via jtag Albrecht Dreß
2008-07-22 21:29 ` Grant Likely
2008-07-22 21:55 ` Mike Timmons
2008-07-22 22:30 ` Jon Smirl
2008-07-25 19:48   ` Albrecht Dreß
2008-07-23 12:21 ` WITTROCK [this message]

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=18609501.post@talk.nabble.com \
    --to=jwittrock@maginst.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /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;
as well as URLs for NNTP newsgroup(s).