Re: [Openocd-development] freescale mv13224v - flash support

2010-04-30 Thread Mariano Alvira
On Fri, Apr 30, 2010 at 08:14:34PM -0400, Duane Ellis wrote: > Been away for a while - able to spend some time again. > > It's not listed in the current docs. > > any body do flash support for this yet? Or anybody working on it? > > I have one of these: > > > http://redwirellc.com/store/index.

Re: [Openocd-development] adapter_khz ...

2010-03-24 Thread Mariano Alvira
On Wed, Mar 24, 2010 at 05:32:23PM +0100, Laurent Gauch wrote: > David Brownell wrote: > > I just want to have in the target file the possibility to have something > like : > > target_jtag_max_frequency_khz 4 > target_swd_max_frequency_khz 12000 > target_spi_max_frequency_khz 5 > target_i

[Openocd-development] Announcing the RedBee EconoTAG

2010-03-10 Thread Mariano Alvira
Hello, I am pleased to announce the RedBee EconoTAG: http://redwirellc.com/store/index.php?route=product/product&product_id=56 This is a ideal development board for getting started with the Freescale MC13224v ARM7 and 802.15.4 radio. It is also great for wiring into your prototypes. Access to

Re: [Openocd-development] [PATCH 0/3] add mc13224v; redbee-econotag; redbee-usb

2010-02-28 Thread Mariano Alvira
On Sun, Feb 28, 2010 at 10:42:30AM -0800, David Brownell wrote: > On Sunday 28 February 2010, Mariano Alvira wrote: > > On Sat, Feb 27, 2010 at 10:54:29PM -0800, David Brownell wrote: > > > Merged the first two. > > ... and now the third one ... Nice thanks! > >

Re: [Openocd-development] [PATCH 0/3] add mc13224v; redbee-econotag; redbee-usb

2010-02-28 Thread Mariano Alvira
On Sat, Feb 27, 2010 at 10:54:29PM -0800, David Brownell wrote: > Merged the first two. Also, did you not merge the redbee-usb patch because the product isn't available yet or is there another reason? -Mar. ___ Openocd-development mailing list Openocd-d

Re: [Openocd-development] [PATCH 0/3] add mc13224v; redbee-econotag; redbee-usb

2010-02-28 Thread Mariano Alvira
On Sat, Feb 27, 2010 at 10:54:29PM -0800, David Brownell wrote: > Merged the first two. Great, thanks for your help. -Mar. ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-develo

Re: [Openocd-development] [PATCH 2/3] Add board redbee-econotag.cfg

2010-02-27 Thread Mariano Alvira
On Sat, Feb 27, 2010 at 04:49:58PM -0800, David Brownell wrote: > On Saturday 27 February 2010, Mariano Alvira wrote: > > The Redbee Econotag is an open hardware development kit from > > Redwire, LLC (www.redwirellc.com/store), for the Freescale > > MC13224V ARM7TDMI + 802.1

[Openocd-development] [PATCH 3/3] Adds the redbee-usb board which uses INTERFACE_B.

2010-02-27 Thread Mariano Alvira
The Redbee USB is a small formfactor usb stick from Redwire, LLC (www.redwirellc.com/store), that incorporates a Freescale MC13224V ARM7TDMI + 802.15.4 radio and an FT2232H. Channel B is connected to the mc13224v's JTAG interface and Channel A is connected to UART1. Additional features are: -

[Openocd-development] [PATCH 1/3] Add target mc13224v.cfg for the mc13224v from Freescale.

2010-02-27 Thread Mariano Alvira
The MC13224V is a FreeScale ARM7TDMI based IEEE® 802.15.4 platform for Zigbee and similar low-power wireless applications. Using PIP (Platform In Package) technology, it integrates: an RF balun and matching network; a buck converter (only an external inductor is necessary); 96KB of SRAM; and 128KB

[Openocd-development] [PATCH 2/3] Add board redbee-econotag.cfg

2010-02-27 Thread Mariano Alvira
The Redbee Econotag is an open hardware development kit from Redwire, LLC (www.redwirellc.com/store), for the Freescale MC13224V ARM7TDMI + 802.15.4 radio. It includes both an MC13224V and an FT2232H on board. Channel A is connected to the mc13224v's JTAG interface and Channel B is connected to UA

