Re: [Openocd-development] Renaming target configs

2010-02-03 Thread David Brownell
On Wednesday 03 February 2010, Harald Kipp wrote: > Like I've done in my last patch for ethernut3/at91r40008 I'd like to > clean-up the eir/sam7se512 combo. I'm not sure, how to do this in detail > and would appreciate any advice. > > The first thing I want to do is to move the target file from >

[Openocd-development] Phytec/LPC3250 target and board config scripts

2010-02-03 Thread Ethan Eade
I've attached configuration scripts for the LPC3250 target and the Phytec evaluation board with that chip. The board initialization sets up the PLLs (266/133) and initializes the SDRAM. I've tested these with 0.4.0-rc1-dev-00176-g95ed9c4 (latest from git as of two hours ago), using GDB. Re

Re: [Openocd-development] getting the error: array subscript has type `char' while compiling openocd

2010-02-03 Thread David Brownell
On Wednesday 03 February 2010, Bronislav Gabrhelik wrote: > I am getting the error: array subscript has type `char' while > compiling openocd-0.4.0-rc1. The platform is cygwin gcc v 4.3.4. Doe's > anyone use this version of gcc? I use that version from the latest cygwin, to do test builds. And I

[Openocd-development] getting the error: array subscript has type `char' while compiling openocd

2010-02-03 Thread Bronislav Gabrhelik
I am getting the error: array subscript has type `char' while compiling openocd-0.4.0-rc1. The platform is cygwin gcc v 4.3.4. Doe's anyone use this version of gcc? The problem is with functions like tolower() toupper() ischar(), etc... I had to typecast an argument to (unsigned char) to get rid o

Re: [Openocd-development] Olimex arm-jtag-ew and openocd

2010-02-03 Thread Dimitar Dimitrov
On Wednesday 03 February 2010 14:55:20 Nick wrote: > here is my output: > Info : ARM-JTAG-EW firmware version 1.4, hardware revision A, > SN=OL24B4C000F43EE, Additional info: Date of firmware comp ilation: Sep 10 > 2009, 15:55:50, Source revision: 823 > Info : U_tg = 3235 mV, U_aux = 0 mV, U_tgpw

Re: [Openocd-development] [PATCH] target: Added script for Luminary Stellaris LM3S3748 target

2010-02-03 Thread David Brownell
On Wednesday 03 February 2010, Laurentiu Cocanu wrote: > Tested with Luminary Micro LM3S3748 EVB board > > Signed-off-by: Laurentiu Cocanu > --- >  tcl/target/lm3s3748.cfg |   29 + We don't need that. The tcl/target/stellaris.cfg file works just fine. See tcl/board/

[Openocd-development] Fw: For JLink Support

2010-02-03 Thread jerry_xjtu
hi ALL: From code : +/* We use the maximal value observed */ +#define JLINK_TAP_BUFFER_SIZE 390 + +static int tap_length; +static u8 tms_buffer[JLINK_TAP_BUFFER_SIZE]; +static u8 tdi_buffer[JLINK_TAP_BUFFER_SIZE]; +static u8 tdo_buffer[JLINK_TAP_BUFFER_SIZE]; + Does it means SAMPLE op will

[Openocd-development] [PATCH] target: Added script for Luminary Stellaris LM3S3748 target

2010-02-03 Thread Laurentiu Cocanu
Tested with Luminary Micro LM3S3748 EVB board Signed-off-by: Laurentiu Cocanu --- tcl/target/lm3s3748.cfg | 29 + 1 files changed, 29 insertions(+), 0 deletions(-) create mode 100644 tcl/target/lm3s3748.cfg diff --git a/tcl/target/lm3s3748.cfg b/tcl/target/lm3s374

Re: [Openocd-development] Olimex arm-jtag-ew and openocd

2010-02-03 Thread Nick
Hi Dimitar I have the lastest firmware install. I have the latest openocd source from the git repository. I managed to build openocd. It now connects to the arm-jtag-ew but, I can't seem to capture the processor. It does a reset but not much of anything else. I read the note about the RTCK m

Re: [Openocd-development] [PATCH] JTAG: fix bug when no interface connected

2010-02-03 Thread Øyvind Harboe
On Wed, Feb 3, 2010 at 1:05 PM, Spencer Oliver wrote: > Øyvind Harboe wrote: >> >> It's missing a LOG_ERROR() in this case >> > > If we add a LOG_ERROR we get bombarded with: > Error: 161 31 core.c:1628 jtag_power_dropout(): JTAG Not Initialised > Error: 163 141 core.c:1628 jtag_power_dropout(

Re: [Openocd-development] [PATCH] JTAG: fix bug when no interface connected

2010-02-03 Thread Spencer Oliver
Øyvind Harboe wrote: > It's missing a LOG_ERROR() in this case > If we add a LOG_ERROR we get bombarded with: Error: 161 31 core.c:1628 jtag_power_dropout(): JTAG Not Initialised Error: 163 141 core.c:1628 jtag_power_dropout(): JTAG Not Initialised Error: 164 250 core.c:1628 jtag_power_dropou

[Openocd-development] Renaming target configs

2010-02-03 Thread Harald Kipp
Like I've done in my last patch for ethernut3/at91r40008 I'd like to clean-up the eir/sam7se512 combo. I'm not sure, how to do this in detail and would appreciate any advice. The first thing I want to do is to move the target file from sam7se512.cfg to at91sam7se512.cfg. So far, board/eir.cfg seem

Re: [Openocd-development] Openocd vrs Commercial jtag dongles

2010-02-03 Thread Spencer Oliver
Michel Catudal wrote: > Le 02/02/2010 05:35, Igor Skochinsky a écrit : >> Hi Spencer, >> >> On Tue, Feb 2, 2010 at 11:18, Spencer Oliver >> wrote: >> >>> I have been given all the info for the ST-LINK from ST. >>> http://www.st.com/stonline/products/literature/um/15285.pdf >>> >>> It is access