Re: [Openocd-development] [EMAIL PROTECTED]: Bug#489785: please addsample config file for cortex M3 target]

2008-07-14 Thread Uwe Hermann
On Wed, Jul 09, 2008 at 12:49:50PM +0100, Spen wrote: Could you clean it up a bit exclude interface specific stuff? LM3S8962 does not match LM3S811... I don't know what that means. The problem is more related to ftdi drivers ftdi own drivers require ft2232_device_desc Stellaris

[Openocd-development] parport.cfg question

2008-11-06 Thread Uwe Hermann
Hi, why does src/target/interface/parport.cfg use the parport_port 0xc8b8 config? Shouldn't that be either 0 or 0x3f8 rather? I've never seen that one used anywhere, and it definately doesn't work on my (standard PC) parallel port (0 does work). Thanks, Uwe. -- http://www.hermann-uwe.de |

[Openocd-development] [PATCH] Fix ep93xx compile on armel / arm

2008-11-06 Thread Uwe Hermann
Hi, I've updated the OpenOCD Debian package to r1130 yesterday, and the Debian autobuild daemons found a compile problem with ep93xx on the 'armel' architecture, see http://buildd.debian.org/fetch.cgi?pkg=openocd;ver=0.0%2Br1130-1;arch=armel;stamp=1225973025 The problem is how nanosleep() is

[Openocd-development] [PATCH] Fix typos.

2008-11-06 Thread Uwe Hermann
Fix a bunch of typos. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org Index: src/tcl/README_ABOUT_TCL.txt === ---

Re: [Openocd-development] parport.cfg question

2008-11-07 Thread Uwe Hermann
On Fri, Nov 07, 2008 at 02:17:39AM +0100, Uwe Hermann wrote: Hi, why does src/target/interface/parport.cfg use the parport_port 0xc8b8 config? Shouldn't that be either 0 or 0x3f8 rather? ^ I mean 0x378 here

Re: [Openocd-development] parport.cfg question

2008-11-17 Thread Uwe Hermann
On Fri, Nov 07, 2008 at 02:17:39AM +0100, Uwe Hermann wrote: Hi, why does src/target/interface/parport.cfg use the parport_port 0xc8b8 config? Shouldn't that be either 0 or 0x3f8 rather? I've never seen that one used anywhere, and it definately doesn't work on my (standard PC

Re: [Openocd-development] [PATCH] Fix ep93xx compile on armel / arm

2008-11-17 Thread Uwe Hermann
On Fri, Nov 07, 2008 at 01:59:36AM +0100, Uwe Hermann wrote: Hi, I've updated the OpenOCD Debian package to r1130 yesterday, and the Debian autobuild daemons found a compile problem with ep93xx on the 'armel' architecture, see http://buildd.debian.org/fetch.cgi?pkg=openocd;ver=0.0%2Br1130

[Openocd-development] [PATCH] Fix compiler warnings / bug

2008-12-28 Thread Uwe Hermann
Hi, I've been doing another update of the OpenOCD Debian package today and noticed some stuff which may be worth fixing upstream. One of them is fixing a few compiler warnings (see attached patch) and likely also one (non-cosmetic) bug (the 'id_buff' change, which seems to be a buffer overflow).

[Openocd-development] [PATCH] manpage updates

2009-01-08 Thread Uwe Hermann
Here's a bunch of updates and fixes for the manpage. - Mention that MIPS systems are supported - Mention Jim Tcl engine - Point to info page (not README) for a list of supported stuff - Document missing --pipe option - Fix copy-paste error (flex should have been openocd) Uwe. --

Re: [Openocd-development] First pass at 0.1.0 source distribution

2009-01-17 Thread Uwe Hermann
On Fri, Jan 16, 2009 at 09:47:21PM -0800, Rick Altherr wrote: I've built a new source tarball and put it at the same URL. It would be very helpful if someone (or multiple someones) could see if it builds on Linux, FreeBSD, and Windows. Please try enabling all of the USB-based interfaces

[Openocd-development] [PATCH] install manpage upon 'make install', ship it in tarballs

2009-01-17 Thread Uwe Hermann
See attached patch. Needs a './bootstrap ./configure make distcheck' after applying the patch to make a new tarball with the manpage included. HTH, Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org Index:

Re: [Openocd-development] Final pass at 0.1.0 source distribution

2009-01-19 Thread Uwe Hermann
On Mon, Jan 19, 2009 at 04:04:23PM -0700, Steve Franks wrote: We do install them in a common location, but you still need to tell us which files to load. The standard configs are just installed in the standard search path. So, '-f target/at91r40008.cfg' looks for target/at91r40008.cfg in

[Openocd-development] --debug broken

