Re: [Openocd-development] Disable stm32x block write by default?

2010-11-14 Thread Øyvind Harboe
On Sun, Nov 14, 2010 at 10:58 PM, Freddie Chopin freddie_cho...@op.pl wrote: On 2010-11-14 18:49, Øyvind Harboe wrote: The problem is that the target is crashing while executing the programming algorithm, so it never completes. You mean crashing like having Hard Fault exception or sth like

Re: [Openocd-development] [PATCH] Build inline jimtcl

2010-11-13 Thread Øyvind Harboe
by with --disable-internal-jimtcl. Except for a cool off period to catch other issues, I think it should be merged. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG

[Openocd-development] Peripheral register view in Eclipse

2010-11-13 Thread Øyvind Harboe
Has anyone taken this plugin for a spin? It displays peripheral registers and there are databases for some common CPUs built in. http://sourceforge.net/projects/embsysregview/ -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25

Re: [Openocd-development] Peripheral register view in Eclipse

2010-11-13 Thread Øyvind Harboe
that such databases are up to date. They do for Keil, IAR and their ilk. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] segfault when gdb connects, but target is not connected

2010-11-13 Thread Øyvind Harboe
Does the attached patch fix the problem? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer From

Re: [Openocd-development] [PATCH] Add comments and tiny improvements to STM32 flash loader algorithm

2010-11-13 Thread Øyvind Harboe
Is it conceivable that this would address the block flash programming problems I saw the other day and you were not able to reproduce? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7

Re: [Openocd-development] [Patch] SPEAr serial NOR flash driver

2010-11-12 Thread Øyvind Harboe
has gone in. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd

Re: [Openocd-development] How 2 build with new Jim???

2010-11-12 Thread Øyvind Harboe
!! ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25

[Openocd-development] A word on the process for making changes to OpenOCD

2010-11-12 Thread Øyvind Harboe
dysfunctional case is when there is a lot of posts, much complaining, heated replies and no patch in sight. Oftentimes all that is required is a bit of patience to wait for that patch. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25

Re: [Openocd-development] S3C6410 resume address timeout sometime, so I can't halt and resume an program.

2010-11-11 Thread Øyvind Harboe
Please try the master branch. 0.4.0 is a bit old for reporting bugs to the list. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash

Re: [Openocd-development] How 2 build with new Jim???

2010-11-11 Thread Øyvind Harboe
What output do you get when running bootstrap? It should print the instructions on how to build and install jim tcl. Did you try running the current master branch? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http

Re: [Openocd-development] How 2 build with new Jim???

2010-11-11 Thread Øyvind Harboe
On Thu, Nov 11, 2010 at 6:52 PM, David Brownell davi...@pacbell.net wrote: --- On Thu, 11/11/10, Øyvind Harboe oyvind.har...@zylin.com wrote: What output do you get when running bootstrap? This time I noticed some stuff ... but that seems wrong.  Bootstrap should bootstrap, not leave

Re: [Openocd-development] [PATCH] Simplify build with new jimtcl

2010-11-10 Thread Øyvind Harboe
Do you know how to make the use of the installed jim tcl (which is what happens today) an option on configure? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale

Re: [Openocd-development] STM32 reset_config

2010-11-10 Thread Øyvind Harboe
this path with success on Cortex A8 where there is a hack for an iMX51 part for the debug offset. This target specific code could either be in OpenOCD or perhaps better in the config files? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47

Re: [Openocd-development] segfault when gdb connects, but target is not connected

2010-11-10 Thread Øyvind Harboe
Could you try reproducing this problem using the dummy driver? openocd -c interface dummy -f yourconfig.cfg -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex

Re: [Openocd-development] [PATCH] httpd: fix build error with new Jim

2010-11-10 Thread Øyvind Harboe
I was actually pondering removing the httpd stuff from OpenOCD as we have the tcl server which is a good enough interface. I don't think the httpd server was ever used and OpenOCD's role seems to be more low level. Any thoughts on that? -- Øyvind Harboe Can Zylin Consulting help on your

Re: [Openocd-development] [PATCH] httpd: fix build error with new Jim

2010-11-10 Thread Øyvind Harboe
On Thu, Nov 11, 2010 at 12:11 AM, Andreas Fritiofson andreas.fritiof...@gmail.com wrote: On Wed, Nov 10, 2010 at 11:42 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: I was actually pondering removing the httpd stuff from OpenOCD as we have the tcl server which is a good enough interface. I

[Openocd-development] Retire httpd

