[Openocd-development] Funky defaults for commands

2011-05-10 Thread Øyvind Harboe
I was working with a JTAG debugger this morning(not OpenOCD). It had a command with a seemingly optional argument. prog [offset] [file] ... So offset is optional, right? Except the clever bit is that [offset] is parsed and stored in a global persistent variable inside the JTAG debugger, so if

[Openocd-development] Error in RTOS code?

2011-05-10 Thread Alan Bowman
I'm looking through the new RTOS/thread code, with a view to adding eCos/Cortex-M3 support (if time and hardware allow) and I'm a bit confused by a section in src/rtos/rtos.c. In rtos_generic_stack_read():534, address is modified by the size of the stacked register set (having been set to the

[Openocd-development] Compiling error under mingw64

2011-05-10 Thread Iván García García
I'm getting and error in rtos.c compiling openOCD on line 145: sscanf(packet, qP%8lx%16 SCNx64, mode, threadid); Sorry but the output is in spanish: rtos.c:221:4: error: se desconoce el carácter de tipo de conversión 'l' en el formato It says something like the conversion type character 'l' is

Re: [Openocd-development] Compiling error under mingw64

2011-05-10 Thread Øyvind Harboe
2011/5/10 Iván García García i...@intelligenia.com: I'm getting and error in rtos.c compiling openOCD on line 145: sscanf(packet, qP%8lx%16 SCNx64, mode, threadid); Sorry but the output is in spanish: rtos.c:221:4: error: se desconoce el carácter de tipo de conversión 'l' en el formato It

Re: [Openocd-development] Compiling error under mingw64

2011-05-10 Thread Øyvind Harboe
What version of gcc are you running? gcc --version -- Ø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

[Openocd-development] stepi to infinity. The first stepi fails

2011-05-10 Thread Simon Schwarz
hi list, I have a massiv problem with debugging on a devkit8000 (beagle board clone) in combination with a OLIMEX ARM-USB-TINY this is how i start: openocd -f interface/olimex-jtag-tiny.cfg -f board/ti_beagleboard.cfg This is what it returns: Open On-Chip Debugger 0.4.0 (2010-10-08-15:44)

[Openocd-development] Multi-core platform support

2011-05-10 Thread Sébastien Baillou
Hello everyone, I am in the process of adding debugging support to one of my employer's DSP. I came across OpenOCD and figured it would be a nice way of interfacing the hardware with GDB, given the existing support of many JTAG adapters. The focus of my company is multi-core designs, which

Re: [Openocd-development] Multi-core platform support

2011-05-10 Thread Tomek CEDRO
Hello Sebastien :-) On Tue, May 10, 2011 at 3:33 PM, Sébastien Baillou sbaillou.mail...@gmail.com wrote: (..) 1- Currently, multiple CPUs are connected to the GDB clients via multiple GDB servers and not via GDB threads. Is the addition of a threaded GDB server planned in any roadmap ? I am

Re: [Openocd-development] Multi-core platform support

2011-05-10 Thread Michel JAOUEN
Hello, For supporting optimized jtag chain length, you should look at CJTAG specification, with star topology support. CJTAG is not yet supported by openocd. Best regards -Original Message- From: openocd-development-boun...@lists.berlios.de

Re: [Openocd-development] Compiling error under mingw64

2011-05-10 Thread Iván García García
We manage to successfully compile the code removing the -Werror directive, but I'm not sure of the implications of that. I haven't tested the gdb debugger yet. El 10 de mayo de 2011 16:52, Iván García García i...@intelligenia.comescribió: GCC 4.5 gcc.exe (WPG System64 Win64 Native GCC

Re: [Openocd-development] Compiling error under mingw64

2011-05-10 Thread Øyvind Harboe
The warning tells you something is wrong, so removing that warning and trying to run it isn't really recommended. -- Ø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

Re: [Openocd-development] Multi-core platform support

2011-05-10 Thread Øyvind Harboe
On Tue, May 10, 2011 at 5:33 PM, Sébastien Baillou sbaillou.mail...@gmail.com wrote: Hello everyone, I am in the process of adding debugging support to one of my employer's DSP. I came across OpenOCD and figured it would be a nice way of interfacing the hardware with GDB, given the existing

Re: [Openocd-development] stepi to infinity. The first stepi fails

2011-05-10 Thread Øyvind Harboe
Try the latest version from git. -- Ø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

[Openocd-development] Any work on Integra (C6A816x)?

2011-05-10 Thread Brian Hutchinson
Hi, Just wondering if anyone is working on support for TI C6A816x (Integra aka Netra)? Regards, Brian ___ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development

[Openocd-development] Busted JLink

2011-05-10 Thread Rogan Dawes
Hi folks, I have a clone JLink adapter, that was working fine with OpenOCD (apart from my not being able to access the flash at the time). I decided to try it with the JLink software, and it upgraded the firmware. Every since, I have been unable to use it with OpenOCD. My config file is

[Openocd-development] ARM 1176

2011-05-10 Thread Austin, Alex
I know ARM11 support is incomplete, but I was hoping to be able to read/write flash. == alex@msp-clx-aaustin:~/Projects/openocd$ ./src/openocd -f interface/jtagkey2.cfg \ -c jtag newtap xgold cpu -irlen 5 -ircapture 0x1 -irmask 0x1f

Re: [Openocd-development] ARM 1176

2011-05-10 Thread Austin, Alex
BTW, a scan shows: == alex@msp-clx-aaustin:~/Projects/openocd$ ./src/openocd -f interface/jtagkey2.cfg -c jtag_khz 1000 Open On-Chip Debugger 0.5.0-dev-00876-g15c5d05 (2011-05-10-14:17) Licensed under GNU GPL v2 For bug reports, read

[Openocd-development] jlink and stm32f103

2011-05-10 Thread Rob Emanuele
Greetings, I'm using a J-Link with openocd. It provides nice rtck support and is great for debugging on some of the higher speed arm9 chips. I've use the Olimex ARM-USB-OCD in the past to program and debug STM32F105 chips. When I try to use the J-Link to program the STM32 I will always get an

[Openocd-development] jlink and stm32f105

2011-05-10 Thread Rob Emanuele
Sorry for the resend, but I accidentally titled the last post incorrectly as stm32f103 instead of stm32f105 as the message details. On Tue, May 10, 2011 at 3:38 PM, Rob Emanuele r...@crystalfontz.com wrote: Greetings, I'm using a J-Link with openocd.  It provides nice rtck support and is

Re: [Openocd-development] Compiling error under mingw64

2011-05-10 Thread Xiaofan Chen
2011/5/10 Iván García García i...@intelligenia.com: GCC 4.5 gcc.exe (WPG System64 Win64 Native GCC 4.5.0, Initial Native Build Release) 4.5.0 20090830 (experimental) Copyright (C) 2009 Free Software Foundation, Inc. This is now obsolete and no longer supported and has a lot of problems. It is

Re: [Openocd-development] Busted JLink

2011-05-10 Thread Xiaofan Chen
On Wed, May 11, 2011 at 2:30 AM, Rogan Dawes ro...@dawes.za.net wrote: I have a clone JLink adapter, that was working fine with OpenOCD (apart from my not being able to access the flash at the time). I decided to try it with the JLink software, and it upgraded the firmware. Every since, I