[Openocd-development] segfault when gdb connects, but target is not connected

2010-11-10 Thread Domen Puncer
Hello, I can reproduce this one easily, amontec tiny dongle, stm32 target, which isn't connected. Fire up gdb to connect to openocd, and this happens: (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program:

Re: [Openocd-development] omap3530 problem: ICEPick found, but armcore not found

2010-11-10 Thread Karl Kurbjun
On 11/09/2010 06:37 PM, David Brownell wrote: --- On Tue, 11/9/10, 韦东山ds...@ustc.edu wrote: From: 韦东山ds...@ustc.edu Yes, it can't enable the Cortex core. I delete this line in the cofigration file: jtag configure $_CHIPNAME.jrc -event setup jtag tapenable $_CHIPNAME.dap and run jtag

Re: [Openocd-development] lpc3131 and Actel FPGA chain programming.

2010-11-10 Thread Peter Stuge
Andrew Leech wrote: Now I need to figure out how to bypass the lpc via software rather than physically changing the chain. I can't seem to find much information about how bypass works with openocd, do you have any idea? Sorry, no idea. Once I have it all sorted out I think this is well

[Openocd-development] STM32 reset_config

2010-11-10 Thread Freddie Chopin
Hi! I've doubts about this commit http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd;a=commit;h=85944d4144a1df0647e4324d1cf8ae9a276b70e5 Today I've noticed that resetting the chip with OpenOCD does NOT reset peripheals (the chip is STM32F103RBT8), which IMO is not very good...

Re: [Openocd-development] STM32 reset_config

2010-11-10 Thread Andreas Fritiofson
On Wed, Nov 10, 2010 at 6:50 PM, Freddie Chopin freddie_cho...@op.pl wrote: Hi! I've doubts about this commit http://openocd.git.sourceforge.net/git/gitweb.cgi?p=openocd/openocd;a=commit;h=85944d4144a1df0647e4324d1cf8ae9a276b70e5 Today I've noticed that resetting the chip with OpenOCD does

Re: [Openocd-development] STM32 reset_config

2010-11-10 Thread Andreas Fritiofson
On Wed, Nov 10, 2010 at 7:47 PM, Andreas Fritiofson andreas.fritiof...@gmail.com wrote: On Wed, Nov 10, 2010 at 6:50 PM, Freddie Chopin freddie_cho...@op.pl wrote: Hi! I've doubts about this commit

Re: [Openocd-development] [PATCH] Simplify build with new jimtcl

2010-11-10 Thread Spencer Oliver
On 09/11/2010 07:13, Steve Bennett wrote: On 09/11/2010, at 5:10 PM, Øyvind Harboe wrote: On Tue, Nov 9, 2010 at 8:08 AM, Steve Bennettste...@workware.net.au wrote: On 09/11/2010, at 4:59 PM, Øyvind Harboe wrote: Why is -I$(top_srcdir)/jimtcl \, that doesn't seem right. Shouldn't it be

Re: [Openocd-development] [PATCH] Simplify build with new jimtcl

2010-11-10 Thread Øyvind Harboe
Do you know how to make the use of the installed jim tcl (which is what happens today) an option on configure? -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale

Re: [Openocd-development] STM32 reset_config

2010-11-10 Thread Spencer Oliver
On 10/11/2010 19:01, Andreas Fritiofson wrote: On Wed, Nov 10, 2010 at 7:47 PM, Andreas Fritiofson andreas.fritiof...@gmail.com wrote: On Wed, Nov 10, 2010 at 6:50 PM, Freddie Chopinfreddie_cho...@op.pl wrote: Hi! I've doubts about this commit

Re: [Openocd-development] STM32 reset_config

2010-11-10 Thread Øyvind Harboe
The default behaviour was changed to make it compatible with all cortex-m3 cores - will have to check but some stm32 and nxp parts had issues using SYSTEMRESET. I think it would be good for openocd to have knowledge of what core can handle certain reset modes. We have already gone down this

Re: [Openocd-development] segfault when gdb connects, but target is not connected

2010-11-10 Thread Øyvind Harboe
Could you try reproducing this problem using the dummy driver? openocd -c interface dummy -f yourconfig.cfg -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex

Re: [Openocd-development] STM32 reset_config

2010-11-10 Thread Andreas Fritiofson
On Wed, Nov 10, 2010 at 10:15 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: Spencer Oliver s...@spen-soft.co.uk wrote: The default behaviour was changed to make it compatible with all cortex-m3 cores - will have to check but some stm32 and nxp parts had issues using SYSTEMRESET. I believe

Re: [Openocd-development] STM32 reset_config