[Openocd-development] [PATCH 0/3] add mc13224v; redbee-econotag; redbee-usb

2010-02-27 Thread Mariano Alvira
mc13224v config and redbee boards --- incorporating the suggested edits and adding detail to the commit messages. Mariano Alvira (3): Add target mc13224v.cfg for the mc13224v from Freescale. Add board redbee-econotag.cfg Adds the redbee-usb board which uses INTERFACE_B. src/jtag/drivers

Re: [Openocd-development] [PATCH 1/3] Add target mc13224v.cfg.

2010-02-27 Thread Mariano Alvira
On Sat, Feb 27, 2010 at 01:29:28PM -0800, David Brownell wrote: > On Saturday 27 February 2010, Mariano Alvira wrote: > > There's a business in chip-specific LED-blinking systems?? ;) Oh there sure is! I call it the devkit business. > > To the extent that wanting to do so

Re: [Openocd-development] [PATCH 1/3] Add target mc13224v.cfg.

2010-02-27 Thread Mariano Alvira
On Sat, Feb 27, 2010 at 03:43:42PM -0500, Jon Smirl wrote: > > The mc13224 has 64KB flash and 96KB RAM. It's actually 128KB. The last page is the calibration data so you can only use 124KB. And only up to the first 96KB can get mirrored. -Mar. ___ Ope

Re: [Openocd-development] [PATCH 1/3] Add target mc13224v.cfg.

2010-02-27 Thread Mariano Alvira
On Sat, Feb 27, 2010 at 10:51:13AM -0800, David Brownell wrote: > On Saturday 27 February 2010, Mariano Alvira wrote: > > On Sat, Feb 27, 2010 at 09:00:32AM -0800, David Brownell wrote: > > > On Thursday 25 February 2010, Mariano Alvira wrote: > > > > --- >

Re: [Openocd-development] [PATCH 1/3] Add target mc13224v.cfg.

2010-02-27 Thread Mariano Alvira
On Sat, Feb 27, 2010 at 09:00:32AM -0800, David Brownell wrote: > On Thursday 25 February 2010, Mariano Alvira wrote: > > --- > > Needs a patch comment. Ok. Do the subject lines not get added as patch comments? I figured they would since they are generated from the commit messag

[Openocd-development] [PATCH 3/3] Adds the redbee-usb board which uses INTERFACE_B.

2010-02-25 Thread Mariano Alvira
--- src/jtag/drivers/ft2232.c |5 + tcl/board/redbee-usb.cfg |8 2 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 tcl/board/redbee-usb.cfg diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 7979b39..803d54f 100644 --- a/src/jtag/dri

[Openocd-development] [PATCH 0/3] add mc13224v; redbee-econotag; redbee-usb

2010-02-25 Thread Mariano Alvira
mc13224v config and redbee boards --- incorporating all of the suggested edits. Mariano Alvira (3): Add target mc13224v.cfg. Add board redbee-econotag.cfg Adds the redbee-usb board which uses INTERFACE_B. src/jtag/drivers/ft2232.c | 102 + tcl

[Openocd-development] [PATCH 1/3] Add target mc13224v.cfg.

2010-02-25 Thread Mariano Alvira
--- tcl/target/mc13224v.cfg | 60 +++ 1 files changed, 60 insertions(+), 0 deletions(-) create mode 100644 tcl/target/mc13224v.cfg diff --git a/tcl/target/mc13224v.cfg b/tcl/target/mc13224v.cfg new file mode 100644 index 000..6766cf7 --- /dev/nul

[Openocd-development] [PATCH 2/3] Add board redbee-econotag.cfg

2010-02-25 Thread Mariano Alvira
--- src/jtag/drivers/ft2232.c | 97 + tcl/board/redbee-econotag.cfg |8 +++ 2 files changed, 105 insertions(+), 0 deletions(-) create mode 100644 tcl/board/redbee-econotag.cfg diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c ind

Re: [Openocd-development] [PATCH 1/3] Adds a mechanism to specify the FTDI channel in the layout

