Re: [Openocd-development] openocd crash when sending command over tcl_port

2010-04-19 Thread Øyvind Harboe
Also... it must be said that this is probably a little tested feature, so no great surprise it doesn't work. I was wondering whether it would be the right thing to do to remove the tcl server from OpenOCD, unless someone steps up to debug, test & document it. -- Meet Zylin at ESC 2010 San Jos

Re: [Openocd-development] openocd crash when sending command over tcl_port

2010-04-19 Thread Øyvind Harboe
I had a quick peek. I can reproduce this with the dummy driver(good), but I can't see anything obviously wrong(bad). I *suspect* that the bug is not at the crash site, but that something went wrong ahead of that to cause the crash. -- Meet Zylin at ESC 2010 San Jose April 26 - 30. 2010 http://ww

Re: [Openocd-development] openocd crash when sending command over tcl_port

2010-04-15 Thread Øyvind Harboe
Good work. Please walk around the code in tcl_server.c:134 and see if you can figure out what's wrong -- Meet Zylin at ESC 2010 San Jose April 26 - 30. 2010 http://www.zylin.com/events_esc2010.html Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.

Re: [Openocd-development] openocd crash when sending command over tcl_port

2010-04-15 Thread M B
Hello again, I now tried latest version from git ( git version b886049c74de147b1ce6f7f0173ecd71323c5c64 ). I compiled it under linux with following commands: export CFLAGS="-O0 -g" ./configure --enable-ft2232_libftdi --enable-gw16012 --enable-presto_libftdi --enable-amtjtagaccel --enable-arm-jta

Re: [Openocd-development] openocd crash when sending command over tcl_port

2010-04-15 Thread Kaius Häggblom
Øyvind Harboe wrote: Try generating a stack trace: The attached trace was produced by starting program: ./src/openocd -s tcl -f board/colibri_pxa320.cfg -f nterface/jtagkey.cfg -d 3 -l openocd.log ... and issuing following commands through telnet client: > reg > reset halt > reg cpsr 0xd3

Re: [Openocd-development] openocd crash when sending command over tcl_port

2010-04-14 Thread Øyvind Harboe
Try generating a stack trace: http://openocd.berlios.de/doc/doxygen/bugs.html -- Ø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-development] openocd crash when sending command over tcl_port

2010-04-14 Thread M B
Hello, I have just updated to version openocd 0.4.0 on windows [ precompiled version from http://www.freddiechopin.info/ ]. I have a small tool which programs my Cortex-M3 with a file through the tcl_port. Openocd accepts the connection, but when the first command is run ( ie. reset halt ) openo