2010-11-10 Thread Øyvind Harboe
test and report back. I will give this a healthy cool-off period as there is no time, but I intend to remove it in good time before 0.5.0. http://repo.or.cz/w/openocd/oharboe.git/shortlog/refs/heads/removehttpd -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980

Re: [Openocd-development] segfault when gdb connects, but target is not connected

2010-11-10 Thread Øyvind Harboe
Try: openocd -c interface dummy -c gdb_memory_map disable -f target/stm32.cfg -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash

Re: [Openocd-development] [PATCH 3/4] stm32: return error when failing to read

2010-11-09 Thread Øyvind Harboe
Merged. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd

[Openocd-development] [PATCH 1/2] cortex_m3: report detected error condition in poll

2010-11-09 Thread Øyvind Harboe
If the CPU crashed at some point, poll will discover this. Previously the poll fn would clear the error and print a warning, rather than propagating the error. The new behavior is to report the error back up, but still clear the error. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com

[Openocd-development] [PATCH 2/2] target: document that target_poll() will report and clear sticky errors

2010-11-09 Thread Øyvind Harboe
Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/target/target.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/target/target.h b/src/target/target.h index 4a48e5a..ef05e75 100644 --- a/src/target/target.h +++ b/src/target/target.h @@ -257,6

[Openocd-development] Disable stm32x block write by default?

2010-11-09 Thread Øyvind Harboe
User : 796 186993 command.c:688 command_run_line(): Command handler execution failed in procedure 'flash' -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG

Re: [Openocd-development] [PATCH 1/2] cortex_m3: report detected error condition in poll

2010-11-09 Thread Øyvind Harboe
On Tue, Nov 9, 2010 at 11:58 AM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: -     return ERROR_OK; +     /* Did we detect a failure condition that we cleared? */ +     if (detected_failure != ERROR_OK) +             return detected_failure; +     return retval; Please just use

Re: [Openocd-development] [PATCH 1/2] cortex_m3: report detected error condition in poll

2010-11-09 Thread Øyvind Harboe
On Tue, Nov 9, 2010 at 12:05 PM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: +     if (detected_failure != ERROR_OK) +             return detected_failure; +     return retval; Please just use retval also for the error. I'm not sure what you mean. I'm detecting an error

Re: [Openocd-development] [PATCH 1/2] cortex_m3: report detected error condition in poll

2010-11-09 Thread Øyvind Harboe
On Tue, Nov 9, 2010 at 12:22 PM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: +     if (detected_failure != ERROR_OK) +             return detected_failure; +     return retval; Please just use retval also for the error. .. the value of retval becomes irrelevant

Re: [Openocd-development] [Patch] New JIMTCL

2010-11-08 Thread Øyvind Harboe
This patch is good ! The use of echo is much better than puts by definition. Does this mean you tested it? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex

[Openocd-development] [PATCH 4/4] stm32: return early upon block write failure

2010-11-08 Thread Øyvind Harboe
only if we do not have enough ram do we continue. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/flash/nor/stm32x.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/flash/nor/stm32x.c b/src/flash/nor/stm32x.c index c0e464b..d874141 100644 --- a/src

[Openocd-development] [PATCH 3/4] stm32: return error when failing to read

2010-11-08 Thread Øyvind Harboe
add missing error handling. There was a code path which would assume that the chip was the maximum flash size in the family when failing to read. This was modified to return an error now. Could possibly save us from strange followon errors. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com

[Openocd-development] [PATCH 1/4] stm32: sharpen error handling for timeouts

2010-11-08 Thread Øyvind Harboe
delete lots of crud by handling this all in one spot. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/flash/nor/stm32x.c | 177 +++- 1 files changed, 69 insertions(+), 108 deletions(-) diff --git a/src/flash/nor/stm32x.c b/src/flash/nor

[Openocd-development] [PATCH 2/4] stm32: add error propagation on writes

2010-11-08 Thread Øyvind Harboe
catch problems earlier. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/flash/nor/stm32x.c | 153 +++- 1 files changed, 111 insertions(+), 42 deletions(-) diff --git a/src/flash/nor/stm32x.c b/src/flash/nor/stm32x.c index 9decac2

Re: [Openocd-development] [PATCH 3/4] stm32: return error when failing to read

2010-11-08 Thread Øyvind Harboe
On Mon, Nov 8, 2010 at 9:27 PM, Spencer Oliver s...@spen-soft.co.uk wrote: On 08/11/2010 16:00, Øyvind Harboe wrote: add missing error handling. There was a code path which would assume that the chip was the maximum flash size in the family when failing to read. This was by design, as ST

