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 ARM1

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

2011-01-31 Thread Mathias K.
Hello, this patch adds the missing cpu registers and the correct read/write register functions and fixed most of the halt/step/resume issues. Regards, Mathias diff --git a/src/target/dsp563xx.c b/src/target/dsp563xx.c index 10fd014..dea63a9 100644 --- a/src/target/dsp563xx.c +++ b/src/target

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

2011-01-31 Thread Spencer Oliver
On 31/01/2011 12:09, Øyvind Harboe wrote: wip. What to do about protection? Protection is by sector rather then page - which as you know is variable. I think this needs moving to another driver as the flash algo will also change - ST have used a new flash controller for the 2x family. This

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

2011-01-31 Thread Øyvind Harboe
Signed-off-by: Øyvind Harboe --- 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/stm3220f_eval.cfg new file mode

[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 --- 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 3914d25..52b0848 100644 --- a/

[Openocd-development] timeout with mini2440 board

2011-01-31 Thread Belisko Marek
Hi, I'm new to openocd but according some recipe it should work. I try to debug barebox bootloader with openocd but aftre loading image to RAM it always fail with timeout. Any ideas? test.cfg : interface parport parport_port 0 parport_cable chameleon source [find board/mini2440.cfg] telnet_por

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

2011-01-31 Thread Alexander Stein
Hello, On Monday 31 January 2011, 10:33:50 Øyvind Harboe wrote: > How's this? This works fine. Thanks Regards, Alexander ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-develop

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:0

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

2011-01-31 Thread Alexander Stein
Hello, I cannot reprogram my NOR-Flash on an ARM11-Board (I.mx35 actually) while it worked before. I bisected the problem to commit aa61a3b3d8b6acad19050987835ec05f3d298bdb. This seem to change the arch detection which doesn't work for arm11. Any ideas how to fix that? Especially as there is n

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

2011-01-31 Thread luca ellero
Great, keep us posted. Actually, this will definitely be generally useful, because there are many other resources that can't be accessed from the L3 interconnect: the MPCore private regions (per-core timers and WDT), snoop-control unit, global interrupt controller, local PRCM, and of course ROM. A

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 programme

Re: [Openocd-development] segfault in cortex_m3_assert_reset

2011-01-31 Thread Øyvind Harboe
On Tue, Jan 25, 2011 at 2:17 PM, Andreas Fritiofson wrote: > Mathias: > I built in a fresh out-of-tree directory, and reran bootstrap every > time. See test.sh script. Anyway I found the bug, the patch I posted > solves it for me. Since the stack was corrupted, technically, anything > could have h