2010-02-25 Thread Mariano Alvira
On Thu, Feb 25, 2010 at 12:16:24AM -0800, David Brownell wrote: > On Wednesday 24 February 2010, Mariano Alvira wrote: > > +   int channel; > > OK, I merged this one ... wrote a patch comment of my own, based > on the e-mail discussions, since you didn't inlc

Re: [Openocd-development] [PATCH 2/3] Add support for the redbee-econotag and mc13224v.cfg.

2010-02-24 Thread Mariano Alvira
On Wed, Feb 24, 2010 at 07:51:30PM +0100, Øyvind Harboe wrote: > On Wed, Feb 24, 2010 at 7:47 PM, Mariano Alvira wrote: > > On Wed, Feb 24, 2010 at 07:30:31PM +0100, Øyvind Harboe wrote: > >> The target/board config files should be broken out in a separate commit. > > &

Re: [Openocd-development] [PATCH 2/3] Add support for the redbee-econotag and mc13224v.cfg.

2010-02-24 Thread Mariano Alvira
On Wed, Feb 24, 2010 at 07:30:31PM +0100, Øyvind Harboe wrote: > The target/board config files should be broken out in a separate commit. Ok. Will do. > > Delete the above lines, they don't belong in the target file. Thanks. > > > +#jtag_rclk 2000 > > Why is this line commented out? I haven'

[Openocd-development] [PATCH 3/3] Adds the redbee-usb board which uses INTERFACE_B.

2010-02-24 Thread Mariano Alvira
--- src/jtag/drivers/ft2232.c |5 + tcl/board/redbee-usb.cfg |5 + 2 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 tcl/board/redbee-usb.cfg diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 7e2eeda..f366764 100644 --- a/src/jtag/driver

[Openocd-development] [PATCH 2/3] Add support for the redbee-econotag and mc13224v.cfg.

2010-02-24 Thread Mariano Alvira
--- src/jtag/drivers/ft2232.c | 67 ++ tcl/board/redbee-econotag.cfg |5 +++ tcl/target/mc13224v.cfg | 80 + 3 files changed, 152 insertions(+), 0 deletions(-) create mode 100644 tcl/board/redbee-econotag.cf

[Openocd-development] [PATCH 1/3] Adds a mechanism to specify the FTDI channel in the layout

2010-02-24 Thread Mariano Alvira
--- src/jtag/drivers/ft2232.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 5042a22..4b84fa8 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -145,6 +145,7 @@ struct ft2232_layo

[Openocd-development] [PATCH 0/3] Extends ftdi_layouts to have a configurable channel; adds mc13224v target and two new boards that use it.

2010-02-24 Thread Mariano Alvira
patch set updated to use 'channel' instead of 'interface' Mariano Alvira (3): Adds a mechanism to specify the FTDI channel in the layout Add support for the redbee-econotag and mc13224v.cfg. Adds the redbee-usb board which uses INTERFACE_B. src/jtag/drivers

Re: [Openocd-development] [PATCH 2/2] Adds a mechanism to specify the FTDI interface (A or B) in the layout

2010-02-23 Thread Mariano Alvira
On Tue, Feb 23, 2010 at 03:31:45PM +0100, Laurent Gauch wrote: > I think you are confusing the notion of Interface, Layout and Channel. > > The Layout defines how a Channel is used. > > The FT2232 C D and FT2232 H provides two Channels, each Channel can be > opened separately and can receive the

[Openocd-development] [PATCH 3/3] Adds the redbee-usb board which uses INTERFACE_B.

2010-02-22 Thread Mariano Alvira
--- src/jtag/drivers/ft2232.c |5 + tcl/board/redbee-usb.cfg |5 + 2 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 tcl/board/redbee-usb.cfg diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index fd51660..526077e 100644 --- a/src/jtag/driver

[Openocd-development] [PATCH 1/3] Adds a mechanism to specify the FTDI interface in the layout

2010-02-22 Thread Mariano Alvira
--- src/jtag/drivers/ft2232.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/jtag/drivers/ft2232.c b/src/jtag/drivers/ft2232.c index 5042a22..65b63dd 100644 --- a/src/jtag/drivers/ft2232.c +++ b/src/jtag/drivers/ft2232.c @@ -145,6 +145,7 @@ struct ft2232_layo

[Openocd-development] [PATCH 2/3] Add support for the redbee-econotag and mc13224v.cfg.