Re: [Openocd-development] [Patch] New JIMTCL

2010-11-08 Thread Øyvind Harboe
you're used to qwerty and vice versa? ;-) puts has a well defined an different meaning than echo, which is why we should switch to echo everywhere. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000

Re: [Openocd-development] [PATCH] Simplify build with new jimtcl

2010-11-08 Thread Øyvind Harboe
Why is -I$(top_srcdir)/jimtcl \, that doesn't seem right. Shouldn't it be only the build dir? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG

Re: [Openocd-development] Build improvements with new Jim Tcl

2010-11-08 Thread Øyvind Harboe
you to take it across the finish line as there are many on the list with opinions about this topic. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger

Re: [Openocd-development] lpc3131 and Actel FPGA chain programming.

2010-11-08 Thread Øyvind Harboe
I've attached my lpc3131.cfg, what would be required to get this included in the official distro? Looks good to me. I'll merge it. Next time you may wish to break out such contributions in separate emails, it was a bit of luck that I saw it. :-) -- Øyvind Harboe Can Zylin Consulting help

Re: [Openocd-development] [PATCH] Simplify build with new jimtcl

2010-11-08 Thread Øyvind Harboe
On Tue, Nov 9, 2010 at 8:08 AM, Steve Bennett ste...@workware.net.au wrote: On 09/11/2010, at 4:59 PM, Øyvind Harboe wrote: Why is -I$(top_srcdir)/jimtcl \, that doesn't seem right. Shouldn't it be only the build dir? I modelled it on what was already there:    -I$(top_srcdir)/src

[Openocd-development] Automatic detection of debugbase for cortex A8

2010-11-06 Thread Øyvind Harboe
, and it is reported as working.) -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] [PATCH] Search for ../tcl/ when running in source directory on Linux

2010-11-06 Thread Øyvind Harboe
Looks like this patch met with some objections, so I'm leaving it be for now. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash

Re: [Openocd-development] [Patch] SPEAr310 target support

2010-11-06 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd

Re: [Openocd-development] [PATCH] Search for ../tcl/ when running in source directory on Linux

2010-11-05 Thread Øyvind Harboe
creature comforts and options makes for confusing and quaint code... W.r.t. development, why not install into some temp folder? configure --prefix=/tmp/test export PATH=$PATH:/tmp/test/install make make install -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980

Re: [Openocd-development] Proposition of new target cfg files scheme

2010-11-04 Thread Øyvind Harboe
files. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development

Re: [Openocd-development] Proposition of new target cfg files scheme

2010-11-04 Thread Øyvind Harboe
files. What we have to day are basically a bunch of more or less tested example files. This will be excellent ! Also, if we are able to automate this, we will be able to autowrite a lot of specific configurations files ! David outlined some good places to start writing patches. -- Øyvind

Re: [Openocd-development] [PATCH] Add support for the ARM946E

2010-11-04 Thread Øyvind Harboe
Looks OK to me. Minimally a good starting point for further work on arm946e. Merged. Thanks! -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG

Re: [Openocd-development] [Patch] SPEAr310 target support

2010-11-04 Thread Øyvind Harboe
You're the expert here. I'll let it cool off for a bit, and unless I hear any protests I'll merge it. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG

Re: [Openocd-development] OpenOCD master now uses Jim Tcl 0.63

2010-11-03 Thread Øyvind Harboe
are another issue a bit further down the road. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] Problems with workareasize and STM32F100 (8kB of RAM)

2010-11-02 Thread Øyvind Harboe
? -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 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 https

Re: [Openocd-development] Proposition of new target cfg files scheme

2010-11-02 Thread Øyvind Harboe
who runs and/or maintains OpenOCD. Also, I'd like something that is pretty close to what we want long term. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] Proposition of new target cfg files scheme

2010-11-02 Thread Øyvind Harboe
Also, I'd like something that is pretty close to what we want long term. You'll have to tell what you want long term then... I don't know what the answer is long term. I would, like you, like to hear thoughts from others on this. -- Øyvind Harboe US toll free 1-866-980-3434 / International

Re: [Openocd-development] setting openocd -0.4.0

2010-11-01 Thread Øyvind Harboe
On Mon, Nov 1, 2010 at 5:20 PM, firas achkar fachkar.dataw...@gmail.com wrote: Hi, I have a s5pc100 (cortex-a8) from samsung, can anyone a setup cfg file for this cpu, the development board is is from Urbetter. Yes, you can. Also, you may wish to try out openocd/master branch. -- Øyvind

