Re: [Openocd-development] [PATCH] warnings: fix alignment warnings

2010-09-06 Thread Øyvind Harboe
On Tue, Sep 7, 2010 at 5:19 AM, Antonio Borneo wrote: > On Tue, Sep 7, 2010 at 6:28 AM, Øyvind Harboe wrote: >> These warnings are for architectures that do not >> support non-aligned word access. > > Hello Øyvind, > > I personally do not like such approach to silent compiler warnings. > Passing

Re: [Openocd-development] [PATCH] warnings: fix alignment warnings

2010-09-06 Thread Antonio Borneo
On Tue, Sep 7, 2010 at 6:28 AM, Øyvind Harboe wrote: > These warnings are for architectures that do not > support non-aligned word access. Hello Øyvind, I personally do not like such approach to silent compiler warnings. Passing through a (void *) removes any compiler check, opening the door for

Re: [Openocd-development] problem using the jtag interface on linux ...

2010-09-06 Thread Mike Dunn
On 09/06/2010 09:20 AM, Teratux wrote: > > I get the following error: > > Open On-Chip Debugger 0.4.0 (2010-08-31-15:56) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.berlios.de/doc/doxygen/bugs.html > parport port = 0x0 > 1000 kHz > jtag_nsrst_delay: 100 > jtag_ntrst_de

[Openocd-development] [PATCH] warnings: fix alignment warnings

2010-09-06 Thread Øyvind Harboe
These warnings are for architectures that do not support non-aligned word access. Signed-off-by: Øyvind Harboe --- src/flash/mflash.c |4 ++-- src/flash/nand/lpc3180.c |4 ++-- src/flash/nor/at91sam3.c |4 ++-- src/helper/types.h |2 +- src/pld/virtex2.c|2

[Openocd-development] problem using the jtag interface on linux ...

2010-09-06 Thread Teratux
Sorry for double posting but I just didn't get an answer the last time. If I still get no reply I'll have to keep searching for other answers ... Hi ... I'm trying to use a self made JTag wiggler cable that on one end has a DB25 ( parallel port ) interface and on the other a 20-Pin JTag socke

[Openocd-development] Stellaris: disable JTAG interface

2010-09-06 Thread Yegor Yefremov
I'm using LM3S6911 chip and would like to protect the firmware by disabling debugging interface. I have found a discussion about this on TI forum http://e2e.ti.com/f/471/p/45944/159065.aspx#159065%22 Unfortunately issuing these commands via openocd didn't disable JTAG: mww 0x400fd004 0xFFFD (a

Re: [Openocd-development] Proposed change for STM32 Flash burner: at 0 as well as 0x8000000

2010-09-06 Thread John Hartman (NoICE)
At 01:32 PM 9/5/10, Spencer Oliver wrote: >>>On 03/09/2010 20:29, John Hartman (NoICE) wrote: >>>The STM32 parts have Flash beginning at 0x800, and OpenOCD's >>>stm32x.c places the Flash there regardless of the address used in the >>>"flash" command in the cfg file. >>> >>>The chips have two

Re: [Openocd-development] PXA question

2010-09-06 Thread Laurent Gauch
>/ > I want to use openocd to reflash PXA270 board (Colibri by Toradex). I am />/ > using JTAGKey-Tiny interface (by Amontec). I can connect the board but I />/ > always get the error message: />/ > 'time out writing RX register'. Here is the output for 'reset' and />/ />/ > 'flash info 0': />/

Re: [Openocd-development] PXA question

2010-09-06 Thread Takács Áron
2010-09-06 10:33 keltezéssel, Marek Vasut írta: Dne Po 6. září 2010 08:59:21 Takács Áron napsal(a): Thanky you, Marek! Yes I use a Colibri board. Bypassing the buffers needs some HW hacking but I'll try it. Thank you! Keep the DAMNED CC !! Sorry, I simply pushed Reply... You do

Re: [Openocd-development] PXA question

2010-09-06 Thread Marek Vasut
Dne Po 6. září 2010 08:59:21 Takács Áron napsal(a): > Thanky you, Marek! > Yes I use a Colibri board. Bypassing the buffers needs some HW hacking > but I'll try it. Thank you! > Keep the DAMNED CC !! You don't need any hardware hacking, you can just connect the jtag to the CPU card directly, che