Re: [Openocd-development] Buspirate fixes

2011-02-06 Thread Øyvind Harboe
in Tcl, so: foo;#bar will have 'bar' as a comment. -- Øyvind Harboe 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

Re: [Openocd-development] Implementing per-TAP data

2011-02-06 Thread Øyvind Harboe
Agreed, but then how does one discover the DAP relevant to a TAP. Suppose core0 is online and you're bringing up core1... all you have is a fresh target and a TAP pointer. Create a list of DAPs and scan it. If there is no DAP there add one, if there is, use it? -- Øyvind Harboe Can Zylin

Re: [Openocd-development] [PATCH] buf_set_buf around 30% speed increase

2011-02-05 Thread Øyvind Harboe
What sort of CPU did you run the tests on? Let me know when the patch is ready to be committed. I suppose it could need a bit of coolof . -- Ø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] [PATCH] buf_set_buf around 30% speed increase

2011-02-04 Thread Øyvind Harboe
On Fri, Feb 4, 2011 at 5:21 PM, Mathias K. kes...@freenet.de wrote: Hello, this patch increase the speed of the buf_set_buf function around 30%. how do you arrive at 30%? What overall impact does this have? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980

Re: [Openocd-development] [STM32] Error: failed erasing sectors after stm32x unlock 0

2011-02-03 Thread Øyvind Harboe
? Sometimes patches fall between the cracks. The way open source works is that you as the patch submitter nag. -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH] 24bit buffer support

2011-02-03 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe 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 ___ Openocd

Re: [Openocd-development] [PATCH] more changes to dsp563xx code

2011-02-03 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe 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 ___ Openocd

Re: [Openocd-development] Implementing per-TAP data

2011-02-03 Thread Øyvind Harboe
Maybe DAPs should exist independently of JTAG and targets and targets should refer to the DAP relevant to that target? -- Øyvind Harboe 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

[Openocd-development] stm32f2xxx flash support

2011-02-02 Thread Øyvind Harboe
. http://repo.or.cz/w/openocd/oharboe.git/shortlog/refs/heads/stm32 -- Øyvind Harboe 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

Re: [Openocd-development] stm32f2xxx flash support

2011-02-02 Thread Øyvind Harboe
available in my PCB. That's great! In my first tests I'm seeing 27kBytes/s for flash + erase. 128kBytes sectors takes as much as 1000ms to erase(per the datasheet). I was able to clean up the branch, but I want to let it cool off before I merge it. -- Øyvind Harboe Can Zylin Consulting help

Re: [Openocd-development] [PATCH] cortex_a9: fix dap_ap_select() usage

2011-02-02 Thread Øyvind Harboe
Not my strong suit... Any objections? -- Øyvind Harboe 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

Re: [Openocd-development] sam3s flash programming

2011-02-01 Thread Øyvind Harboe
If you try monitor verify-image filename it will print out the first 128 bytes of differences. Could give some clues. -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH 0/2] OMAP4430 reset

2011-02-01 Thread Øyvind Harboe
from script, in case a board needs to modify and not completely replace the cortex_m3_assert_reset() code. -- Øyvind Harboe 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

Re: [Openocd-development] segfault in cortex_m3_assert_reset

2011-01-31 Thread Øyvind Harboe
code generally postpones executing a queue for as long as possible, i.e. until some data must be read into a local variable or the result must be used in execution. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

Re: [Openocd-development] sam3s flash programming

2011-01-31 Thread Øyvind Harboe
Tip: use gdb's compare-sections after load to check that flashing worked. -- Øyvind Harboe 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

Re: [Openocd-development] NOR-flash programming using CFI is broken on arm11

2011-01-31 Thread Øyvind Harboe
How's this? -- Øyvind Harboe 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 a0858bfed053fa4555d729554ad8b8089a7ac308 Mon Sep 17 00:00

[Openocd-development] [PATCH 1/2] stm32x: add support for STM32F20x

2011-01-31 Thread Øyvind Harboe
wip. What to do about protection? Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- src/flash/nor/stm32x.c | 86 1 files changed, 86 insertions(+), 0 deletions(-) diff --git a/src/flash/nor/stm32x.c b/src/flash/nor/stm32x.c index

