linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* MPC5200 JTAG/BDM Flash Burning
@ 2005-02-09 19:31 Eric N. Johnson (ACD)
  2005-02-09 20:04 ` Mark Chambers
  2005-02-09 20:33 ` Wolfgang Denk
  0 siblings, 2 replies; 6+ messages in thread
From: Eric N. Johnson (ACD) @ 2005-02-09 19:31 UTC (permalink / raw)
  To: linuxppc-embedded

I'm working on a custom MPC5200 board based heavily on the IceCube design 
from Motorola/Freescale.  We plan to use the u-boot bootloader.

I'm looking for a tool to allow us to burn u-boot into the flash memory on 
new board (with all flash devices unprogrammed).  Ideally, I'd like 
something like the Jflash-linux tool used with StrongARM linux, or a 
stand-along linux tool that lets us burn the memory.

Both the "MPCBDM" and "bdm4gdb" projects haven't been updated for 
years.  The BDM-Tools project is more active, but only seems to support 
68k/Coldfire processors.

The 5200lite "IceCube" demo board came with a Metrowerks "Wiretap" BDM 
interface, and a Green Hills "Slingshot" BDM module, but these seems to 
require a large (and expensive) windows based "Development environment" 
which is far more than we need.  Are there linux based drivers for either 
of these?

We may have to write our own JTAG based pin-wiggler, but this solution 
tends to be extremely slow.

Thanks
Eric
------------------------------------
Eric Johnson, Electrical Engineer
Advanced Communication Design
   7901 12th Avenue South
   Bloomington, MN 55425
Ph: 952-854-4000  Fax: 952-854-5774

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: MPC5200 JTAG/BDM Flash Burning
  2005-02-09 19:31 MPC5200 JTAG/BDM Flash Burning Eric N. Johnson (ACD)
@ 2005-02-09 20:04 ` Mark Chambers
  2005-02-09 20:09   ` Jerry Van Baren
  2005-02-09 20:33 ` Wolfgang Denk
  1 sibling, 1 reply; 6+ messages in thread
From: Mark Chambers @ 2005-02-09 20:04 UTC (permalink / raw)
  To: linuxppc-embedded, Eric N. Johnson (ACD)



> I'm working on a custom MPC5200 board based heavily on the IceCube design
> from Motorola/Freescale.  We plan to use the u-boot bootloader.
>

I'm doing the same.

> I'm looking for a tool to allow us to burn u-boot into the flash memory on
> new board (with all flash devices unprogrammed).  Ideally, I'd like
> something like the Jflash-linux tool used with StrongARM linux, or a
> stand-along linux tool that lets us burn the memory.
>

The BDI2000 from abatron, which in the US you probably want to get
from  www.ultsol.com (send my commision to...).  The difference between
the BDI product and others that my have similar spec sheets is that it
actually works, including the flash burning portions.

Once you have u-boot and/or the kernel up you can use them to update
flash.

> Both the "MPCBDM" and "bdm4gdb" projects haven't been updated for
> years.  The BDM-Tools project is more active, but only seems to support
> 68k/Coldfire processors.
>

As I understand it, Freescale has not publicly released the OCD interface
so that's why it's not supported in the open source community.

> The 5200lite "IceCube" demo board came with a Metrowerks "Wiretap" BDM
> interface, and a Green Hills "Slingshot" BDM module, but these seems to
> require a large (and expensive) windows based "Development environment"
> which is far more than we need.  Are there linux based drivers for either
> of these?
>

You could also look at magraigor.com.  I had problems with their 5200 device
but they've probably got them worked out by now.

Mark Chambers

P.S. Love the way you play the guitar!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: MPC5200 JTAG/BDM Flash Burning
  2005-02-09 20:04 ` Mark Chambers