2010-11-10 Thread David Brownell
Today I've noticed that resetting the chip with OpenOCD does NOT reset peripheals (the chip is STM32F103RBT8), which IMO is not very good... Not all SoCs reset peripherals like that; don't assume they do. Likewise, not all boards. - Dave ___

[Openocd-development] [PATCH] httpd: fix build error with new Jim

2010-11-10 Thread Andreas Fritiofson
Signed-off-by: Andreas Fritiofson andreas.fritiof...@gmail.com --- src/server/httpd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/server/httpd.c b/src/server/httpd.c index af8c3c8..42bba5b 100644 --- a/src/server/httpd.c +++ b/src/server/httpd.c @@ -84,7 +84,7 @@

Re: [Openocd-development] [PATCH] httpd: fix build error with new Jim

2010-11-10 Thread Øyvind Harboe
I was actually pondering removing the httpd stuff from OpenOCD as we have the tcl server which is a good enough interface. I don't think the httpd server was ever used and OpenOCD's role seems to be more low level. Any thoughts on that? -- Øyvind Harboe Can Zylin Consulting help on your

Re: [Openocd-development] [PATCH] Simplify build with new jimtcl

2010-11-10 Thread Steve Bennett
On 11/11/2010, at 6:48 AM, Spencer Oliver wrote: On 09/11/2010 07:13, Steve Bennett wrote: On 09/11/2010, at 5:10 PM, Øyvind Harboe wrote: On Tue, Nov 9, 2010 at 8:08 AM, Steve Bennettste...@workware.net.au wrote: On 09/11/2010, at 4:59 PM, Øyvind Harboe wrote: Why is

Re: [Openocd-development] [PATCH] httpd: fix build error with new Jim

2010-11-10 Thread Andreas Fritiofson
On Wed, Nov 10, 2010 at 11:42 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: I was actually pondering removing the httpd stuff from OpenOCD as we have the tcl server which is a good enough interface. I don't think the httpd server was ever used and OpenOCD's role seems to be more low level.

Re: [Openocd-development] omap3530 problem: ICEPick found ,but armcore not found

2010-11-10 Thread 韦东山
Thanks all! When run reset or reset init in the telnet window, it can halt, resume the arm core now! And the emu0, emu1 pins do not effect the performance of openocd for omap3530. I let emu0,eumu1 as high/high, low/low, high/low, low/high and unconnected, the results are all ok. It is strange

Re: [Openocd-development] [PATCH] httpd: fix build error with new Jim

2010-11-10 Thread Peter Stuge
Andreas Fritiofson wrote: Maybe we should just deprecate it in 0.5.0 and remove it after that, though. Acked-by: Peter Stuge pe...@stuge.se ___ Openocd-development mailing list Openocd-development@lists.berlios.de

Re: [Openocd-development] STM32 reset_config

2010-11-10 Thread Peter Stuge
Spencer Oliver wrote: The default behaviour was changed to make it compatible with all cortex-m3 cores - will have to check but some stm32 and nxp parts had issues using SYSTEMRESET. Please give more detail about those nxp parts? //Peter ___

Re: [Openocd-development] [PATCH] httpd: fix build error with new Jim

2010-11-10 Thread Øyvind Harboe
On Thu, Nov 11, 2010 at 12:11 AM, Andreas Fritiofson andreas.fritiof...@gmail.com wrote: On Wed, Nov 10, 2010 at 11:42 PM, Øyvind Harboe oyvind.har...@zylin.com wrote: I was actually pondering removing the httpd stuff from OpenOCD as we have the tcl server which is a good enough interface. I

[Openocd-development] Retire httpd

2010-11-10 Thread Øyvind Harboe
The httpd stuff never panned out. Implementing a standalone app using the OpenOCD tcl server works fine. I've tested it with the ZY1000 user interface. OpenOCD's responsibilities, according to the maintainers consensus, does not include GUI's, just like gdb passes the buck on that one. Please

Re: [Openocd-development] segfault when gdb connects, but target is not connected

2010-11-10 Thread Domen Puncer
On Wed, Nov 10, 2010 at 22:59, Øyvind Harboe oyvind.har...@zylin.com wrote: Could you try reproducing this problem using the dummy driver? openocd -c interface dummy -f yourconfig.cfg Gdb can't connect to openocd when using a dummy driver. My config, in case it matters: interface ft2232

Re: [Openocd-development] segfault when gdb connects, but target is not connected

2010-11-10 Thread Øyvind Harboe
Try: openocd -c interface dummy -c gdb_memory_map disable -f target/stm32.cfg -- Øyvind Harboe Can Zylin Consulting help on your project? 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