[Openocd-development] [PATCH 2/2] board: stm3220f eval board wip

2011-01-31 Thread Øyvind Harboe
Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- tcl/board/stm3220f_eval.cfg | 66 +++ 1 files changed, 66 insertions(+), 0 deletions(-) create mode 100644 tcl/board/stm3220f_eval.cfg diff --git a/tcl/board/stm3220f_eval.cfg b/tcl/board

Re: [Openocd-development] [PATCH] more changes to dsp563xx code

2011-01-31 Thread Øyvind Harboe
I'd like to see error propagation added to the code. Otherwise it's great to see that this code gets some serious attention! -- Øyvind Harboe 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

Re: [Openocd-development] Any patches that have fallen between thecracks out there?

2011-01-30 Thread Øyvind Harboe
min_time Sent to list 02/1/2011 Didn't get much response, last comment by Andrew Leech 12/01/2011 It was merged Jan 2. -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH] openocd.texi: minor fixes in Reset Configuration

2011-01-30 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe 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 ___ Openocd

Re: [Openocd-development] [PATCH] fix broken dap component base for tms570 on debug logic

2011-01-30 Thread Øyvind Harboe
fail with a STICKY error. With a selected AP 1 this works fine and i get the right register content: Does this mean that you think that the patch is no longer required? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27

Re: [Openocd-development] [PATCH 0/6] OMAP4430/Cortex-A9 Support

2011-01-30 Thread Øyvind Harboe
Merged. Thanks! Although this is not done, I think it will be helpful to have it merged in the master branch so testing/cooperation can proceed more smoothly. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

Re: [Openocd-development] [PATCH 0/6] OMAP4430/Cortex-A9 Support

2011-01-24 Thread Øyvind Harboe
Hi Aaron, thanks for submitting this! I am looking forward to having a closer look when I get back next week. -- Øyvind Harboe 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

[Openocd-development] I am out of the office this week

2011-01-23 Thread Øyvind Harboe
On 1/21/11, Øyvind Harboe oyvind.har...@zylin.com wrote: Are there any patches that are not committed yet that anyone would have expected to be committed by now? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

[Openocd-development] Any patches that have fallen between the cracks out there?

2011-01-21 Thread Øyvind Harboe
Are there any patches that are not committed yet that anyone would have expected to be committed by now? -- Øyvind Harboe 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

[Openocd-development] Cortex A9 target

2011-01-20 Thread Øyvind Harboe
Does anyone have a Cortex A9 target to donate? I want to hook it up so developers can get remote access to it. We've done this with success for Cortex A8 targets. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

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

2011-01-18 Thread Øyvind Harboe
Looks good to me. Any objections out there? -- Øyvind Harboe 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

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

2011-01-18 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe 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 ___ Openocd

[Openocd-development] cortex m4

2011-01-17 Thread Øyvind Harboe
Did anyone look at the cortex m4 yet? Does it need anything but the current cortex m3 support? -- Øyvind Harboe 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

Re: [Openocd-development] Flash driver for em357

2011-01-14 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe 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 ___ Openocd

Re: [Openocd-development] [PATCH] str9xpec: Find flash controller from the chain.

2011-01-13 Thread Øyvind Harboe
Looks reasonable to me. Any objections? -- Øyvind Harboe 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

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

2011-01-13 Thread Øyvind Harboe
Would you mind submitting a patch for the updated .c file and placing the script into contrib? -- Øyvind Harboe 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

Re: [Openocd-development] transport BUG

2011-01-12 Thread Øyvind Harboe
Any objections to applying these two fixes? I'd break it apart in two commits. -- Øyvind Harboe 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

Re: [Openocd-development] transport BUG

2011-01-12 Thread Øyvind Harboe
Merged. Thanks! If you wouldn't mind, try creating a patch next time: git add name of files git commit git format-patch origin/master = generate patches for all commits since origin/master -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] Flash driver for em357

2011-01-11 Thread Øyvind Harboe
Having said that having something may be better than nothing, it just would make tweaks to the stm driver easier to maintain. Wouldn't we be doing the ember support a disservice by having it in some untested copy paste code off the beaten path? -- Øyvind Harboe Can Zylin Consulting help

Re: [Openocd-development] transport BUG

