Re: [Openocd-development] arm11 srst behavior

2009-10-14 Thread David Brownell
On Tuesday 13 October 2009, michal smulski wrote: arm11 has a bug in that you cannot at the same time assert srst to the arm11 core and access its JTAG logic. Asserting srst will disable TAP logic. Maybe *some* processors do, but I just fired up an OMAP2420 and found that it's not true:

Re: [Openocd-development] arm11 srst behavior

2009-10-14 Thread Øyvind Harboe
So I'd think the current code is behaving, modulo issues you might have with iMX31 ... The currrent code target/arm11* code doesn't assert srst, it just issues a halt during assert. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash

Re: [Openocd-development] Build problems with xscale/debug_handler.bin

2009-10-14 Thread Øyvind Harboe
Worked. Committed. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de

Re: [Openocd-development] [patch/rfc] simplify XScale debug handler installation

2009-10-14 Thread Wookey
+++ Michael Schwingen [2009-10-13 19:41 +0200]: David Brownell wrote: Looks quite stable to me. I use it regularly at home on IXP42x (I have a BDI2000 at work), mostly in the mode of reset halt / erase program flash / reset run, plus from time to time some gdb-based debugging. I had some

Re: [Openocd-development] Fw: [PATCH] OpenRD board configuration

2009-10-14 Thread Øyvind Harboe
Committed. Thanks! -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development@lists.berlios.de

Re: [Openocd-development] What's git's equivalent to svn version #?

2009-10-14 Thread Sergey Lapin
Hi! On Wed, Oct 14, 2009 at 6:11 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: What's the most reasonable way to refer to a git version for human beings? In svn it's a small integer(only in the thousands). I was thinking about something like 0.2 + N versions. Most git-using people are

Re: [Openocd-development] What's git's equivalent to svn version #?

2009-10-14 Thread Magnus Lundin
Øyvind Harboe wrote: What's the most reasonable way to refer to a git version for human beings? In svn it's a small integer(only in the thousands). I was thinking about something like 0.2 + N versions. Actually you can checkout things like $ git checkout master~2 Makefile See the

Re: [Openocd-development] What's git's equivalent to svn version #?

2009-10-14 Thread Johannes Stezenbach
On Wed, Oct 14, 2009 at 04:11:33PM +0200, Øyvind Harboe wrote: What's the most reasonable way to refer to a git version for human beings? In svn it's a small integer(only in the thousands). I was thinking about something like 0.2 + N versions. How about 'git describe'? Johannes

Re: [Openocd-development] What's git's equivalent to svn version #?

2009-10-14 Thread David Brownell
On Wednesday 14 October 2009, Johannes Stezenbach wrote: I was thinking about something like 0.2 + N versions. How about 'git describe'? On one recent tree it says: 0.2.0-367-g4bc3132 where the 367 ~= N ... good answer! That also pretty much matches what openocd --version says: Open

Re: [Openocd-development] What's git's equivalent to svn version #?

2009-10-14 Thread Austin, Alex
Well, that won't really work since history is nonlinear. You can git log --oneline -- path/to/file to list out the last commit to modify that file. Then git describe abbreviated_hash_from_first_line_of_log and it'll give you something like: tagname-commit-count-since-gAbbreviated SHA1 which is

Re: [Openocd-development] [patch/rfc] simplify XScale debug handler installation

2009-10-14 Thread David Brownell
On Wednesday 14 October 2009, Michael Schwingen wrote: Have you setup correct Mini-IC entries using the xscale vector_table command? Without that, the kernel crashes on the first exception, since the mini-IC does not match ram contents. We should start collecting hints for Linux

[Openocd-development] [patch] doc updates to match help better

2009-10-14 Thread David Brownell
This makes the documentation a closer match to help output: - pathmove somehow was not documented in the User's Guide - jtag_nsrst_assert_width and jtag_ntrst_assert_width are new; both needed descriptions. - Removed two undocumented and fairly useless script mechanisms: *

Re: [Openocd-development] PATCH: 64 bit fixes for Windows x64 compilation using libftdi/libusb

2009-10-14 Thread David Brownell
On Tuesday 13 October 2009, Redirect Slash NIL wrote: Sorry about the inline patch. Please find the original diff file as a text attachment. See appended comments. As is usual with this type of port, some of the type warnings are real issues that need fixing. But a lot of them seem to be

Re: [Openocd-development] SWJ interface support -- expand vsllink_execute_queue command type

2009-10-14 Thread David Brownell
On Tuesday 13 October 2009, simon qian wrote: Any comments or suggestions? I don't follow. Maybe if you showed the proposed change to src/jtag/interface.h and sketched how it would be used in higher level code, that would help... - Dave ___

Re: [Openocd-development] NS9360 Unknown EmbeddedICE version and halt problem

2009-10-14 Thread David Brownell
On Monday 12 October 2009, Henry Margies wrote: By the way, I just found the BSDL file for the NS9360 CPU. Not sure if that is helping, but it says (things like): -- Specifies the number of bits in the instruction register.        attribute INSTRUCTION_LENGTH of cooper: entity is 3; So

Re: [Openocd-development] Bug report with FT2232H

2009-10-14 Thread David Brownell
On Monday 12 October 2009, Jiří Kubias wrote: Im using Amontec JTAGkey2 with FT2232H with LPC2364.  The Openocd often reports me this error: Error: couldn't read the requested number of bytes from FT2232 device (76 81) Error: couldn't read from FT2232 Im using libftdi. Usually I get this

Re: [Openocd-development] ESC Boston report

2009-10-14 Thread David Brownell
On Monday 28 September 2009, Brian Hutchinson wrote: I have a BeagleBoard now :) It was a good but busy week! Thanks for the report. ESC can be fun. TI didn't happen to have XDS100 v2 prototypes did they? http://wiki.davincidsp.com/index.php/XDS100 It's an oversight that OpenOCD doesn't