Re: [Openocd-development] [PATCH 1/3] CortexA8: Setup debug_base according to variant

2010-10-31 Thread Øyvind Harboe
and if that time comes. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development

[Openocd-development] OpenOCD master now uses Jim Tcl 0.63

2010-10-31 Thread Øyvind Harboe
the version of Jim Tcl you're running by typing = info version 0.63 (It used to be 0.53) -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] OpenOCD master now uses Jim Tcl 0.63

2010-10-31 Thread Øyvind Harboe
On Sun, Oct 31, 2010 at 5:53 PM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: OpenOCD master branch now uses Jim Tcl. This means you'll have to build Jim Tcl before building OpenOCD. Is there also an upstream for Jim Tcl to make distribution packages from? Or is Jim Tcl only

Re: [Openocd-development] OpenOCD master now uses Jim Tcl 0.63

2010-10-31 Thread Øyvind Harboe
On Sun, Oct 31, 2010 at 6:26 PM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: Is there also an upstream for Jim Tcl to make distribution packages from? Or is Jim Tcl only ever statically linked with OpenOCD? Statically linked, no change there. Ok. Has Jim Tcl ever been

Re: [Openocd-development] [PATCH 1/3] CortexA8: Setup debug_base according to variant

2010-10-29 Thread Øyvind Harboe
would definitely like the autodetect to go in first, then the patches can be simplified. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] [PATCH 1/3] CortexA8: Setup debug_base according to variant

2010-10-29 Thread Øyvind Harboe
today. I'd appreciate any hints on this. Zach made some postings in the not to distant path to the list about this subject. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash

Re: [Openocd-development] Switching to Jim Tcl release

2010-10-29 Thread Øyvind Harboe
Going twice... I'll be merging this beginning of next week not to ruin anyones(especially mine! :-) weekend if there is any fallout. It would mainly be with documenting and build procedures and laying out some bread-crumbs to follow. -- Øyvind Harboe US toll free 1-866-980-3434

Re: [Openocd-development] [PATCH 1/3] CortexA8: Setup debug_base according to variant

2010-10-29 Thread Øyvind Harboe
direction. If you type dap info 0, I believe it prints out the debug base, so the code is even in there in OpenOCD. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] [PATCH 1/3] CortexA8: Setup debug_base according to variant

2010-10-29 Thread Øyvind Harboe
Oyvind sorry, I just can't find it ... could you tell me where it is please ? Start here: https://lists.berlios.de/pipermail/openocd-development/2010-September/016482.html -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7

Re: [Openocd-development] Problems with workareasize and STM32F100 (8kB of RAM)

2010-10-29 Thread Øyvind Harboe
does. GDB isn't a GUI, but it *supports* GUIs. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development

Re: [Openocd-development] Problems with workareasize and STM32F100 (8kB of RAM)

2010-10-28 Thread Øyvind Harboe
options, such as amount of RAM for chip? Perhaps with a default to the minimum possible amount of ram. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] Problems with workareasize and STM32F100 (8kB of RAM)

2010-10-28 Thread Øyvind Harboe
On Thu, Oct 28, 2010 at 8:42 AM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: Perhaps it would be a good idea for some target family scripts to have some required options, such as amount of RAM for chip? Perhaps with a default to the minimum possible amount of ram. Makes sense. I

Re: [Openocd-development] [PATCH] contrib: add ram loader src code

2010-10-28 Thread Øyvind Harboe
On Thu, Oct 28, 2010 at 11:12 AM, Spencer Oliver s...@spen-soft.co.uk wrote: On 27/10/2010 18:50, Øyvind Harboe wrote: On Wed, Oct 27, 2010 at 6:21 PM, Peter Stugepe...@stuge.se  wrote: Spencer Oliver wrote: Having a bit of a tidy up and found the src to the various ram loaders i have

Re: [Openocd-development] [PATCH 1/3] CortexA8: Setup debug_base according to variant

2010-10-28 Thread Øyvind Harboe
Shouldn't this be automatically detected? -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing

Re: [Openocd-development] [PATCH] contrib: add ram loader src code

2010-10-27 Thread Øyvind Harboe
to build OpenOCD. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development

Re: [Openocd-development] [PATCH] contrib: add ram loader src code