2011-01-11 Thread Øyvind Harboe
Nice catch! The same problem applies to all LOG_ statements really. Patch? -- Øyvind Harboe 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

Re: [Openocd-development] transport BUG

2011-01-11 Thread Øyvind Harboe
It's only the first change in this diff that is a bugfix, right? There were two extra whitespace changes that I'll drop for this commit. -- Øyvind Harboe 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

Re: [Openocd-development] transport BUG

2011-01-11 Thread Øyvind Harboe
Hi Simon, Peter Stuge pointed out that there are two changes in this patch. The first is the bugfix you've spoken about, but what is the second change? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

[Openocd-development] Simplifying LPC2xxx scripts

2011-01-10 Thread Øyvind Harboe
config scripts. - we redefine init_targets to have a variable number of arguments and pass on the arguments after lpc above. Write some neat tcl proc's to handle options parsing. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27

Re: [Openocd-development] nand dump cause Segmentation fault, bug on fileio_size, src/helper/fileio.c

2011-01-10 Thread Øyvind Harboe
What version of OpenOCD are you running? Could you provide a backtrace with debuginfo? -- Øyvind Harboe 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

Re: [Openocd-development] nand dump cause Segmentation fault, bug onfileio_size, src/helper/fileio.c

2011-01-10 Thread Øyvind Harboe
Nice! Could you search the code for other cases of the same problem? -- Øyvind Harboe 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

Re: [Openocd-development] nand dump cause Segmentation fault, bug onfileio_size, src/helper/fileio.c

2011-01-10 Thread Øyvind Harboe
Hmm... isn't this fixed in the master branch? What does git describe tell you? master branch is currently at v0.4.0-713-g0535531 -- Øyvind Harboe 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

Re: [Openocd-development] Flash driver for em357

2011-01-10 Thread Øyvind Harboe
Is it similar enough that it should share code with stm32x? I have to see excessive duplicate and modify code. Otherwise it looks OK. -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-09 Thread Øyvind Harboe
} { } someproc { mww xxx wmw yyy } The same would be true for names like $_FLASHNAME and so on. Rather than exporting the target flash name, push the information down into the proc's that need it. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

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

2011-01-09 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe 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 ___ Openocd

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-09 Thread Øyvind Harboe
On Sun, Jan 9, 2011 at 11:53 PM, Freddie Chopin freddie_cho...@op.pl wrote: On 2011-01-09 23:50, Øyvind Harboe wrote: I don't think so, I'm not sure what you mean. So I'm not sure whether I know what you propose (; Your example is pretty cryptic for me (; In a free moment I'd be grateful

[Openocd-development] LPC2xxx scripts

2011-01-07 Thread Øyvind Harboe
0x8000 lpc2000_v2 0x2000 12000 1500 9 } -- Øyvind Harboe 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

Re: [Openocd-development] LPC2xxx scripts

2011-01-07 Thread Øyvind Harboe
On Fri, Jan 7, 2011 at 5:25 PM, Freddie Chopin freddie_cho...@op.pl wrote: On 2011-01-07 17:18, Øyvind Harboe wrote: How about using named parameters instead? Is that possible? How would that be done? This could be very nice, as now the comment with explanation is necessary. The same is true

Re: [Openocd-development] LPC2xxx scripts

2011-01-07 Thread Øyvind Harboe
On Fri, Jan 7, 2011 at 5:38 PM, Michael Schwingen rincew...@discworld.dascon.de wrote: Am 01/07/2011 05:18 PM, schrieb Øyvind Harboe: The construct below has a comment to explain what the following statement means = duplication. How about using named parameters instead? I think named

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-07 Thread Øyvind Harboe
What do you think about this idea? A step in the right direction, definitely! I'm glad to see this process moving forward. We'll have more good ideas for sure. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-06 Thread Øyvind Harboe
direction! -- Øyvind Harboe 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 ___ Openocd-development

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-06 Thread Øyvind Harboe
On Thu, Jan 6, 2011 at 1:19 PM, Freddie Chopin freddie_cho...@op.pl wrote: On 2011-01-06 13:00, Øyvind Harboe wrote: What about the reset-init sequences? E.g. LPC2478 has a reset-init sequence that is gone here, so this would break flash programming. Can or should the reset-init sequences