2009-01-19 Thread Uwe Hermann
Hi, I don't have much time to investigate this right now, but -d / --debug seems to be broken. It _might_ work when you pass e.g. '-d 3' the first time on the command line, but on the next run of the _same_ command line (just changing '-d 3' to e.g. '-d 1') it will not notice the change. OpenOCD

Re: [Openocd-development] udev rules for openocd

2009-01-20 Thread Uwe Hermann
On Tue, Jan 20, 2009 at 07:53:14AM -0600, lou.openocd...@fixit.nospammail.net wrote: And another part for rlink: # Raisonance RLink SYSFS{idVendor}==138e, SYSFS{idProduct}==9000, MODE=664, GROUP=plugdev Does the 4 in 664 make sense? Yes, you don't want _all_ users to have write access,

Re: [Openocd-development] udev rules for openocd

2009-01-20 Thread Uwe Hermann
On Tue, Jan 20, 2009 at 08:39:14PM +0100, Uwe Hermann wrote: On Tue, Jan 20, 2009 at 09:07:42AM -0800, Rick Altherr wrote: I await an updated file that includes all the additional device lines that have flown by on this list. Sure, attached. Oops, forgot one. Updated patch attached

Re: [Openocd-development] udev rules for openocd

2009-01-20 Thread Uwe Hermann
On Tue, Jan 20, 2009 at 10:15:42AM -0600, lou.openocd...@fixit.nospammail.net wrote: Of course. Why not 0, then? Does it make sense to give everybody read access to the node? Ah, I see. I don't know which one should be used, I don't mind either way. As far as I've seen in /etc/udev/ on my

[Openocd-development] [PATCH] Drop gdb/telnet port lines from partport* cfg files

