Re: [Openocd-development] [PATCH] kinetis auto mass erase on secured devices

2011-09-12 Thread Eric Wetzel
On Mon, Sep 12, 2011 at 2:34 PM, Mathias K. wrote: > Hello, > > this patch add support for debug port access on a secured kinetis cpu with > mass erase enabled. > > > Regards, > > Mathias > Hi, This patch introduces an unused and unnecessary typedef and a tiny bit of Hungarian-ish notation (the

Re: [Openocd-development] vsllink driver compile fails with'vsllink_debug_buffer' defined but not used

2011-08-31 Thread Eric Wetzel
On Tue, Aug 30, 2011 at 1:55 PM, simonqian.openocd wrote: > OK. > Thanks. > > > simonqian.openocd via foxmail > > Sender: Eric Wetzel > Date: 2011年8月30日(星期二) 下午9:52 > To: openocd-development > Subject: [Openocd-development

Re: [Openocd-development] [PATCH]style: typedefs are evil

2011-08-31 Thread Eric Wetzel
On Tue, Aug 30, 2011 at 6:47 PM, Andreas Fritiofson wrote: > > > On Tue, Aug 30, 2011 at 9:25 PM, Eric Wetzel wrote: >> >> On the discussion of style, I mentioned that the Linux coding standard >> doesn't really like typedefs. Here is an article from Greg K-H

[Openocd-development] [PATCH]style: typedefs are evil

2011-08-30 Thread Eric Wetzel
the second patch) or the changes I would make to src/jtag/drivers/OpenULINK. Take them if you wish. From 4262321ca3b10e4abec7e842561897fd9494857d Mon Sep 17 00:00:00 2001 From: Eric Wetzel Date: Tue, 30 Aug 2011 14:53:35 -0400 Subject: [PATCH 1/2] style: typedefs are evil Removed some simple typ

[Openocd-development] vsllink driver compile fails with 'vsllink_debug_buffer' defined but not used

2011-08-30 Thread Eric Wetzel
scribed in the following patch. ~Eric From e9a5be8d73e6488a13c049c612e533c387ab3eb2 Mon Sep 17 00:00:00 2001 From: Eric Wetzel Date: Tue, 30 Aug 2011 09:42:00 -0400 Subject: [PATCH] vsllink: fix 'defined but not used' error on vsllink_debug_buffer If OpenOCD is built with verbose USB c

Re: [Openocd-development] Coding style

2011-08-29 Thread Eric Wetzel
On Mon, Aug 29, 2011 at 9:11 AM, Jie Zhang wrote: > On Mon, Aug 29, 2011 at 7:35 AM, Øyvind Harboe > wrote: >> I don't mind picking the kernel style, if nothing else because we then can >> get >> scripts to check for the style. >> > It seems people like Linux kernel coding style. It's widely us

Re: [Openocd-development] Fwd: Re: JLink woes

2011-08-19 Thread Eric Wetzel
On Fri, Aug 19, 2011 at 9:03 AM, Antonio Borneo wrote: > On Fri, Aug 19, 2011 at 6:36 PM, Xiaofan Chen wrote: >> [...] >> Thanks a lot for the updates. Yes I can confirm that V4.33h beta firmware >> fixed the issue with OpenOCD for V8 version of J-Link. Thanks for the >> help again. > > Very good

Re: [Openocd-development] couldn't read enough bytes from FT2232 device (0 < 81)

2011-08-16 Thread Eric Wetzel
On Tue, Aug 16, 2011 at 9:23 AM, Xiaofan Chen wrote: > On Tue, Aug 16, 2011 at 9:18 PM, Eric Wetzel wrote: > >> I'm not sure if Freddie's OpenOCD is built using libftdi-1.0, which >> previous e-mails indicate may solve this problem. As a last-ditch >> effort

Re: [Openocd-development] couldn't read enough bytes from FT2232 device (0 < 81)

2011-08-16 Thread Eric Wetzel
On Tue, Aug 16, 2011 at 9:18 AM, Eric Wetzel wrote: > This problem again. I see plenty of e-mails in the past supposedly > addressing it, but none worked for me. > > I'm trying to use a TI/Blackhawk USB100v2, which I think is supposed > to be identical to an XDS100v

[Openocd-development] couldn't read enough bytes from FT2232 device (0 < 81)

2011-08-16 Thread Eric Wetzel
This problem again. I see plenty of e-mails in the past supposedly addressing it, but none worked for me. I'm trying to use a TI/Blackhawk USB100v2, which I think is supposed to be identical to an XDS100v2, so I am using the interface/xds100v2.cfg file. I'm using Freddie's OpenOCD 0.5.0 build unde

Re: [Openocd-development] JLink woes

2011-08-15 Thread Eric Wetzel
On Sun, Aug 14, 2011 at 10:29 PM, Eric Wetzel wrote: > On Sun, Aug 14, 2011 at 9:01 PM, Xiaofan Chen wrote: >> On Mon, Aug 15, 2011 at 5:26 AM, Jean-Christophe PLAGNIOL-VILLARD >> wrote: >>> On 12:04 Sat 13 Aug     , Carlson Gary wrote: >>>> Hi Eric, >

[Openocd-development] Git revision string missing from banner

2011-08-15 Thread Eric Wetzel
Hello, Recently, perhaps the last month or two, I've noticed the Git revision string is not being appended to base version in the OpenOCD banner. >From my investigation, I believe that my observation of the problem was dependent upon my use of a new toolchain and environment, because the suspect l

Re: [Openocd-development] JLink woes

2011-08-14 Thread Eric Wetzel
On Sun, Aug 14, 2011 at 9:01 PM, Xiaofan Chen wrote: > On Mon, Aug 15, 2011 at 5:26 AM, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> On 12:04 Sat 13 Aug     , Carlson Gary wrote: >>> Hi Eric, >>> >>> I have worked a little on the jlink stuff in the past and fixed a few >>> problems with OpenOCD.

Re: [Openocd-development] JLink woes

2011-08-13 Thread Eric Wetzel
On Fri, Aug 12, 2011 at 12:45 PM, Xiaofan Chen wrote: > On Sat, Aug 13, 2011 at 12:02 AM, Eric Wetzel wrote: >> I'm going to try to use the Linux software from Segger with the >> kernel's usbmon to capture some commands and see what Segger's doing >> that we&

Re: [Openocd-development] JLink woes

2011-08-12 Thread Eric Wetzel
On Fri, Aug 12, 2011 at 10:10 AM, Xiaofan Chen wrote: > On Fri, Aug 12, 2011 at 10:04 PM, Xiaofan Chen wrote: >> Then I came across this one thread in Sparkfun. The change seems >> to make sense as well so I gave it a try. >> http://forum.sparkfun.com/viewtopic.php?f=18&t=24946 >> >> It does not

Re: [Openocd-development] Windows 7 & J-Link Problems

2011-08-01 Thread Eric Wetzel
On Fri, Jul 8, 2011 at 10:27 AM, Xiaofan Chen wrote: > On Fri, Jul 8, 2011 at 10:00 PM, Xiaofan Chen wrote: >> On Fri, Jul 8, 2011 at 9:21 PM, Eric Wetzel wrote: >>> >>> I downloaded the oldest version available (v4.00) from the page >>> Xiaofan provided, a

Re: [Openocd-development] Building local bootstrap jimsh0 failed

2011-07-13 Thread Eric Wetzel
On Thu, Jul 7, 2011 at 8:07 AM, Eric Wetzel wrote: > On Thu, Jul 7, 2011 at 6:40 AM, Spencer Oliver wrote: >> On 7 July 2011 11:09, Steve Bennett wrote: >>> >>> ../../jimtcl/autosetup/find-tclsh: line 10: cc: command not found >>> >>> But no

Re: [Openocd-development] Bug in target/icepick.cfg?

2011-07-08 Thread Eric Wetzel
On Fri, Jul 8, 2011 at 4:30 PM, Brian Hutchinson wrote: > But my question still remains how do I specify port "D" for IcePick? > Pass port "4" to icepick_c_tapenable? > >> target/icepick.cfg from trunk that I got a few days ago has this line in it: >> >> drscan $jrc 32 [expr 0xa0002108 + ($port <<

Re: [Openocd-development] Windows 7 & J-Link Problems

2011-07-08 Thread Eric Wetzel
On Thu, Jul 7, 2011 at 8:27 AM, Xiaofan Chen wrote: > On Thu, Jul 7, 2011 at 8:23 PM, Eric Wetzel wrote: >> Alright, I uninstalled libusb-win32 0.1 and installed 1.2.4.0, and >> installed filters for the J-Link device. Still the same result. >> >> I tried Freddie'

Re: [Openocd-development] Windows 7 & J-Link Problems

2011-07-07 Thread Eric Wetzel
On Wed, Jul 6, 2011 at 8:51 PM, Xiaofan Chen wrote: > On Thu, Jul 7, 2011 at 1:27 AM, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> On 23:05 Wed 06 Jul     , Xiaofan Chen wrote: >>> Try to update the libusb-win32 version to see if that helps. >>> >>> On the other hand, this may have something to d

Re: [Openocd-development] Building local bootstrap jimsh0 failed

2011-07-07 Thread Eric Wetzel
On Thu, Jul 7, 2011 at 6:40 AM, Spencer Oliver wrote: > On 7 July 2011 11:09, Steve Bennett wrote: >> >> ../../jimtcl/autosetup/find-tclsh: line 10: cc: command not found >> >> But no cc? >> >> If cygwin is installed, why no cc? > > That one confused me aswell, perhaps the cygwin tools need reins

[Openocd-development] Building local bootstrap jimsh0 failed

2011-07-06 Thread Eric Wetzel
I pulled from origin and now my process is failing during configure. On ac43d7a69fca52df1ad287b51c44013653ad2f61, comping under Cygwin with MinGW compiler, I get this: === configuring in jimtcl (/home/ericwetz/local/src/openocd.git/build/jimtcl) configure: running /bin/sh ../../jimtcl/configure.gn

[Openocd-development] Windows 7 & J-Link Problems

2011-07-06 Thread Eric Wetzel
I'm having a pile of bad times here getting J-Link to work with OpenOCD under Windows 7 for use on the AM1808 EVM. I've learned a few lessons; at least, I hope they're lessons, or I may have done many things very wrong. 1. In Windows 7, I had to set the LibUSB-Win32-0.1 installer to run in Windows

Re: [Openocd-development] Automatically generate 'struct StellarisParts'

2011-01-18 Thread Eric Wetzel
Sorry about the delay; I was out of town. I have created the patch as requested. Best regards, ~Eric 0001-stellaris-automatically-generate-and-update-device-I.patch Description: Binary data ___ Openocd-development mailing list Openocd-development@lists

[Openocd-development] Automatically generate 'struct StellarisParts'

2011-01-10 Thread Eric Wetzel
n it reopens the file for writing and overwrites it. It's probably not the best way, but it works. Best regards, ~Eric Wetzel stellaris-part-header.pl Description: Binary data ___ Openocd-development mailing list Openocd-development@lists.berli

Re: [Openocd-development] Patch to correct remaining \n in LOG_ERROR

2011-01-09 Thread Eric Wetzel
Can Zylin Consulting help on your project? > > US toll free 1-866-980-3434 / International +47 51 87 40 27 > > http://www.zylin.com/zy1000.html > ARM7 ARM9 ARM11 XScale Cortex > JTAG debugger and flash programmer > From beac0f8416e778c7aa55e28dca78b5952becf39b Mon Sep 17 00:00:00

[Openocd-development] Patch to correct remaining \n in LOG_ERROR

2011-01-05 Thread Eric Wetzel
Hello, I saw Øyvind's invitation to submit a patch to correct the uses of \n in LOG_ERROR and decided to bang out some remedial sed-fu. I've never been able to get sed to work well on multiple lines, so I grepped with extra lines of context to make sure that the LOG_ERROR newline wasn't on a succe

[Openocd-development] Stellaris Flash Devices

2009-12-14 Thread Eric Wetzel
8127d Author: Eric Wetzel Date: Mon Dec 14 15:15:59 2009 -0500 stellaris: device IDs Remove non-existent devices Sort devices according to part number Add remaining Stellaris part IDs Identify parts by VER, FAM, and PARTNO from DID1 to prevent collisions diff --git a/src/

[Openocd-development] 'erase_sector' and 'protect' flash commands

2009-11-25 Thread Eric Wetzel
Hello, 'flash erase_sector' and 'flash protect' have not been working for me recently. Passing them the correct number of arguments (3 and 4, respectively) returns the usage message, but passing them each one argument less than they require crashes the program. I believe the problem was introduce