Hello Mike :-) On Tue, Mar 15, 2011 at 11:28 PM, Mike Frysinger <[email protected]> wrote: > in just glancing at some of the libswd source, it needs quite a style over > haul to be merged into urjtag. and it seems to duplicate functionality in > some places since it strives to be standalone. but this all just begs the > question of why bother in the first place ? why not have it be a standalone > library that urjtag links in ? then you can do your own thing with it.
Well it is evolving to be a library, but it was built on the UrJTAG to test its functionality and not to make it pure vitural but show it really works (and be sure of that before making a release and integrating into more complex applications such as OpenOCD). > that said, i dont know what "SWD" is or how it fits into things to say if > things could/should be done differently. i'd have to do some reading first. In one sentence - an alternative to JTAG transport based on packet and bidirectional serial wire communication to access CPU Debug Access Port (DAP) according to ARM Debug Interface (ADI) because it has numerous advantages over JTAG like lesser pin count, multidrop, simpler logic, packet based, etc, so ARM inlcuded it in their Cortex family. You can take a glance for its specification (ADIv5) at http://stm32primer2swd.sf.net - there is ADIv5.1 released recently, but I want to create stable base first, then move on for additional features. >> -chain was upgraded with swd_ctx_t *swdctx that holds the swd context >> and all settings, queues, variables, etc > (...) > or, if i'm getting the gist right, we'd want to have a generic void* pointer > here reserved for the transport layer. Good point, I was wondering on that :-) Maybe simple (void *) would be enough because chain should not have more than one transport at time.. but this is only cosmetics for urjtag and will not change anything in libswd :-) Regarding the GIT.. now I know why it is better than SVN - my proposition is that I will switch to GIT after changes are implemented..? :] Best regards :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ UrJTAG-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/urjtag-development