2009-03-14 Thread Uwe Hermann
Hi, Please correct me if I'm wrong, but I don't think the parport.cfg and parport_dlc5.cfg files should specify gdb/telnet ports explicitly, none of the other interface files do either. The default ports for telnet/gdb/tcl (//) will then be used instead. Patch attached. Uwe. --

Re: [Openocd-development] OpenOCD flash programming STR9-comStick

2009-03-18 Thread Uwe Hermann
Hi, On Mon, Mar 16, 2009 at 12:01:44PM +, David Lange wrote: I found OpenOCD to be a free and command based flash programming tool. I currently have a project running using the Hitex USB stick STR9-comStick. However so far I only was able to download the application using the IDE HiTop.

[Openocd-development] [PATCH] LPC2148 _CPUTAPID and random other fixes

2009-03-23 Thread Uwe Hermann
Here's a patch for a real _CPUTAPID entry for the LPC2148. I don't know if they're the same for all LPC214x, this number is from an Olimex LPC-H2148. The chip on that board is LPC2148FBD64. Also fix a few cosmetic issues and comments in the file and add more docs and pointers to the datasheet.

[Openocd-development] [PATCH] Fix incorrect ixp42x stuff

2009-03-23 Thread Uwe Hermann
It's astounding how many ways you can find to misspell ixp42x. Fix various ixp42x typos in config files. Also, rename an incorrectly named 'pxi42x.cfg' file. Untested, but should work. I doubt the current svn files work. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de

[Openocd-development] [PATCH] New board configs: Olimex LPC-H2148, Keil MCB2140

2009-03-23 Thread Uwe Hermann
Add new board configs: Olimex LPC-H2148, Keil MCB2140. Both boards use an LPC2148, no external flash or RAM. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org Index: src/target/board/olimex_lpc_h2148.cfg

[Openocd-development] [PATCH] Improve comments of interface files

2009-04-02 Thread Uwe Hermann
Add full company name (if any), interface/dongle name, and URL to all interface config files. Please check the infos, I may not have gotten all of them right. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org |

[Openocd-development] [PATCH] Add missing STM32 BSTAPID to list of available ones

2009-04-02 Thread Uwe Hermann
Add missing STM32 0x06412041, Revision A BSTAPID to list of available ones. This is checked against revision 8, 11-Feb-2009, of the RM0008 manual from http://www.st.com/stonline/products/literature/rm/13902.pdf. Also, I noticed that stm32.cfg will _not_ work for some targets per se, as it

Re: [Openocd-development] [PATCH] Oocdlink interface

2009-04-02 Thread Uwe Hermann
On Wed, Mar 25, 2009 at 10:42:13PM +0100, joern kaipf wrote: Index: src/target/interface/oocdlink.cfg === --- src/target/interface/oocdlink.cfg (Revision 0) +++ src/target/interface/oocdlink.cfg (Revision 0) It seems this patch

[Openocd-development] Help with IAR ST Butterfly Min і eval board

2009-04-03 Thread Uwe Hermann
Hi, I'm trying to build a config file for the IAR ST Butterfly Minі eval board. This is what I have so far, but it doesn't work quite yet: Index: src/target/board/iar_st_butterfly_mini.cfg === ---

Re: [Openocd-development] Help with IAR ST Butterfly Min і eval board

2009-04-03 Thread Uwe Hermann
On Fri, Apr 03, 2009 at 05:31:10PM +0200, Freddie Chopin wrote: Uwe Hermann pisze: I tried to set jtag_speed 0 in stm32.cfg, but that didn't help. jtag_speed 0 gives you the maximum possible speed, as jtag_speed is a divisor Oops, true. I tried a few values for jtag_khz, e.g. 100, 10

[Openocd-development] [PATCH] Drop non-A variants of ft2232 targets

2009-04-03 Thread Uwe Hermann
Unless I'm mistaken, recent OpenOCD versions will automatically work with both A and non-A variants of the ft2232_device_desc variables. For example, ft2232_device_desc Amontec JTAGkey and ft2232_device_desc Amontec JTAGkey A should both work fine, on Windows as well as on Mac OS X and Linux,

[Openocd-development] [PATCH] STR9-comStick board files for -A1 and -A2 revisions

2009-04-03 Thread Uwe Hermann
As per OpenOCD flash programming STR9-comStick thread from a while ago, here are two board files for the different revisions of the Hitex STR9-comStick eval board. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org |

Re: [Openocd-development] Help with IAR ST Butterfly Min і eval board

2009-04-05 Thread Uwe Hermann
On Fri, Apr 03, 2009 at 05:42:48PM +0200, Magnus Lundin wrote: There is also a problem with error checking in the swjdp_transaction_endcheck that creates a recusive loop with this type of problem. Try the following patch. Hm, slightly different behavior, but still not working I think.

Re: [Openocd-development] PXA270

2009-04-05 Thread Uwe Hermann
Hi, On Mon, Mar 02, 2009 at 04:40:12PM +0300, Sergey Lapin wrote: But, I have PXA270 board (Colibri PXA270 + Orchid board) on my desk Can you please make a patch to add this as a board cfg file? Thanks, Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de

Re: [Openocd-development] [PATCH] Drop non-A variants of ft2232 targets

2009-04-21 Thread Uwe Hermann
On Fri, Apr 03, 2009 at 07:52:05PM +0200, Uwe Hermann wrote: Unless I'm mistaken, recent OpenOCD versions will automatically work with both A and non-A variants of the ft2232_device_desc variables. For example, ft2232_device_desc Amontec JTAGkey and ft2232_device_desc Amontec JTAGkey

Re: [Openocd-development] [PATCH] Drop unnecessary STM32 BSTAPIDs

2009-04-23 Thread Uwe Hermann
On Thu, Apr 23, 2009 at 07:36:59PM +0200, Øyvind Harboe wrote: Hmm... why not delete the files? Possibly add a comment to the stm32 config file for each of the supported targets... I wouldn't do that. It's a good thing to have one explicit board/* file for every eval board so that users can

Re: [Openocd-development] C99 compatibility (Was: MSVC compatibility (Was: [PATCH] CMake))

2009-04-30 Thread Uwe Hermann
On Thu, Apr 30, 2009 at 08:22:32PM +0200, Nico Coesel wrote: My vote would be for OpenOCD to stay a C program. Same here. Just my 2 cents, Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

Re: [Openocd-development] [PATCH] Add Hitex STR9-comStick config file

2009-04-30 Thread Uwe Hermann
On Fri, May 01, 2009 at 12:56:43AM +0200, Uwe Hermann wrote: Add Hitex STR9-comStick config file. Support both the -A1 and -A2 revisions using the same config file. Forgot the patch. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http

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

2009-05-04 Thread Uwe Hermann
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 useful for others: https://buildd.debian.org/pkg.cgi?pkg=openocd Please

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

2009-05-06 Thread Uwe Hermann
Hi, On Mon, May 04, 2009 at 11:56:00AM -0700, Zach Welch wrote: The attached patch should fix the cast alignment warnings caused by jim.c on platforms with stricter alignment rules. If you get more problems, please run the builds with --disable-werror so I can try to fix all of them in one

Re: [Openocd-development] [Openocd-svn] r2514 - trunk

2009-07-14 Thread Uwe Hermann
On Tue, Jul 14, 2009 at 11:46:59AM +0200, Øyvind Harboe wrote: Or do you mean to say that --disable-parport-ppdev does not work?? I had to specify --disable-parport-ppdev before my parport interface would work under Ubuntu 9.04. Hm, that would be strange. Did you do 'modprobe ppdev'?

[Openocd-development] OpenOCD 0.2.0 in Debian unstable

2009-07-15 Thread Uwe Hermann
Hi, just a quick notification, I uploaded a 0.2.0 package to Debian unstable (well, sort of, it's actually r2529). So far all architectures seem to build fine, didn't check for warnings though (-Werror is disabled in the build). https://buildd.debian.org/pkg.cgi?pkg=openocd Hope that helps,

Re: [Openocd-development] [PATCH] Add support for the DLP-USB1232H JTAG module

2009-09-14 Thread Uwe Hermann
On Thu, Sep 10, 2009 at 03:00:27AM +0200, Uwe Hermann wrote: I recently got a DLP Design DLP-USB1232H UART/SPI/JTAG module which is based on an FT2232H chip. I originally intended to use it to flash SPI BIOS chips from various mainboards (for details on that setup see http://www.coreboot.org

[Openocd-development] [PATCH] pull request: Typos and documentation fixes

2009-11-26 Thread Uwe Hermann
-uwe.de | http://www.randomprojects.org http://www.crazy-hacks.org | http://www.unmaintained-free-software.org From da5f4c32e087bb6725e6f48395087925d900c6d7 Mon Sep 17 00:00:00 2001 From: Uwe Hermann u...@hermann-uwe.de Date: Tue, 24 Nov 2009 20:01:15 +0100 Subject: [PATCH 1/3] Fix a bunch of typos

Re: [Openocd-development] [PATCH] pull request: Typos and documentation fixes

2009-11-27 Thread Uwe Hermann
On Thu, Nov 26, 2009 at 11:46:03AM -0800, David Brownell wrote: On Thursday 26 November 2009, Zach Welch wrote: For the future, commit messages should have a short subject line and at least one line of description. Agreed with the usual exception: there are minor patches where the

[Openocd-development] [PATCH] Add support for the DLP-USB1232H JTAG module (repost)

2010-04-17 Thread Uwe Hermann
-software.org From 5e4981d2e3900836ab1e87ad076312275a601e29 Mon Sep 17 00:00:00 2001 From: Uwe Hermann u...@hermann-uwe.de Date: Fri, 27 Nov 2009 09:55:54 +0100 Subject: [PATCH] Add an interface file for DLP Design DLP-USB1232H. The DLP Design DLP-USB1232H UART/SPI/JTAG module is based on an FT2232H chip

[Openocd-development] [PATCH] Fix a bunch of typos.

2011-03-16 Thread Uwe Hermann
Fix a bunch of typos. Most are in code comments, so nothing should break. UNKOWN_COMMAND and CMD_UNKOWN are not used elsewhere, so correcting the spelling should also not break anything. --- src/flash/nand/mx2.c |2 +- src/flash/nand/mx3.c |2 +- src/flash/nor/at91sam3.c

Re: [Openocd-development] Change in openocd[master]: docs: update project url's

2011-10-13 Thread Uwe Hermann
On Wed, Oct 12, 2011 at 01:04:26PM +0300, Spencer Oliver (Code Review) wrote: Spencer Oliver has submitted this change and it was merged. Change subject: docs: update project url's .. docs: update project url's

Re: [Openocd-development] Docs not building

2011-10-13 Thread Uwe Hermann
On Thu, Oct 13, 2011 at 04:29:09PM +0200, Akos Vandra wrote: Hi! I tried building the docs from the HEAD (did a git pull, I guess that's the counterpart for svn update), but it gives an error. I might be missing some package, but I don't know what is needed. I have installed texinfo

[Openocd-development] gitweb down?

2011-10-20 Thread Uwe Hermann
Hi, seems like the gitweb for OpenOCD is down? E.g. the links such as http://openocd.zylin.com/gitweb/?p=openocd.git;a=commit;h=a756b1bcdffef34a6d60d7a2706da9574663f544 no longer work (they did yesterday). There are links from Gerrits pages to the gitweb install, for example (and that's a good

[Openocd-development] Change in openocd[master]: Add an interface file for DLP Design DLP-USB1232H.

2011-10-13 Thread Uwe Hermann (Code Review)
Uwe Hermann has uploaded a new change for review. Change subject: Add an interface file for DLP Design DLP-USB1232H. .. Add an interface file for DLP Design DLP-USB1232H. The DLP Design DLP-USB1232H UART/SPI/JTAG module

[Openocd-development] Change in openocd[master]: Add a board file for the Glyn Tonga2.

2011-10-13 Thread Uwe Hermann (Code Review)
Uwe Hermann has uploaded a new change for review. Change subject: Add a board file for the Glyn Tonga2. .. Add a board file for the Glyn Tonga2. This is a Toshiba TMPA900CMXBG (ARM9) based SO-DIMM CPU module with 64MB DDR SDRAM