[mc1322x] CodeSourcery , flash loader

Mariano Alvira mar at devl.org
Sun May 2 14:03:16 EDT 2010


On Sun, May 02, 2010 at 10:20:24AM -0700, Andrew Pullin wrote:
> Well, I didn't figure it out until I looked at the FTDI site, where they  
> say that JTAG-over-MPSSE is possible. Although I can't see *exactly* how  
> it works, since the example they give is written in Delphi, of all  
> things. I guess this is also completely hinged on someone implementing  
> support for the MPSSE calls into OpenOCD, and the mc1322x specific JTAG  
> data, and the feature doesn't mean much before then?

OpenOCD supports the FT2232H and MPSSE. OpenOCD also supports the
ARM7TDMI-S (which is why you can use it with the mc13224v at
all). I've added the necessary config files to mainline
openocd. mc13224v.cfg sets up the memory space for Openocd. Then
redbee-econotag.cfg tells openocd look for an FT2232H and to do
JTAG-over-MPSSE on the right channel/interface (the nomenclature there
is mixed). This also sets which pins should be used for reset.

For more details, see:

   http://mc1322x.devl.org/openocd.html

I also have a bitbanging utility that used libftdi to bit bang the
mc13224v on the econotag (or any other board really, it's easy to
extend). It's called bbmc. You can use bbmc to do a reset or a VREF2
erase of the flash. See:

   http://mc1322x.devl.org/bbmc.html

>
> If the Econotag has onboard JTAG, does that mean that there's a way to  
> do a similar thing with the redbee-dev, not needed a JTAG pod? 

Yes, you plug in an EconoTAG and run:

   openocd -f board/redbee-econotag.cfg

> Because  
> it has an LED on it, which is immensely useful. 

The Econotag as two leds a red and a green. The capabilities of all
the hardware I know about are listed here:

  http://mc1322x.devl.org/hardware.html

If anyone finds out about mc13224v based hardware that isn't listed
here please let me know. I'll get my hands on it and figure out what
it can do.

-Mar.



More information about the mc1322x mailing list