[Openocd-development] Cable madness

2011-01-06 Thread Øyvind Harboe
care to correct comment that would be welcome! http://www.pololu.com/picture/view/0J1708 http://www.pololu.com/catalog/category/70 -- Øyvind Harboe 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

Re: [Openocd-development] Cable madness

2011-01-06 Thread Øyvind Harboe
put something together... -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-05 Thread Øyvind Harboe
Going twice... -- Øyvind Harboe 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 ___ Openocd

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

2011-01-05 Thread Øyvind Harboe
Merged. Thanks! I was hoping someone with better sed skills than me would have a crack at it :-) -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-05 Thread Øyvind Harboe
On Wed, Jan 5, 2011 at 10:55 PM, Freddie Chopin freddie_cho...@op.pl wrote: On 2011-01-05 20:02, Øyvind Harboe wrote: Going twice... I'd just like to say, that I like the idea but all LPC2xxx family can have only one common script, as there are no differences in how OpenOCD handles

Re: [Openocd-development] New patch series for the handling of CFI with stm32

2011-01-05 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe 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 ___ Openocd

Re: [Openocd-development] [PATCH] lpc21xx: common target script

2011-01-04 Thread Øyvind Harboe
Going This is the first step of the simplification of the LPC scripts, eventually we may actually manage one central place for all LPC code and then tiny leaf scripts for specific parts and PCBs... -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] [PATCH 2/2] mips32: add fastdata loader working area

2011-01-04 Thread Øyvind Harboe
Nit: add propagation of error for mips32_pracc_write_mem32() or a comment why the error shouldn't be propagated. -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH 1/2] svf: fix USAGE and related error reporting

2011-01-03 Thread Øyvind Harboe
for a patch or four lately. Should I revert this patch for now? -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH 02/21] NAND/CORE: Replace decimal dot in messages

2011-01-02 Thread Øyvind Harboe
As long as we're not localized(which I'm not particularly keen on), I'm fine with sticking to US/UK English and localization rules. -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH 1/9] NAND/TCL: prepare for common target reference

2011-01-02 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe 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 ___ Openocd

Re: [Openocd-development] [PATCH 1/2] svf: fix USAGE and related error reporting

2011-01-02 Thread Øyvind Harboe
Merged. Thanks! -- Øyvind Harboe 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 ___ Openocd

Re: [Openocd-development] Question about new target script structure

2011-01-02 Thread Øyvind Harboe
. -- Øyvind Harboe 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 ___ Openocd-development mailing

Re: [Openocd-development] [PATCH 02/21] NAND/CORE: Replace decimal dot in messages

2011-01-02 Thread Øyvind Harboe
I see the subject of localization as orthogonal to making it consistent. Even if we did decide to make it localization, I'd be happy stopping by consistent along the way, so I merged your patch. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434

Re: [Openocd-development] (no subject)

2011-01-02 Thread Øyvind Harboe
Merged less the whitespace fixes as there are other patches in the pipe that this would cause constipation for. Thanks! -- Øyvind Harboe 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

Re: [Openocd-development] Question about new target script structure

2011-01-02 Thread Øyvind Harboe
. The default init_targets proc, replace the current funky default parameters scheme. This init_targets proc is intended to be completely replaced, not invoked, special PCBs. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http

Re: [Openocd-development] Compilation Warnings on OS X 10.5

2010-12-29 Thread Øyvind Harboe
Give HEAD of master a try now. I had to fix some other stuff first though, see latest commits. Nice finds! Thanks! -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH] CORTEX A8: Fix broken CPU identification

2010-12-29 Thread Øyvind Harboe
: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x2800042, MEM_AP_TAR 0x54011140 Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x2800042, MEM_AP_TAR 0x54011140 Error: JTAG-DP STICKY ERROR Error: MEM_AP_CSW 0x2800042, MEM_AP_TAR 0x54011140 Error: JTAG-DP STICKY ERROR -- Øyvind Harboe Can Zylin

Re: [Openocd-development] [beagleboard] Flyswatter with XM

2010-12-29 Thread Øyvind Harboe
Try with OpenOCD master branch now. Should be fixed. -- Øyvind Harboe 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

[Openocd-development] AM3517 problems

