Hello David! On Sat, Dec 25, 2010 at 3:07 AM, David Brownell <davi...@pacbell.net> wrote: >> http://files.tomek.cedro.info/electronics/arm/cortex/libswd/ > > I took a quick look. Two comments: > > Looks at first glance like it might help > write some types of bit-level SWD driver > (not ones that use higher level commands, as needed to support for example > current JLink adapters.)
I just got back :-) Never seen the high-level commands, but I guess those could be the part of a driver/transport. Queue helps debugging and viewing transmission progress. It can contain payload for bit-banging or simple data passing. We can create function pointer that will allow reading the idcode, lets say "swd_idcode" and it can point to libswd or driver specific function call. One disadvantage of ommiting the libswd is that we get inconsistent solution, because some drivers will have queue-log and others not. I think we should create some API for SWD access, and I can apply this api on libswd, so it could make high level and low level operations.. > - is BSD-with-advertising clause compatible > with the GPL? If not, there's an issue blocking use of that code with > OpenOCD, since that seems > to be the model for your license. This is "new bsd license", not advertising (so called 4 point bsd license) that enforces placing authors on the promotional matherials, see http://www.opensource.org/licenses/bsd-license.php . It simply requires putting the copyright notice within legal notice and it does not allow to promote derived product with my name without my written permission, this is very simple and even more open than GPL because you can close source the results: * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * 3. Neither the name of the Tomasz Boleslaw CEDRO nor the names of its * contributors may be used to endorse or promote products derived from this * software without specific prior written permission. Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development