2010-10-27 Thread Øyvind Harboe
On Wed, Oct 27, 2010 at 10:10 PM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: Having a bit of a tidy up and found the src to the various ram loaders i have written over the years - no objections i will commit. Could they also be magically hooked up to OpenOCD? I think a good

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Øyvind Harboe
On Tue, Oct 26, 2010 at 10:34 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: On Mon, Oct 25, 2010 at 8:47 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: I am using openocd-0.4.0. Try the HEAD of the master branch. I can not, as I am creating patch for local use based on stable

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Øyvind Harboe
On Tue, Oct 26, 2010 at 10:55 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: On Tue, Oct 26, 2010 at 10:44 AM, Øyvind Harboe oyvind.har...@zylin.com wrote: On Tue, Oct 26, 2010 at 10:34 AM, Drasko DRASKOVIC drasko.drasko...@gmail.com wrote: On Mon, Oct 25, 2010 at 8:47 PM, Øyvind

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-26 Thread Øyvind Harboe
[...] it is a very good idea to always use as recent versions as possible. If nothing else, than because there is a chance that someone would be interested in helping you in the community. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com

Re: [Openocd-development] Printing on the GDB Server Output

2010-10-26 Thread Øyvind Harboe
This is supported by OpenOCD already. Read up on DCC in the manual and look at the DCC stuff in the source code of OpenOCD. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash

Re: [Openocd-development] Buspirate refactor

2010-10-25 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development

Re: [Openocd-development] Switching to Jim Tcl release

2010-10-25 Thread Øyvind Harboe
Going once... -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development

Re: [Openocd-development] Event gdb-attach is called two times in a row on GDB attach

2010-10-25 Thread Øyvind Harboe
I am using openocd-0.4.0. Try the HEAD of the master branch. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd

Re: [Openocd-development] Switching to Jim Tcl release

2010-10-23 Thread Øyvind Harboe
I've gotten feedback that this builds under Cygwin and -mno-cygwin. Unless I hear protests, I plan to merge this when Jim Tcl is released. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger

Re: [Openocd-development] USB latency limiting JTAG speed

2010-10-19 Thread Øyvind Harboe
differently: simply put it runs OpenOCD Linux on the unit and has direct access to the hardware accelerated FPGA registers, very, very low latency. That said, I'm sure it would benefit from the higher level performance bottlenecks being sorted out. -- Øyvind Harboe US toll free 1-866-980-3434

Re: [Openocd-development] USB latency limiting JTAG speed

2010-10-19 Thread Øyvind Harboe
As a start for debugging delay issues, type help jtag_flush_queue_sleep. Plot the performance of 0, 10 and 100ms of an operation. It should allow you to guestimate how much of the performance hit is due to long latencies. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25

Re: [Openocd-development] USB latency limiting JTAG speed

2010-10-19 Thread Øyvind Harboe
long read/write chains, and it might have a lot of the potential benefit of an async API rolled into that optimization already. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash

Re: [Openocd-development] USB latency limiting JTAG speed

2010-10-19 Thread Øyvind Harboe
On Tue, Oct 19, 2010 at 9:24 AM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: For the OpenOCD, we know there are some optimizations do be done on the software to accelerate the USB JTAG cable. The bottleneck is stupid adapters. I don't know that stupid is derogatory when we

Re: [Openocd-development] STM32 flash write speed

2010-10-18 Thread Øyvind Harboe
the mon flash write_image erase unlock file.elf 0 elf command from GDB, I don't know if that is executing on the target.. Try just load from GDB. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG

Re: [Openocd-development] STM32 flash write speed

2010-10-18 Thread Øyvind Harboe
common GDB commands. However, If I use the Zylin GDB plugin load works fine, but takes just as long as the command above. So where is my bottleneck then? No idea. I only know what performance I get w/ZY1000. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http

Re: [Openocd-development] OpenOCD + gdb load multiple ELF files

2010-10-17 Thread Øyvind Harboe
@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

[Openocd-development] Switching to Jim Tcl release

2010-10-15 Thread Øyvind Harboe
For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html 0.63 Error: Debug Adapter has to be specified, see interface command Runtime Error: Command handler execution failed in procedure 'init' -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http

Re: [Openocd-development] Switching to Jim Tcl release

2010-10-15 Thread Øyvind Harboe
Tcl needs much maintenance or that we're sorely missing more Jim Tcl features in the first place from OpenOCD's point of view. To create a dependency on Tcl and Tcl/Tk is a different kettle of fish entirely. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http

Re: [Openocd-development] Problem getting reliable reset init on LPC1766 target.

