Re: [Openocd-development] SWD vs. SWIM

2010-02-22 Thread Michel Catudal
simon qian a écrit : > Hi, > As I know, ST-Link supports JTAG for STM32 and SWIM for STM8, but it > doesn't support SWD. > If you want to reflash STM32 of ST-Link to be supported by OpenOCD, > you can try Versaloon driver, but you will lost ST-Link's functionality. > The version on the STM8Discov

Re: [Openocd-development] Recover command for a "Locked" TI/Luminary LM3Sxxxx Microcontroller

2010-02-22 Thread Arne Pagel
> They aren't particularly tested yet. I was thinking that > the $SUBJECT feature might be the most immediately useful > way to exercise that code ... certainly much less invasive > than my original notion of using it to simplify drivers by > letting them eliminate "pathmove" and "statemove" suppo

Re: [Openocd-development] SWD info Was: 0.5.0-dev started

2010-02-22 Thread David Brownell
On Monday 22 February 2010, simon qian wrote: > I collect some of the differences in ADIv5 between JTAG and SWD: > > 1. Clear Error Flag in Control/Statis: > See ARM ADIv5, 6-16. > Clearing the sticky error flags in the Control/Status Register > In the Control/Status Register, the sticky error fla

Re: [Openocd-development] Relase 0.4.0 is out ... 0.5.0-dev started

2010-02-22 Thread simon qian
I collect some of the differences in ADIv5 between JTAG and SWD: 1. Clear Error Flag in Control/Statis: See ARM ADIv5, 6-16. Clearing the sticky error flags in the Control/Status Register In the Control/Status Register, the sticky error flags are: •STICKYERR, bit[5] •STICKCMP, bit[4] •STICKORUN, b

[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-econotag.c

Re: [Openocd-development] JLink cable versions (was: FYI -- SWD work)

2010-02-22 Thread Xiaofan Chen
On Sun, Feb 21, 2010 at 8:17 AM, Xiaofan Chen wrote: > 2010/2/20 Michel Catudal : >> It looks like an original one. Segger makes them for Atmel, they are cheaper >> because they are restricted to one manufacturer. >> It would be interesting to see if OpenOCD could make it work with something >> el