Re: [Openocd-development] [PATCH] CFI: replace macro to magic numbers

2010-03-08 Thread Øyvind Harboe
Makes sense to me. I tested that it builds & committed it. -- Ø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-devel

[Openocd-development] support stm32 primer 2

2010-03-08 Thread Julien Iguchi-Cartigny
Hi, I want to use openocd with stm32 primer 2, but it seems not supported. Is there any work for this board, or is there no chance this card will be ever supported ? Regards, Julien. -- "Trouble-a-cat limited" <>___ Openocd-development mailing list

Re: [Openocd-development] [PATCH] Add support for Buspirate interface v2

2010-03-08 Thread David Brownell
On Sunday 07 March 2010, Øyvind Harboe wrote: > What's checkpatch? > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=scripts/checkpatch.pl;h=a4d74344d805610a67e0e7e0bbf1674875f555a7;hb=HEAD ___ Openocd-development mailing list

[Openocd-development] [PATCH 1/4] ADUC702x: flash loader cleanup

2010-03-08 Thread Spencer Oliver
>From 3ef4cc07ce5900c699767bb112bfed4ffdafef9f Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Mon, 8 Mar 2010 20:30:53 + Subject: [PATCH 1/4] ADUC702x: flash loader cleanup - make algorithm array static const. Signed-off-by: Spencer Oliver --- src/flash/nor/aduc702x.c |2 +- 1 f

Re: [Openocd-development] [PATCH] CFI: replace macro to magic numbers

2010-03-08 Thread Antonio Borneo
Øyvind, in attachment a first attempt to simplify src/flash/nor/cfi.c that also includes my former patch. Further simplification is possible, but let's go step by step. At the end I have added comments /* FIXME: to be removed */ There are 3 lines in which my simplification is not complete due to

Re: [Openocd-development] [PATCH] Add support for Buspirate interface v2

2010-03-08 Thread Michal Demin
On Mon, Mar 8, 2010 at 3:54 AM, David Brownell wrote: > On Sunday 07 March 2010, Michal Demin wrote: >> Copy of this patch can by >> downloaded here: http://robot.mysteria.cz/buspirate.patch > > Better ... I can apply that one. > > I attach a version with minor fixes, mostly from running "checkpat

[Openocd-development] [PATCH 2/4] STR9: flash loader cleanup

2010-03-08 Thread Spencer Oliver
>From 0976cccd5d5e43555c6410a5b62ab8441bc61cf9 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Mon, 8 Mar 2010 20:31:25 + Subject: [PATCH 2/4] STR9: flash loader cleanup - make algorithm array static const. - increase algorithm buffer size to 32k. Signed-off-by: Spencer Oliver --- s

[Openocd-development] [PATCH] PIC32: add flash algorithm support

2010-03-08 Thread Spencer Oliver
Hi, Attached is a patch that vastly improves the pic32 programming speed. comments and beta testers welcome. The only gotcha at the moment is due to the mips memory map. Each bank needs to support 2 virtual addresses: * virtual physical * 0x9FC0 - 0x1FC0 Boot Flash - KSEG0 * 0x

Re: [Openocd-development] [SWD] STM32Primer2 JTAG/SWD + RLink pinout

2010-03-08 Thread andrew
Quoting CeDeROM : Hello! If anyone is interested to work on the SWJ/RLink with STM32Primer2, here goes the pinouts: http://www.tomek.cedro.info/content/view/236/1/lang,en/ Best regards, Tomek I'm interested. I started a while ago tackling this. I developed the firmware for the ST7 DTC to

Re: [Openocd-development] [PATCH] Add support for Buspirate interface v2

2010-03-08 Thread Øyvind Harboe
On Mon, Mar 8, 2010 at 3:54 AM, David Brownell wrote: > On Sunday 07 March 2010, Michal Demin wrote: >> Copy of this patch can by >> downloaded here: http://robot.mysteria.cz/buspirate.patch > > Better ... I can apply that one. > > I attach a version with minor fixes, mostly from running "checkpat