@ 2005-02-09 20:09   ` Jerry Van Baren
  0 siblings, 0 replies; 6+ messages in thread
From: Jerry Van Baren @ 2005-02-09 20:09 UTC (permalink / raw)
  To: Mark Chambers; +Cc: linuxppc-embedded

Mark Chambers wrote:
> 
> You could also look at magraigor.com.  I had problems with their 5200 device
> but they've probably got them worked out by now.
> 
> Mark Chambers

That is http://macraigor.com/ of course ;-).

gvb
P.S. The BDI2000 gets my endorsement (disclaimer: my experience is with 
the 82xx family, not the 5200).  You can pay more, but why settle for less?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: MPC5200 JTAG/BDM Flash Burning
@ 2005-02-09 20:22 Caruso, Nick
  0 siblings, 0 replies; 6+ messages in thread
From: Caruso, Nick @ 2005-02-09 20:22 UTC (permalink / raw)
  To: Jerry Van Baren, Mark Chambers; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

Well, I said this privately, but I guess I'll say it in public as well - we like the BDI 2000.

I don't have a huge amount of experience with it, but I can vouch that it works fine with both the lite5200 and our custom MPC5200 board.  We also bought ours from Ultimate Solutions.  (Hi Fahd!)

  best regards,
     Nick Caruso


-----Original Message-----
From: linuxppc-embedded-bounces@ozlabs.org on behalf of Jerry Van Baren
Sent: Wed 2/9/2005 3:09 PM

P.S. The BDI2000 gets my endorsement (disclaimer: my experience is with 
the 82xx family, not the 5200).  You can pay more, but why settle for less?

[-- Attachment #2: Type: text/html, Size: 1089 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: MPC5200 JTAG/BDM Flash Burning
  2005-02-09 19:31 MPC5200 JTAG/BDM Flash Burning Eric N. Johnson (ACD)
  2005-02-09 20:04 ` Mark Chambers
@ 2005-02-09 20:33 ` Wolfgang Denk
  2005-02-09 22:16   ` Andrew Dennison
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Denk @ 2005-02-09 20:33 UTC (permalink / raw)
  To: Eric N. Johnson (ACD); +Cc: linuxppc-embedded

In message <6.2.1.2.1.20050209131409.02b2b718@mail.int.acdstar.com> you wrote:
> I'm working on a custom MPC5200 board based heavily on the IceCube design 
> from Motorola/Freescale.  We plan to use the u-boot bootloader.
> 
> I'm looking for a tool to allow us to burn u-boot into the flash memory on 
> new board (with all flash devices unprogrammed).  Ideally, I'd like 

If you consider the fact that besides fash burning you may also  want
to  have  a  working hardware debugger, you should go for a BDI2000 -
especially for Linux, when MMU support is needed.

> Both the "MPCBDM" and "bdm4gdb" projects haven't been updated for 
> years.  The BDM-Tools project is more active, but only seems to support 

Tha't mostly because they are just working  fine  for  the  class  of
devices  they  have  been  designed  for.  The  MPC5200  has  no  BDM
interface,  but  a  JTAG  based  debug  interface  for  which  it  is
impossible  to  get  the necessary specifications without an NDA - an
NDA which  prevents  any  implementation  under  GPL.  Complain  with
Freescale.

> The 5200lite "IceCube" demo board came with a Metrowerks "Wiretap" BDM 
> interface, and a Green Hills "Slingshot" BDM module, but these seems to 
> require a large (and expensive) windows based "Development environment" 

And they have no idea how do deal with virtual addresses.

> We may have to write our own JTAG based pin-wiggler, but this solution 
> tends to be extremely slow.

It may be difficult to get the required documentation from Freescale,
and then you will probably spend more money (in terms of  your  time)
than you have to pay for a working tool (BDI2000).

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Clothes make the man. Naked people have little  or  no  influence  on
society.                                                 - Mark Twain

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: MPC5200 JTAG/BDM Flash Burning
  2005-02-09 20:33 ` Wolfgang Denk
@ 2005-02-09 22:16   ` Andrew Dennison
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Dennison @ 2005-02-09 22:16 UTC (permalink / raw)
  To: 'Eric N. Johnson (ACD)'; +Cc: linuxppc-embedded

On , linuxppc-embedded-bounces@ozlabs.org wrote:

> In message
> <6.2.1.2.1.20050209131409.02b2b718@mail.int.acdstar.com> you wrote:
>> I'm working on a custom MPC5200 board based heavily on the IceCube
>> design from Motorola/Freescale.  We plan to use the u-boot
>> bootloader.=20
>>=20
>> I'm looking for a tool to allow us to burn u-boot into the flash
>> memory on new board (with all flash devices unprogrammed).  Ideally,
>> I'd like=20
>=20
> If you consider the fact that besides fash burning you may also  want
> to  have  a  working hardware debugger, you should go for a BDI2000 -
> especially for Linux, when MMU support is needed.

Get the BDI2000. I'm very glad Wolfgang talked me into it!

Use the Slingshot and Wiretap as paperweights.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-02-09 22:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-09 19:31 MPC5200 JTAG/BDM Flash Burning Eric N. Johnson (ACD)
2005-02-09 20:04 ` Mark Chambers
2005-02-09 20:09   ` Jerry Van Baren
2005-02-09 20:33 ` Wolfgang Denk
2005-02-09 22:16   ` Andrew Dennison
  -- strict thread matches above, loose matches on Subject: below --
2005-02-09 20:22 Caruso, Nick

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).