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

2011-02-02 Thread Mathias K.
Hello, i think it's better to fix ahbap_debugport_init. I have the same wrong default AP on cortex_r4. /* Default MEM-AP setup. * * REVISIT AP #0 may be an inappropriate default for this. * Should we probe, or take a hint from the caller? * Presumabl

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] Adding new target

2011-02-02 Thread Rodrigo Rosa
Great, I got that working. I haven't been able to figure out what the following parameters of a tap are: irlen, ircapture and irmask. What does "ir" stand for? I'm getting the following error: Open On-Chip Debugger 0.5.0-dev-00734-gaaf145c (2011-02-02-13:14) Licensed under GNU GPL v2 For bug rep

[Openocd-development] Adding new target

2011-02-02 Thread Rodrigo Rosa
Hello, I'm trying to add support for a freescale 568013. I've modified the files dsp563xx.* to adapt them to the 568013. Now I have dsp5680xx.h, dsp5680xx.c, dsp5680xx_once.h and dsp5680xx_once.c. What files do I have to modify in order to be able to compile openocd with the new stuff? I tried

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

2011-02-02 Thread Aaron Carroll
Save, select and restore AP in cortex_a9_step and cortex_a9_init_debug_access. Fixes a bug where the wrong AP is selected after a reset. Signed-off-by: Aaron Carroll --- src/target/cortex_a9.c | 26 -- 1 files changed, 20 insertions(+), 6 deletions(-) diff --git a/src/

Re: [Openocd-development] stm32f2xxx flash support

2011-02-02 Thread Øyvind Harboe
On Wed, Feb 2, 2011 at 7:53 PM, simon qian wrote: > I have one STM32F207, but PCB will be available at end of this month. > I'll go to ST this month for some STM32F205s if available. > I can do the test if I can get the samples, but only for SWD, because there > is only SWD available in my PCB. T

Re: [Openocd-development] stm32f2xxx flash support

2011-02-02 Thread simon qian
I have one STM32F207, but PCB will be available at end of this month. I'll go to ST this month for some STM32F205s if available. I can do the test if I can get the samples, but only for SWD, because there is only SWD available in my PCB. 2011/2/2 Øyvind Harboe > FYI, I'm working on stm32f2xxx f

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

2011-02-02 Thread Mathias K.
Hello, this patch add 24bit support to the target buffer functions and little/big endian functions. Regards, Mathias diff --git a/src/helper/types.h b/src/helper/types.h index 04b0059..12b9515 100644 --- a/src/helper/types.h +++ b/src/helper/types.h @@ -116,6 +116,11 @@ static inline uint32_

[Openocd-development] stm32f2xxx flash support

2011-02-02 Thread Øyvind Harboe
FYI, I'm working on stm32f2xxx flash support. I've got basic erase + programming up and running, including block programming so performance will should be tolerable. Does anyone have hardware to test on out there? I'll keep pushing my work-in-progress to oharboe/stm32 until it's ready for review.