2010-02-22 Thread Mariano Alvira
--- src/jtag/drivers/ft2232.c | 67 ++ tcl/board/redbee-econotag.cfg |5 +++ tcl/target/mc13224v.cfg | 80 + 3 files changed, 152 insertions(+), 0 deletions(-) create mode 100644 tcl/board/redbee-econotag.cf

[Openocd-development] [PATCH 0/3] Extends ftdi_layouts to have configurable interface; adds mc13224v target and two new boards that use it.

2010-02-22 Thread Mariano Alvira
Mariano Alvira (3): Adds a mechanism to specify the FTDI interface in the layout Add support for the redbee-econotag and mc13224v.cfg. Adds the redbee-usb board which uses INTERFACE_B. src/jtag/drivers/ft2232.c | 82 +++- tcl/board/redbee

Re: [Openocd-development] [PATCH 0/2] mc13224v config files and INTERFACE_B support

2010-02-20 Thread Mariano Alvira
On Sat, Feb 20, 2010 at 04:15:40PM -0800, David Brownell wrote: > On Saturday 20 February 2010, Mariano Alvira wrote: > > The first patch adds the mc13224v.cfg file and the redbee-econotag > > layout. > > > > The second patch adds support for using INTERFACE_B on the

[Openocd-development] [PATCH 1/2] Add support for the redbee-econotag and mc13224v.cfg.

2010-02-20 Thread Mariano Alvira
--- src/jtag/drivers/ft2232.c | 64 tcl/board/redbee-econotag.cfg |5 +++ tcl/target/mc13224v.cfg | 80 + 3 files changed, 149 insertions(+), 0 deletions(-) create mode 100644 tcl/board/redbee-econotag.cfg

[Openocd-development] [PATCH 0/2] mc13224v config files and INTERFACE_B support

2010-02-20 Thread Mariano Alvira
The first patch adds the mc13224v.cfg file and the redbee-econotag layout. The second patch adds support for using INTERFACE_B on the ft2232h and the redbee-usb layout (which uses INTERFACE_B) Mariano Alvira (2): Add support for the redbee-econotag and mc13224v.cfg. Adds a mechanism to

[Openocd-development] [PATCH 2/2] Adds a mechanism to specify the FTDI interface (A or B) in the layout

2010-02-20 Thread Mariano Alvira
Also add the redbee-usb board which is the same as the econotag but used INTERFACE_B. --- src/jtag/drivers/ft2232.c | 48 +++- tcl/board/redbee-usb.cfg |5 2 files changed, 30 insertions(+), 23 deletions(-) create mode 100644 tcl/board/redbee-us

Re: [Openocd-development] [PATCH] update core_cache in arm7_9_write_core_regs

2009-11-03 Thread Mariano Alvira
On Tue, Nov 03, 2009 at 10:13:24PM +0100, Øyvind Harboe wrote: > >> Should this fix be included for 0.3 or not? > > > > Doesn't matter to me... > > What I meant to ask is: do you think other OpenOCD > users would appreciate it if we included this fix at this > advanced stage? I have no idea what

[Openocd-development] [PATCH] update core_cache in arm7_9_write_core_regs

2009-11-03 Thread Mariano Alvira
arm7_9_write_core_regs did not update the core_cache and changes would get clobbered by arm7_9_full_context. This change updates the core_cache before writing the register list. --- src/target/arm7_9_common.c | 17 ++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git

Re: [Openocd-development] [PATCH] update core_cache in arm7_9_write_core_regs

2009-11-03 Thread Mariano Alvira
On Tue, Nov 03, 2009 at 09:24:31PM +0100, Øyvind Harboe wrote: > How did this problem manifest itself? As a quick way to get code running on a mc13224v, I perform a soft_reset_halt, load an image into RAM, and then I need to bypass the internal bootloader by changing the PC with: arm7_9_write_

Re: [Openocd-development] [PATCH] update core_cache in arm7_9_write_core_regs

2009-11-03 Thread Mariano Alvira
On Tue, Nov 03, 2009 at 03:03:47PM -0700, David Brownell wrote: > Making me wonder why the command still exists. If no current > developers are using it, I'd be inclined to just remove it > in the 0.4.x cycle... Well I certainly didn't like that command as-is! > > So that when you were typing