2010-10-13 Thread Øyvind Harboe
make it robust! Paste this into Telnet: for {set i 0} {$i 100} {set i [expr $i+1]} {echo Reseting $i; reset init} -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] Problem getting reliable reset init on LPC1766 target.

2010-10-13 Thread Øyvind Harboe
/slow clock break main c # We can run fast again because the PLL has now been set up! monitor adapter_khz 1000 -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] [Patch] segfault in handle_dump_image_command()

2010-10-12 Thread Øyvind Harboe
there is a reason really. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development

Re: [Openocd-development] Problem getting reliable reset init on LPC1766 target.

2010-10-12 Thread Øyvind Harboe
is implemented on some systems that have RC oscillators, but here I've found the RCLK frequency to be unreliable. Why this would be, I have no idea... -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG

Re: [Openocd-development] Problem getting reliable reset init on LPC1766 target.

2010-10-12 Thread Øyvind Harboe
- From: Øyvind Harboe [mailto:oyvind.har...@zylin.com] Sent: Wednesday, 13 October 2010 10:02 a.m. To: Bernard Mentink Cc: Jörg Fischer; openocd-development@lists.berlios.de Subject: Re: [Openocd-development] Problem getting reliable reset init on LPC1766 target. If I set to 20khz, I get

Re: [Openocd-development] Problem getting reliable reset init on LPC1766 target.

2010-10-12 Thread Øyvind Harboe
Is there any way to download the imake at 500khz, then switch to 10khz for the debugging With the currect reset sequence I am using? Look at board/mcb1700.cfg Debugging is probably stable at higher clock rates once the PLL is running. -- Øyvind Harboe US toll free 1-866-980-3434

Re: [Openocd-development] GIT repository questions.

2010-10-11 Thread Øyvind Harboe
There are lots of resources on the web on git, did you read up on any of them? What you are describing are pretty basic git operations. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger

Re: [Openocd-development] SWD status

2010-10-10 Thread Øyvind Harboe
to discover and can easily fix I'm not overly worried about sneaking into the master branch. We could create an swd branch, but I don't think the OpenOCD community has the momentum to drive two branches forward if this takes a few months. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47

Re: [Openocd-development] Linux application debugging(run mode) using DCC driver

2010-10-07 Thread Øyvind Harboe
On Thu, Oct 7, 2010 at 12:46 AM, Duane Ellis open...@duaneellis.com wrote:  On 10/6/2010 4:23 PM, Øyvind Harboe wrote: Any thoughts on how the user would upload applications to the Linux target before starting gdbserver? SLIP or PPP over DCC :-) Wow -- Øyvind Harboe US toll free 1

Re: [Openocd-development] BSDL target, how to use JTAG?

2010-10-07 Thread Øyvind Harboe
. You'll want to move to the master branch. Also, it could help if you posted a patch of the code you're trying to implement. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash

Re: [Openocd-development] BSDL target, how to use JTAG?

2010-10-07 Thread Øyvind Harboe
BTW, I am pleased by the clear structure of the code; good architecturing! That would be a thanks to Zach who put a huge effort to clean up the OpenOCD code. Good to hear you're moving ahead... -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com

Re: [Openocd-development] BSDL target, how to use JTAG?

2010-10-07 Thread Øyvind Harboe
On Thu, Oct 7, 2010 at 11:05 AM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: 0.5-dev is pretty stable now. If someone stepped up to handle the release process we are about due to cut a new release really. It would be great if SWD support got into the release. OTOH maybe that's

Re: [Openocd-development] SWD work intensification

2010-10-07 Thread Øyvind Harboe
Hi, the official position of the maintainers is that we want a maintainable, documented SWD implementation or none at all. I know David hasn't been able to work on SWD as much as he had planned or hoped. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http

Re: [Openocd-development] SWD work intensification

2010-10-07 Thread Øyvind Harboe
is no different. SWD is trickier than your average patch in that it is not an incremental change, but a more sweeping change. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer

Re: [Openocd-development] SWD work intensification

2010-10-07 Thread Øyvind Harboe
yet. -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 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

[Openocd-development] Linux application debugging(run mode) using DCC driver

2010-10-06 Thread Øyvind Harboe
/gmane.linux.ports.arm.kernel/92400 -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd

Re: [Openocd-development] Is this STM32F100x errata sheet discovery the cause of my problems?

2010-10-04 Thread Øyvind Harboe
that the communication is working) -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer ___ Openocd-development mailing list Openocd-development

<    5   6   7   8   9   10   11   12   13   14   >