2010-12-29 Thread Øyvind Harboe
of OpenOCD to see if it is a regression? -- Øyvind Harboe 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

[Openocd-development] [PATCH] lpc21xx: common target script

2010-12-26 Thread Øyvind Harboe
Shows how to share code more easily between configuration files. LPC2148 is different enough that more work is needed. Perhaps LPC2148 is the most tested config file and that the rest should have the same fixes(e.g. reset-init sequence)? Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com

[Openocd-development] [PATCH] lpc2x78: share more between config scripts

2010-12-26 Thread Øyvind Harboe
Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- tcl/target/lpc2378.cfg | 42 +++--- tcl/target/lpc2478.cfg | 47 --- tcl/target/lpc2x78.cfg | 32 3 files changed, 39

Re: [Openocd-development] BeagleBoard with Cortex A9

2010-12-23 Thread Øyvind Harboe
cores by launching two GDB servers, but it would suck to have two IDE's running just because you have two cores. -- Øyvind Harboe 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

Re: [Openocd-development] BeagleBoard with Cortex A9

2010-12-23 Thread Øyvind Harboe
on the same JTAG Chain ? I'm not sure what you are asking, could you rephrase? It would be nice to have a single GDB sessino controlling all cores of one part. The abstraction mechanism could be GDB threads. One thread per core. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll

Re: [Openocd-development] BeagleBoard with Cortex A9

2010-12-23 Thread Øyvind Harboe
matter entirely. I have never seen anyone posting something to the list to the effect that a multicore part works or does not work with OpenOCD. What little has been posted are OpenOCD developer comments to the effect: nobody ever ran this code. -- Øyvind Harboe Can Zylin Consulting help on your

Re: [Openocd-development] [PATCH] bootstrap: split bootstrap in two most common is called bootstrap

2010-12-22 Thread Øyvind Harboe
Like so? -- Øyvind Harboe 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 37f4978f95a989d6bfcaf9aff354ee23a0855b92 Mon Sep 17 00:00

Re: [Openocd-development] [PATCH] bootstrap: split bootstrap in two most common is called bootstrap

2010-12-22 Thread Øyvind Harboe
Merged. -- Øyvind Harboe 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 ___ Openocd

Re: [Openocd-development] [PATCH 1/2] config: add init_targets proc that is executed just before init

2010-12-22 Thread Øyvind Harboe
Merged. -- Øyvind Harboe 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 ___ Openocd

Re: [Openocd-development] [PATCH]stm32xl support

2010-12-22 Thread Øyvind Harboe
I don't want to call myself an expert on the stm32 code, but I trust your judgment here. Looks good to me! Good job! -- Øyvind Harboe 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

[Openocd-development] BeagleBoard with Cortex A9

2010-12-22 Thread Øyvind Harboe
Apparently TI just did an A9 version of their BeagleBoard: http://pandaboard.org/ -- Øyvind Harboe 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

Re: [Openocd-development] [PATCH] olimex_stm32_h103.cfg: Add reset_config for shorted RST-TRST

2010-12-21 Thread Øyvind Harboe
Shouldn't this be reset_config srst_pulls_trst trst_and_srst ? -- Øyvind Harboe 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

[Openocd-development] [PATCH 1/2] config: add init_targets proc that is executed just before init

2010-12-21 Thread Øyvind Harboe
this allows configuration scripts to export a init_targets proc rather than setting up the target directly. This allows for new conventions in how to set up target vs. board script and how to transfer default settings between board and target scripts. Signed-off-by: Øyvind Harboe oyvind.har

[Openocd-development] [PATCH 2/2] lpc2148: redo to the new target configuration scheme

2010-12-21 Thread Øyvind Harboe
Define a proc which PCBs can easily override. Also demonstrates how to add multiple TAP exepcted-id's using arguments. Added 0x3f0f0f0f as expected TAP-id. Old LPC2148 silicon I happened to have on my desk? Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- tcl/target/lpc2148.cfg | 87

[Openocd-development] [PATCH] bootstrap: split bootstrap in two most common is called bootstrap

2010-12-21 Thread Øyvind Harboe
the bootstrap_inner will not perform the git submodule init+update, which most developers working with the master branch would want. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- bootstrap | 32 +++- bootstrap_inner | 30

