* [OT] write flash on MPC5200 board via jtag
@ 2008-07-22 18:56 Albrecht Dreß
2008-07-22 21:29 ` Grant Likely
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Albrecht Dreß @ 2008-07-22 18:56 UTC (permalink / raw)
To: LinuxPPC Embedded
[-- Attachment #1: Type: text/plain, Size: 586 bytes --]
Hi,
sorry for a somewhat off-topic question...
I want to design a mpc5200b board which is roughly derived from
Freescale's 5200B Lite demo. Obviously, I have the problem to
initially write u-boot into the boot nor flash. I believe this would
be possible using the jtag/bsm interface (is that true?).
Can you recommend any good hardware and software solution for that, if
possible running on linux (OSS?)? I don't need a "real" debugger
(maybe an interface to gdb), just something to write the flash, so
u-boot comes up.
Thanks for any help,
Albrecht.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OT] write flash on MPC5200 board via jtag
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
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Grant Likely @ 2008-07-22 21:29 UTC (permalink / raw)
To: =?ISO-8859-1?Q?Albrecht_Dre=DF_, ?=; +Cc: LinuxPPC Embedded
On Tue, Jul 22, 2008 at 08:56:43PM +0200, =?ISO-8859-1?Q?Albrecht_Dre=DF_ wrote:
> Hi,
>
> sorry for a somewhat off-topic question...
>
> I want to design a mpc5200b board which is roughly derived from
> Freescale's 5200B Lite demo. Obviously, I have the problem to initially
> write u-boot into the boot nor flash. I believe this would be possible
> using the jtag/bsm interface (is that true?).
>
> Can you recommend any good hardware and software solution for that, if
> possible running on linux (OSS?)? I don't need a "real" debugger (maybe
> an interface to gdb), just something to write the flash, so u-boot comes
> up.
Get yourself an Abatron BDI-3000.
g.
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: [OT] write flash on MPC5200 board via jtag
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-23 12:21 ` WITTROCK
3 siblings, 0 replies; 6+ messages in thread
From: Mike Timmons @ 2008-07-22 21:55 UTC (permalink / raw)
To: Albrecht Dreß, LinuxPPC Embedded
If you don't have any code on the board then I can't think of how to =
write to the flash unless you have a JTAG device. I use a BDI2000 to do =
precisely what you're doing: write U-boot into virgin on-board flash on =
a design derived from the lite 5200.
The significance of the debugger is that you need something that can =
drive the microcontroller via the JTAG port and control the flash device =
write intricacies.
Pre-programming your flash device is another option.
-----Original Message-----
From: linuxppc-embedded-bounces+mike_timmons=3Dtrimble.com@ozlabs.org =
[mailto:linuxppc-embedded-bounces+mike_timmons=3Dtrimble.com@ozlabs.org] =
On Behalf Of Albrecht Dre=DF
Sent: Tuesday, July 22, 2008 1:57 PM
To: LinuxPPC Embedded
Subject: [OT] write flash on MPC5200 board via jtag
Hi,
sorry for a somewhat off-topic question...
I want to design a mpc5200b board which is roughly derived from =20
Freescale's 5200B Lite demo. Obviously, I have the problem to =20
initially write u-boot into the boot nor flash. I believe this would =20
be possible using the jtag/bsm interface (is that true?).
Can you recommend any good hardware and software solution for that, if =20
possible running on linux (OSS?)? I don't need a "real" debugger =20
(maybe an interface to gdb), just something to write the flash, so =20
u-boot comes up.
Thanks for any help,
Albrecht.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OT] write flash on MPC5200 board via jtag
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
3 siblings, 1 reply; 6+ messages in thread
From: Jon Smirl @ 2008-07-22 22:30 UTC (permalink / raw)
To: Albrecht Dreß; +Cc: LinuxPPC Embedded
On 7/22/08, Albrecht Dre=DF <albrecht.dress@arcor.de> wrote:
> Hi,
>
> sorry for a somewhat off-topic question...
>
> I want to design a mpc5200b board which is roughly derived from Freescal=
e's
> 5200B Lite demo. Obviously, I have the problem to initially write u-boot
> into the boot nor flash. I believe this would be possible using the
> jtag/bsm interface (is that true?).
>
> Can you recommend any good hardware and software solution for that, if
> possible running on linux (OSS?)? I don't need a "real" debugger (maybe =
an
> interface to gdb), just something to write the flash, so u-boot comes up.
I haven't tried it, but a Macraigor USB Wiggler supports the MPC5200
and it's $250.
http://www.macraigor.com/cpus.htm
That should be enough to write uboot into RAM. Once uboot is in RAM
you can use it to write the flash.
Let me know if you try it and it works.
>
> Thanks for any help,
> Albrecht.
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>
--=20
Jon Smirl
jonsmirl@gmail.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OT] write flash on MPC5200 board via jtag
2008-07-22 18:56 [OT] write flash on MPC5200 board via jtag Albrecht Dreß
` (2 preceding siblings ...)
2008-07-22 22:30 ` Jon Smirl
@ 2008-07-23 12:21 ` WITTROCK
3 siblings, 0 replies; 6+ messages in thread
From: WITTROCK @ 2008-07-23 12:21 UTC (permalink / raw)
To: linuxppc-embedded
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OT] write flash on MPC5200 board via jtag
2008-07-22 22:30 ` Jon Smirl
@ 2008-07-25 19:48 ` Albrecht Dreß
0 siblings, 0 replies; 6+ messages in thread
From: Albrecht Dreß @ 2008-07-25 19:48 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
Hi all!
Thank you so much for your tips, they were really helpful!
Am 23.07.08 00:30 schrieb(en) Jon Smirl:
> I haven't tried it, but a Macraigor USB Wiggler supports the MPC5200
> and it's $250.
[snip]
> Let me know if you try it and it works.
I guess I will try this one, and of course give you feedback. Do not
expect this too fast, though, I have to get it to Europe, and test it
with the Lite board first.
Thanks again,
Albrecht.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-07-25 19:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).