Re: [Openocd-development] [PATCH] support for TCL events

2008-08-08 Thread David Kuehling
> "Øyvind" == Øyvind Harboe <[EMAIL PROTECTED]> writes: > Committed. >> Most of the 'target_script' functionality seems to be unavailable in >> SVN head. The only target script that is actually called in the >> sources is 'pre_resume'. Neither 'post_halt' nor 'reset' seem >> supported. > Pl

Re: [Openocd-development] [PATCH] support for TCL events

2008-08-08 Thread David Kuehling
> "Spen" == Spen <[EMAIL PROTECTED]> writes: >> >> If you find flaws with my patch, please tell me and I'll be happy to >> fix/rewrite whatever is wrong. >> > This breaks win32 build, any ideas? Can you post the full output of the compilation? Thinking about windows compatability I alrea

[Openocd-development] [PATCH] support for TCL events

2008-08-07 Thread David Kuehling
Hi, so here's a first patch that adds the jim-eventloop functionality to openocd. Seems to work stably so far, but unfortunately openocd has some bugs/regressions that make it impossible to continously service the watchdog while halted: Most of the 'target_script' functionality seems to be unava

Re: [Openocd-development] OpenOCD with ADuC7022 and watchdog

2008-08-05 Thread David Kuehling
> "Øyvind" == Øyvind Harboe <[EMAIL PROTECTED]> writes: >> Browsing through JIM SVN, I just found an 'after' implementation: >> >> http://cvs.berlios.de/cgi-bin/viewcvs.cgi/jim/jim/jim-eventloop.c?rev=HEAD&content-type=text/vnd.viewcvs-markup >> >> Maybe this can be added to OpenOCD? > Shou

Re: [Openocd-development] OpenOCD with ADuC7022 and watchdog

2008-08-05 Thread David Kuehling
> "Øyvind" == Øyvind Harboe <[EMAIL PROTECTED]> writes: > 200ms? > OpenOCD, being single threaded, really won't be able to honor that > frequency... > At best a callback could be guaranteed to be serviced every > 1000-2000ms, because that is a requirement imposed by the keep_alive() > protoc

[Openocd-development] OpenOCD with ADuC7022 and watchdog

2008-08-05 Thread David Kuehling
Hi, some days ago I added a jtag connector to a ADuC7022 board and used an olimex USB adapter with OpenOCD (compiled from SVN head) to test whether that works. Well, I stumbled into some strange problems, and after some hours of debugging OpenOCD it looks like the ADuC7022's watchdog is the culpr