Re: [Openocd-development] Reorganizing the target/board scripts

2010-12-19 Thread Øyvind Harboe
mold that all targets will fit. However, we can define some conventions that cover just about all targets. A board script should export a single procedure without arguments with a name that's fixed by convention. -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866

[Openocd-development] [PATCH 1/2] config: add init_targets proc that is executed just before init

2010-12-19 Thread Øyvind Harboe
this allows configuration scripts to export a init_targets proc rather than setting up the target directly. This allows for new conventions in how to set up target vs. board script and how to transfer default settings between board and target scripts. Signed-off-by: Øyvind Harboe oyvind.har

[Openocd-development] [PATCH 2/2] config: simplify default value handling of at91cap7a-stk-sdram

2010-12-19 Thread Øyvind Harboe
Illustration of the new config script handling scheme. Signed-off-by: Øyvind Harboe oyvind.har...@zylin.com --- tcl/board/at91cap7a-stk-sdram.cfg | 297 ++--- 1 files changed, 143 insertions(+), 154 deletions(-) diff --git a/tcl/board/at91cap7a-stk-sdram.cfg b

Re: [Openocd-development] making the target scripts a bit less verbose (?yvind Harboe)

2010-12-19 Thread Øyvind Harboe
On Fri, Dec 17, 2010 at 5:33 PM, Peter Stuge pe...@stuge.se wrote: Øyvind Harboe wrote: In my opinion the if/then version makes it easier for new users to customize cfg files.  And since most users will need to customize at least one cfg file, I think simplicity trumps short files. I

Re: [Openocd-development] [PATCH 2/2] config: simplify default value handling of at91cap7a-stk-sdram

2010-12-19 Thread Øyvind Harboe
On Sun, Dec 19, 2010 at 5:22 PM, David Brownell davi...@pacbell.net wrote: --- On Sun, 12/19/10, Øyvind Harboe oyvind.har...@zylin.com wrote: -if { [info exists ENDIAN] } { -   set  _ENDIAN $ENDIAN -} else { -   set  _ENDIAN little A good simplification would be to remove every non

Re: [Openocd-development] Proposal: update IXP42x config files

2010-12-19 Thread Øyvind Harboe
Looks OK to me after a cursory inspection. Any objections? -- Ø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] Reorganizing the target/board scripts

2010-12-19 Thread Øyvind Harboe
On Sun, Dec 19, 2010 at 6:50 PM, David Brownell davi...@pacbell.net wrote: Øyvind Harboe wrote: A board script should export a single procedure without arguments with a name that's fixed by convention. Is there an advantage to that approach?  After all, a script file *is* essentially

Re: [Openocd-development] [PATCH 2/2] config: simplify default value handling of at91cap7a-stk-sdram

2010-12-19 Thread Øyvind Harboe
the more advanced mechanism if it makes things simpler, i.e you're looking at a non-trivial case. -- Ø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] Reorganizing the target/board scripts

2010-12-19 Thread Øyvind Harboe
On Sun, Dec 19, 2010 at 7:56 PM, David Brownell davi...@pacbell.net wrote: --- On Sun, 12/19/10, Øyvind Harboe oyvind.har...@zylin.com wrote: So you don't think there is a disadvantage to  using variables to pass information around? I never said that.  Are you saying that one goal

Re: [Openocd-development] :sh bootstrap doesn't; why not??

2010-12-19 Thread Øyvind Harboe
it does today and that can be invoked directly. - bootstrap would call this new script + git submodule init/update as this is what most, but not everybody, wants. -- Ø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] Proposal: update IXP42x config files

2010-12-19 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] :sh bootstrap doesn't; why not??

2010-12-19 Thread Øyvind Harboe
On Mon, Dec 20, 2010 at 12:20 AM, David Brownell davi...@pacbell.net wrote: --- On Sun, 12/19/10, Øyvind Harboe oyvind.har...@zylin.com wrote: missed. I'm thinking that bootstrap could be split in two: - a script that does what it does today and that can be invoked directly. Two

Re: [Openocd-development] [PATCH 1/3] tcl/board: Fix ST URLs in stm32* eval board configuration files

2010-12-19 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

<    3   4   5   6   7   8   9   10   11   12   >