Re: [Openocd-development] a minor victory

2009-06-01 Thread Mariano Alvira
On Sun, May 31, 2009 at 04:36:41PM -0700, Zach Welch wrote: > Hi all, > > After my patch series today, I discovered that I am finally able to > flash my custom target reliably from the latest trunk. > > This is the _first_ time that I have seen success with a recent build. > Personally, I consi

Re: [Openocd-development] openocd policies

2009-05-08 Thread Mariano Alvira
On Fri, May 08, 2009 at 10:54:47AM -0700, Zach Welch wrote: > Hi all, > > I hereby solicit opinions for how the OpenOCD community should be run. > > Please reply with your list of policy and process ideas in this thread > (in bullet list form, preferably). Brevity and clarity will make it > easy

Re: [Openocd-development] Debian package: build errors on various architectures

2009-05-04 Thread Mariano Alvira
On Mon, May 04, 2009 at 12:21:53PM +0200, Uwe Hermann wrote: > Hi, > > I uploaded a new Debian package of OpenOCD recently (based on r1583) > which produced a number of build warnings (now errors because of > -Werror). Haven't had the time to look into the issues, but the build > logs could be use

[Openocd-development] [PATCH 4/4] similar to #2 but in xscale.c

2009-05-03 Thread Mariano Alvira
as this test is included in two places, it would probably be a good idea to name and define it as a macro. Maybe one of the OpenOCD guys has a good suggestion for a name? --- src/target/xscale.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/target/xscale.c b/src/ta

[Openocd-development] [PATCH 3/4] fixes the following warning/error in etb.c

2009-05-03 Thread Mariano Alvira
etb.c:451: error: large integer implicitly truncated to unsigned type by changing ~0UL to 0x in an assignment of a u32 --- src/target/etb.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/target/etb.c b/src/target/etb.c index b96ffe3..d9b0674 100644 --- a/src

[Openocd-development] [PATCH 2/4] fixes the following warning/error: in etm.c

2009-05-03 Thread Mariano Alvira
etm.c:997: error: comparison is always true due to limited range of data type by replacing ~0UL with 0x. The comparision is against a u32. --- src/target/etm.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/target/etm.c b/src/target/etm.c index 41897ec..

[Openocd-development] [PATCH 1/4] fixes warning as error about a signed vs. unsigned comparison by casting the local unsigned variable as (long long).

2009-05-03 Thread Mariano Alvira
-Mar. --- src/helper/command.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/helper/command.c b/src/helper/command.c index d5be42d..e1751d4 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -783,7 +783,7 @@ int handle_sleep_command(struct command_cont

Re: [Openocd-development] [PATCH] re-based MC1322x patch

2009-04-22 Thread Mariano Alvira
On Wed, Apr 22, 2009 at 12:03:30PM -0700, Zach Welch wrote: > On Wed, 2009-04-22 at 11:50 -0700, Zach Welch wrote: > > Hi all, > > > > This is the second of the two patches provided by Jeff Williams, > > re-based against r1509. I have barely glanced through it for now, as > > the old patch simply

Re: [Openocd-development] my tech proposal

2009-04-22 Thread Mariano Alvira
On Wed, Apr 22, 2009 at 10:55:06AM -0700, Rick Altherr wrote: > > git makes the merging easier, but there is still the people problem of > finding the development branch to try it out. Then in that case I highly recommend to anyone who wants to use open tools with the mc1322x series of parts to

Re: [Openocd-development] my tech proposal

2009-04-22 Thread Mariano Alvira
On Wed, Apr 22, 2009 at 10:19:06AM -0700, Rick Altherr wrote: > > Can we just open a branch in the main OpenOCD repo instead? Having > separate repos just make it more difficult to track things down and do > merges. > I think git makes this easy. This way you can do your thing and I can do mi

Re: [Openocd-development] my tech proposal

2009-04-22 Thread Mariano Alvira
On Tue, Apr 21, 2009 at 07:55:46PM -0700, Zach Welch wrote: > > * MC1322x target support > - integrate and test support from Jeff and Duane > - get working with a known good interface (i.e. not today's jlink) > I plan to be working on this (hi everyone. I haven't posted yet, but have been li