-----Oorspronkelijk bericht----- Van: openocd-development-boun...@lists.berlios.de namens Øyvind Harboe Verzonden: di 12/8/09 22:33 Aan: Zach Welch CC: openocd-development Onderwerp: Re: [Openocd-development] multiple JTAG interfaces
>I'm also concerned about such a major change >as introducing support for multiple interfaces where I have >yet to hear anybody actually needing to do such a thing >in-process. It greatly improves the architecture for sure >and the code will be more pleasurable to read & work >on, important in an open source project in itself. I would >put symmetric parallel processing way above it, but I >have yet to hear such requests even. Good point. On my programmer project I'm using 8 independent JTAG interfaces simultaneously. I simply have 8 OpenOCD instances running from inittab. The GUI has a telnet connection to each OpenOCD instance and controls programming from there. Having the possibility to connect to multiple JTAG interfaces at the same time may not be necessary. Having the OS deal with time sharing / multitasking is also a good idea. I did some tweaking on the scheduling (sleep calls and less calls to the time checking routines) of OpenOCD to make it consume the least amount of time. Is there a good reason for OpenOCD to be able to connect to multiple JTAG interfaces at the same time? There is a lot of work involved and judging from how OpenOCD is organised now, seperate threads are the easiest way to achieve this. Paying dearly for proper cross platform mutexes, signals and thread creation though. Nico Coesel
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development