)]}'
{"id":"openocd~master~Id36cf4577439be96bd4e5955c3026236e1cabced","project":"openocd","branch":"master","hashtags":[],"change_id":"Id36cf4577439be96bd4e5955c3026236e1cabced","subject":"Add FTDI SWD driver","status":"MERGED","created":"2014-02-18 20:44:26.000000000","updated":"2014-06-28 09:34:26.000000000","submitted":"2014-06-28 09:34:26.000000000","submitter":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"total_comment_count":2,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"22f6a5b600da96790915c0a992acd866304fe989","_number":1958,"owner":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},{"value":0,"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},{"value":0,"_account_id":1000454,"name":"Nemui Trinomius","display_name":"Nemuisan","email":"nemuisan_kawausogasuki@live.jp","username":"Nemuisan"},{"value":0,"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"value":0,"_account_id":1000596,"name":"Angus Gratton","email":"gus@projectgus.com","username":"projectgus"},{"value":0,"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},{"value":0,"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},{"value":1,"date":"2014-06-28 09:34:26.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Code-Review":{"approved":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"all":[{"value":2,"date":"2014-06-28 09:34:26.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},{"value":0,"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},{"value":0,"_account_id":1000454,"name":"Nemui Trinomius","display_name":"Nemuisan","email":"nemuisan_kawausogasuki@live.jp","username":"Nemuisan"},{"value":0,"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"value":0,"_account_id":1000596,"name":"Angus Gratton","email":"gus@projectgus.com","username":"projectgus"},{"value":0,"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},{"value":0,"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},{"value":0,"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-2":"This shall not be merged","-1":"I would prefer this is not merged as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},{"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},{"_account_id":1000454,"name":"Nemui Trinomius","display_name":"Nemuisan","email":"nemuisan_kawausogasuki@live.jp","username":"Nemuisan"},{"_account_id":1000596,"name":"Angus Gratton","email":"gus@projectgus.com","username":"projectgus"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2014-02-19 15:24:13.000000000","updated_by":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"reviewer":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"state":"REVIEWER"},{"updated":"2014-02-21 07:46:39.000000000","updated_by":{"_account_id":1000596,"name":"Angus Gratton","email":"gus@projectgus.com","username":"projectgus"},"reviewer":{"_account_id":1000596,"name":"Angus Gratton","email":"gus@projectgus.com","username":"projectgus"},"state":"REVIEWER"},{"updated":"2014-02-24 16:54:48.000000000","updated_by":{"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},"reviewer":{"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},"state":"REVIEWER"},{"updated":"2014-02-25 00:40:25.000000000","updated_by":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"reviewer":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"state":"REVIEWER"},{"updated":"2014-05-11 05:25:21.000000000","updated_by":{"_account_id":1000454,"name":"Nemui Trinomius","display_name":"Nemuisan","email":"nemuisan_kawausogasuki@live.jp","username":"Nemuisan"},"reviewer":{"_account_id":1000454,"name":"Nemui Trinomius","display_name":"Nemuisan","email":"nemuisan_kawausogasuki@live.jp","username":"Nemuisan"},"state":"REVIEWER"},{"updated":"2014-06-19 03:01:11.000000000","updated_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2014-06-27 19:25:36.000000000","updated_by":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"reviewer":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"state":"REVIEWER"}],"messages":[{"id":"f6178f59448987e20a64016d6866537fc76f7674","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2014-02-18 20:44:26.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"74d7487b765b4d6f9a9bde0f074bb9178b5b24a6","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2014-02-18 21:32:01.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"6a4cfd83f25d15be9bae2d629b1d7a641c5888db","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2014-02-18 22:27:51.000000000","message":"Patch Set 2: Verified+1\n\nBuild Successful \n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit/4019/ : SUCCESS\n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit-build/3462/ : SUCCESS","accounts_in_message":[],"_revision_number":2},{"id":"ee96d6134d865d3c58ac8d3f8a4120c71678be4f","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2014-02-19 09:13:32.000000000","message":"Patch Set 2:\n\nAmazing work. Will hopefully runtime test this evening.\n\nOlimex offers a converter board here https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-SWD/ ( https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-SWD/resources/ARM-JTAG-SWD-schematic.pdf ) which apparently requires different signal assignments:\n\nnTRST should be kept low, then TMS high will allow TDI to drive SWDIO, TMS low will disconnect it, TDO will be getting SWDIO output; ftdi\u0027s RTCK will be connected to target\u0027s SWO. nTRST high will enable different scheme: TDO will get connected to SWO, TMS will drive SWDIO, RTCK will get connected to RTCK on the target etc, not sure what exactly this is useful for.","accounts_in_message":[],"_revision_number":2},{"id":"047f52e77ecdd7055c870f3a3be093982274e4a1","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2014-02-19 09:18:20.000000000","message":"Patch Set 2:\n\nLooks like that Olimex adapter can be made to pass-through JTAG if TRST is kept high and an additional external jumper is connected, so TRST low is the only supported SWD configuration.","accounts_in_message":[],"_revision_number":2},{"id":"9aa46baaa62cbee4e443545aec0cc62a19111e80","author":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"real_author":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"date":"2014-02-19 15:24:13.000000000","message":"Patch Set 2:\n\nIt\u0027s finally happening! That\u0027s great!\n\nCould we have the signal that changes direction of SWDIO configurable just the same way as any other signals in the ftdi driver (\"ftdi_layout_signal\" and maybe SWDIO_DIR?)? The thing is that for example JTAG-lock-pick Tiny 2 and KT-Link have that direction controlled by a dedicated pin. There\u0027s also a question of other bits that have to be configured to use SWD mode (just needed to disable things that are not used), so it would be great if there was a separate ftdi_layout_init just for SWD mode (the original would be just for JTAG mode).","accounts_in_message":[],"_revision_number":2},{"id":"eacf2c3f2334c159f6e28ee429922dd7aca9bc33","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2014-02-19 17:31:07.000000000","message":"Patch Set 2:\n\nJust tested (the async version) with both \"tumpa\" (ft2232c with lvc16t245 buffer, then series resistors) and \"tumpa-lite\" (plain ft232h connected directly to the target) against an f100 (on vldiscovery board) and lx4f120h (on ti launchpad).\n\nWorks wonderfully. Tested connecting to a \"stopped\" stm32 with connect_assert_srst, that is fine too.\n\nThe main user-visible issue is probably non-working \"reset\" command, I had to use \u003ctarget\u003e arp_reset assert 1/deassert 1 instead. But other than that seems to \"just work\".","accounts_in_message":[],"_revision_number":2},{"id":"fb670f9c79013ea95d2c7839204b59c3182596ef","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2014-02-19 18:39:47.000000000","message":"Patch Set 2:\n\nFor the reference, kt-link schematics: http://dangerousprototypes.com/docs/images/f/fa/Bbv2-ktlink-v1.png . JTAG lock pick tiny 2 manual: http://www.freddiechopin.info/en/download/category/5-jtag-lock-pick?download\u003d86%3Ajtag-lock-pick-tiny-2-manual-en (schematics start on page 21).","accounts_in_message":[],"_revision_number":2},{"id":"0fc5e5e04dfd6b3e4fd8dd45201e54d8510a2234","author":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"real_author":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"date":"2014-02-19 18:41:10.000000000","message":"Patch Set 2:\n\nIf that would be any help, I could donate one JTAG-lock-pick Tiny 2 to Andreas for tests.","accounts_in_message":[],"_revision_number":2},{"id":"7333ae7c0f52c72a6aac6dbc29e7689e539f4f63","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2014-02-19 18:53:33.000000000","message":"Patch Set 2:\n\nRowley adapter: https://doc-14-5g-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/6ssep489u6p2ur35ggpbvpthevguoei1/1392832800000/04328051632042147841/*/0Bzv7UpKpOQhnTUNNdzI5OUR4WGs?h\u003d16653014193614665626\u0026e\u003ddownload ( https://drive.google.com/file/d/0Bzv7UpKpOQhnTUNNdzI5OUR4WGs/edit?usp\u003dsharing )","accounts_in_message":[],"_revision_number":2},{"id":"dacf2ceb45074ad52f1b26b5cbb91164a92973d3","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2014-02-19 19:41:23.000000000","message":"Patch Set 2:\n\n\u003e Could we have the signal that changes direction of SWDIO configurable just the same way as any other signals in the ftdi driver\n\nSure, this is just a proof-of-concept. It really needs quite a bit of polishing. I\u0027m thinking we should make Tcl proc hooks for initialization and direction toggling instead of the static signal definition of the current driver.\n\nBut that needs a lot of infrastructure that isn\u0027t there yet. I think we need the fixed signal/separate swd initialization as an intermediate step.","accounts_in_message":[],"_revision_number":2},{"id":"0ed94eb72e4bb5effb4e3bfe01e047f20720714d","author":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"real_author":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"date":"2014-02-19 19:55:13.000000000","message":"Patch Set 2:\n\nI hope that the slash in \"fixed signal/separate swd initialization\" does not signify an exclusive alternatives (; I guess for a \"typical\" case one needs both. Technically you could live without separate initialization bitmask, but then some more signals would be required - at least one to \"enable\" SWD mode.\n\nActually instead of another initialization variant all you need is another set of \"outputs\", as direction of the ports is common for both modes (excluding the SDWIO/TDI/TDO, but that makes no difference anyway), so maybe sth like that:\n\nftdi_layout_init data_jtag data_swd direction\n\nOr maybe a separate initialization without any additional signal, but like that:\n\nftdi_layout_swd data_in data_out direction\n\ndata_in - outputs for \"input\" mode of SWDIO, data_out - outputs for \"output\" mode.\n\nThis would work too, and maybe it would be easier than the signal approach?","accounts_in_message":[],"_revision_number":2},{"id":"c30472678c08ecc5f4376da3c395e23d3f4f456d","author":{"_account_id":1000596,"name":"Angus Gratton","email":"gus@projectgus.com","username":"projectgus"},"real_author":{"_account_id":1000596,"name":"Angus Gratton","email":"gus@projectgus.com","username":"projectgus"},"date":"2014-02-21 07:46:39.000000000","message":"Patch Set 2:\n\nThanks heaps for this, Andres!\n\nTried these patches on AT91SAM4L with an Olimex ARM-USB-TINY-H. Was able to connect to CPU and halt/resume, dump memory, etc. However reset was problematic - after resetting (via SRST using \"arp_reset assert/arp_reset deassert\" as described by Paul) I lost contact with the device. I think this might be because post-reset the SAM4L comes back in JTAG mode and requires the JTAG to SWD switching sequence to be sent again.\n\nHowever when I hacked this same sequence into ftdi_execute_reset, it failed to fix the problem. So I may be looking in the wrong place.\n\nIf I have time over the weekend I\u0027ll put the connections on my logic analyzer and try to work out exactly what\u0027s going on.\n\nI also have a simple patch for startup.tcl that I think allows normal reset commands to be used, although I haven\u0027t tested it properly due to the above.","accounts_in_message":[],"_revision_number":2},{"id":"315df4ecb46de3b5e0d414ca14565828512ca7d8","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2014-02-21 08:46:56.000000000","message":"Patch Set 2:\n\nAdditionally tested with stm32f0 and \"Milandr/Миландр 1986ве1т\" with the same 330 Ohms \"mod\".\n\nI\u0027ve noticed another (not ftdi specific) issue, I hope you do not mind discussing it here. Current code doesn\u0027t check if DAP ID matches the specified expected-id at all. When this check is implemented, many configs will break because DAP IDs are not the same as JTAG IDCODEs. Also, current swj-dp.tcl file sets using_jtag too late to be useful to specify transport-specific id.\n\nI propose to instead add a \"using_jtag\" procedure to startup.tcl (as well as \"using_hla\" and \"using_swd\") that would just check the current transport and so would be useful everywhere. Also, as already discussed with Spencer, it would be nice to deprecate jtag/hla/swd/cmsis-dap new[dt]ap commands and instead introduce \"transport newtap\" (and probably an equivalent alias \"transport newdap\") so that transport layer would pass the arguments to the current transport automatically.","accounts_in_message":[],"_revision_number":2},{"id":"62548d6587d2a7389bddff639716bf540764c346","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2014-02-22 17:32:15.000000000","message":"Patch Set 2:\n\nTo sum up, afaict:\n\nOlimex, Rowley: TRST low enables SWD, TMS low gates TDI -\u003e SWDIO;\nKT-Link: ADBUS5 low enables SWD, ACBUS4 low gates TDI;\nJTAG-lock-pick Tiny 2: ADBUS5 low enables SWD, ACBUS4 high gates TDI (Freddie, did I get it right? Why\u0027s this difference?)\n\nWouldn\u0027t calling a Tcl proc on every direction change incur an unreasonable overhead? Wouldn\u0027t defining just two extra signals the usual way (e.g. SWD_EN, SWD_DRIVE) and caching them on init be enough?","accounts_in_message":[],"_revision_number":2},{"id":"02f323bc199dcc1b2d9878f826b627ca4a649175","author":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"real_author":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"date":"2014-02-22 17:49:50.000000000","message":"Patch Set 2:\n\nWell, JTAG-lock-pick Tiny 2 has identical buffer logic with KT-Link:\n- ADBUS5 (GPIOL1) \u003d\u003d 0 -\u003e SWD enabled\n- ADBUS5 (GPIOL1) \u003d\u003d 1 -\u003e SWD disabled\n- ACBUS4 (GPIOH4) \u003d\u003d 0 -\u003e SWDIO output\n- ACBUS4 (GPIOH4) \u003d\u003d 1 -\u003e SWDIO input\n\nAs for the signals (SWD_EN / SWD_DIR) - this is just a matter of taste - the \"signal\" solution makes sense when you have exactly one line controlling direction and the other to enable/disable this mode, but some more complex schemes are possible (I don\u0027t know whether or not anyone come up with sth like that) - for example there could be one line that enables swd in output mode, and the other to enable it in input mode, so that you have 00 for JTAG, 01 for input and 10 for output - this can probably be done with \"signal\" approach, but it would be probably easier to just have the whole mask for ports for these two situations. If both solutions are the same with regard to speed and ease of implementation I think that the \"mask\" variant is more general.","accounts_in_message":[],"_revision_number":2},{"id":"a0cb219c54ddc55f26eaf3cb3054cd34d0921787","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2014-02-22 17:59:19.000000000","message":"Patch Set 2:\n\nAre you using http://dangerousprototypes.com/docs/images/f/fa/Bbv2-ktlink-v1.png as a reference for kt-link?","accounts_in_message":[],"_revision_number":2},{"id":"8beca8c897c32f325ca8090dd03607df155930f5","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2014-02-22 18:03:19.000000000","message":"Patch Set 2:\n\nI\u0027m collecting all the info specifically to understand how general the solution needs to be to cover all available adapters.","accounts_in_message":[],"_revision_number":2},{"id":"4c6547eef40e670ce27bdc5d5d63e66e0b8c992c","author":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"real_author":{"_account_id":1000015,"name":"Freddie Chopin","email":"freddie.chopin@gmail.com","username":"freddiechopin"},"date":"2014-02-22 18:20:06.000000000","message":"Patch Set 2:\n\nHere\u0027s the \"official\" logic in KT-Link http://kristech.eu/sites/default/files/KT-LINK-UM-ENG.pdf (last page). The schematic you linked must be wrong in case of SWDIO direction.\n\nAs for the \"generality of final solution\" - I guess the \"mask\" approach is both easy to understand/use and generic so that anything can be covered (;","accounts_in_message":[],"_revision_number":2},{"id":"0d766dc37114c787add4fd3bf0d29d63e6e08f30","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2014-02-22 21:35:05.000000000","message":"Patch Set 2:\n\nThe Tcl proc idea was mainly triggered by the xds100 initialization problem. I guess there will always come an adapter that does not quite fit the pattern. Making Tcl procs out of everything could make it easier to support odd adapters but it\u0027ll not be easier for conforming adapters. I guess calling a short Tcl proc twice for every frame might still be fast enough, except maybe on resource constrained embedded hosts. I\u0027m not sure.\n\nIt\u0027s not really something I\u0027d like to work on and I\u0027m perfectly happy with a swd specific init value (which also could tell that swd is supported) and a signal that would enable a (conceptual) tristate buffer if it\u0027s defined. The latter is already available using a separate signal name (instead of nTRST) in the API change patch.","accounts_in_message":[],"_revision_number":2},{"id":"c059a7f933683afd14972c9a1aa4703c97df170a","author":{"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},"real_author":{"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},"date":"2014-02-24 16:54:48.000000000","message":"Patch Set 2:\n\n(1 comment)\n\nLooks good. Minor problem:\nTRST is set up tristate in some layouts, and so the Jtag to SWD switchover fails at startup when using a buffer. Jtagkey(2) is an example - it works when you change the layout_init to set TRST as ouput.","accounts_in_message":[],"_revision_number":2},{"id":"5be71ae9631d465a45253fe1b16d549d431b9800","author":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"real_author":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"date":"2014-02-25 00:40:25.000000000","message":"Patch Set 2:\n\nGreat work.\n\nJust tested with an old luminary board I had kicking about - http://www.ti.com/lit/ug/spmu035c/spmu035c.pdf\n\nHad to tweak the default luminary-icdi.cfg as this adapter uses a few buffers to implement SWD,\n\nftdi_layout_init 0x0028 0x00eb\nftdi_layout_signal nSRST -noe 0x0020\nftdi_layout_signal nTRST -data 0x0008","accounts_in_message":[],"_revision_number":2},{"id":"85068a52d7a390a933da6d22fbd6d621b81e474a","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2014-02-27 21:29:15.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"35ee147c9d4fe39b6dbf71fd2c40a8124f63d410","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2014-02-27 22:04:01.000000000","message":"Patch Set 3: Verified+1\n\nBuild Successful \n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit-build/3501/ : SUCCESS\n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit/4061/ : SUCCESS","accounts_in_message":[],"_revision_number":3},{"id":"32b3176a6f2cde8835cc8c371105ed102bd04ed5","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2014-05-10 09:33:59.000000000","message":"Uploaded patch set 4.","accounts_in_message":[],"_revision_number":4},{"id":"93b4b0215d95ae406beef1bd0cfc8e99168d0fb6","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2014-05-10 11:04:41.000000000","message":"Patch Set 4: Verified+1\n\nBuild Successful \n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit-build/3877/ : SUCCESS\n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit/4432/ : SUCCESS","accounts_in_message":[],"_revision_number":4},{"id":"a0df086d37f75db8455c3f9b1c62e2132007410f","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2014-05-10 17:03:30.000000000","message":"Uploaded patch set 5.","accounts_in_message":[],"_revision_number":5},{"id":"06117591148168d7c52e41c01a054fb444dced15","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2014-05-10 20:27:21.000000000","message":"Patch Set 5: Verified+1\n\nBuild Successful \n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit-build/3911/ : SUCCESS\n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit/4466/ : SUCCESS","accounts_in_message":[],"_revision_number":5},{"id":"993f594ea3f208e0aade9be73a73574d968fc03c","author":{"_account_id":1000454,"name":"Nemui Trinomius","display_name":"Nemuisan","email":"nemuisan_kawausogasuki@live.jp","username":"Nemuisan"},"real_author":{"_account_id":1000454,"name":"Nemui Trinomius","display_name":"Nemuisan","email":"nemuisan_kawausogasuki@live.jp","username":"Nemuisan"},"date":"2014-05-11 05:25:21.000000000","message":"Patch Set 5: Code-Review+1\n\nTested on Kinetis K20,KL25,K05 with JTAGkey2-Compatible.\nI added \"ftdi_layout_init_swd 0x0c08 0x0f1b\" in jtagkey2.cfg works fine.","accounts_in_message":[],"_revision_number":5},{"id":"240c995f2ab4115fd239f48f1b03e8fe921d4082","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2014-05-15 19:52:54.000000000","message":"Patch Set 5:\n\n(1 comment)","accounts_in_message":[],"_revision_number":5},{"id":"7ed839698c31b445c71485558c66e7849545bedc","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2014-06-18 23:12:37.000000000","message":"Uploaded patch set 6.","accounts_in_message":[],"_revision_number":6},{"id":"a11a3956afb0185ff4c5e46887334f47f0f669ab","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2014-06-19 03:01:11.000000000","message":"Patch Set 6: Verified+1\n\nBuild Successful \n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit/4578/ : SUCCESS\n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit-build/4023/ : SUCCESS","accounts_in_message":[],"_revision_number":6},{"id":"e9d8058b2b1860caae6f38050128c8fc4195c235","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2014-06-27 19:25:36.000000000","message":"Patch Set 6: Code-Review+2","accounts_in_message":[],"_revision_number":6},{"id":"22f6a5b600da96790915c0a992acd866304fe989","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2014-06-28 09:34:26.000000000","message":"Change has been successfully cherry-picked as cdd8928a560252e3c7f11911864fe01a1864a0bf","accounts_in_message":[],"_revision_number":7}],"current_revision":"cdd8928a560252e3c7f11911864fe01a1864a0bf","revisions":{"2f5bc8230075e5b3b8449a6a1926facbcfa6d92e":{"kind":"REWORK","_number":6,"created":"2014-06-18 23:12:37.000000000","uploader":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"ref":"refs/changes/58/1958/6","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/58/1958/6","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/6 \u0026\u0026 git checkout -b change-1958 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/6 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/6 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/6 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/58/1958/6","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/6 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"3698dcbe3d3d6f41aa14f58318bace155eb38994","subject":"transport: Constify the transports vector"}],"author":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-05-10 09:31:49.000000000","tz":120},"committer":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-06-18 23:11:44.000000000","tz":120},"subject":"Add FTDI SWD driver","message":"Add FTDI SWD driver\n\nThis is usable on most or all FTDI adapters using a small hardware tweak.\n\nTCK goes to SWCLK as expected. TDO should be wired to SWDIO. For TDI there\nare two options:\n\nEither add a 74HC126 or similar tri-state buffer between TDI and SWDIO,\nwith OE controlled by a signal named SWDIO_OE. Or simply connect TDI and\nSWDIO together via a suitable resistor (220-470 ohms or so depending on\nthe drive capability of the target and adapter).\n\nnSRST (and of course Vcc, GND) may be connected too but all other signals\nshould be NC.\n\nChange-Id: Id36cf4577439be96bd4e5955c3026236e1cabced\nSigned-off-by: Andreas Fritiofson \u003candreas.fritiofson@gmail.com\u003e\n"}},"cdd8928a560252e3c7f11911864fe01a1864a0bf":{"kind":"REWORK","_number":7,"created":"2014-06-28 09:34:26.000000000","uploader":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"ref":"refs/changes/58/1958/7","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/58/1958/7","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/7 \u0026\u0026 git checkout -b change-1958 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/7 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/7 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/7 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/58/1958/7","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/7 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"cc99e57b0e8ed3672afce1925142863cceb809f2","subject":"transport: Constify the transports vector"}],"author":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-05-10 09:31:49.000000000","tz":120},"committer":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-06-28 09:34:26.000000000","tz":0},"subject":"Add FTDI SWD driver","message":"Add FTDI SWD driver\n\nThis is usable on most or all FTDI adapters using a small hardware tweak.\n\nTCK goes to SWCLK as expected. TDO should be wired to SWDIO. For TDI there\nare two options:\n\nEither add a 74HC126 or similar tri-state buffer between TDI and SWDIO,\nwith OE controlled by a signal named SWDIO_OE. Or simply connect TDI and\nSWDIO together via a suitable resistor (220-470 ohms or so depending on\nthe drive capability of the target and adapter).\n\nnSRST (and of course Vcc, GND) may be connected too but all other signals\nshould be NC.\n\nChange-Id: Id36cf4577439be96bd4e5955c3026236e1cabced\nSigned-off-by: Andreas Fritiofson \u003candreas.fritiofson@gmail.com\u003e\nReviewed-on: http://openocd.zylin.com/1958\nTested-by: jenkins\nReviewed-by: Paul Fertser \u003cfercerpav@gmail.com\u003e\n"}},"3130410010a09e989af3e7042f0138ce42760dc4":{"kind":"REWORK","_number":4,"created":"2014-05-10 09:33:59.000000000","uploader":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"ref":"refs/changes/58/1958/4","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/58/1958/4","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/4 \u0026\u0026 git checkout -b change-1958 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/58/1958/4","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/4 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"6ed3fc6af86d6a7161a332c5618cdb6f669b20fd","subject":"transport: Constify the transports vector"}],"author":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-05-10 09:31:49.000000000","tz":120},"committer":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-05-10 09:31:49.000000000","tz":120},"subject":"Add FTDI SWD driver","message":"Add FTDI SWD driver\n\nThis is usable on most or all FTDI adapters using a small hardware tweak.\n\nTCK goes to SWCLK as expected. TDO should be wired to SWDIO. For TDI there\nare two options:\n\nEither add a 74HC126 or similar tri-state buffer between TDI and SWDIO,\nwith OE controlled by a signal named SWDIO_OE. Or simply connect TDI and\nSWDIO together via a suitable resistor (220-470 ohms or so depending on\nthe drive capability of the target and adapter).\n\nnSRST (and of course Vcc, GND) may be connected too but all other signals\nshould be NC.\n\nChange-Id: Id36cf4577439be96bd4e5955c3026236e1cabced\nSigned-off-by: Andreas Fritiofson \u003candreas.fritiofson@gmail.com\u003e\n"}},"33369ecae847251aff362bc38ccf039110e0814b":{"kind":"NO_CHANGE","_number":5,"created":"2014-05-10 17:03:30.000000000","uploader":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"ref":"refs/changes/58/1958/5","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/58/1958/5","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/5 \u0026\u0026 git checkout -b change-1958 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/58/1958/5","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/5 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"4d76ea3993e0eb1a73959e69dbb1d99a07931f94","subject":"transport: Constify the transports vector"}],"author":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-05-10 09:31:49.000000000","tz":120},"committer":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-05-10 16:57:23.000000000","tz":120},"subject":"Add FTDI SWD driver","message":"Add FTDI SWD driver\n\nThis is usable on most or all FTDI adapters using a small hardware tweak.\n\nTCK goes to SWCLK as expected. TDO should be wired to SWDIO. For TDI there\nare two options:\n\nEither add a 74HC126 or similar tri-state buffer between TDI and SWDIO,\nwith OE controlled by a signal named SWDIO_OE. Or simply connect TDI and\nSWDIO together via a suitable resistor (220-470 ohms or so depending on\nthe drive capability of the target and adapter).\n\nnSRST (and of course Vcc, GND) may be connected too but all other signals\nshould be NC.\n\nChange-Id: Id36cf4577439be96bd4e5955c3026236e1cabced\nSigned-off-by: Andreas Fritiofson \u003candreas.fritiofson@gmail.com\u003e\n"}},"5b3885fd03eb1ad3a8784aca4c69629046638ac4":{"kind":"NO_CHANGE","_number":2,"created":"2014-02-18 21:32:01.000000000","uploader":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"ref":"refs/changes/58/1958/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/58/1958/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/2 \u0026\u0026 git checkout -b change-1958 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/58/1958/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"d05c07f8c5e383674214668fc3fd00ea01327250","subject":"swd: Improve parity calculation and move it to types.h"}],"author":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-02-17 00:25:59.000000000","tz":60},"committer":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-02-18 21:25:48.000000000","tz":60},"subject":"Add simple FTDI SWD driver","message":"Add simple FTDI SWD driver\n\nThis is usable on most or all FTDI adapters using a small hardware tweak.\n\nTCK goes to SWCLK as expected. TDO should be wired to SWDIO. For TDI there\nare two options:\n\nEither add a 74HC126 or similar tri-state buffer between TDI and SWDIO,\nwith OE controlled by nTRST. Or simply connect TDI and SWDIO together via\na suitable resistor (220-470 ohms or so depending on the drive capability\nof the target and adapter).\n\nnSRST (and of course Vcc, GND) may be connected too but all other signals\nshould be NC.\n\nChange-Id: Id36cf4577439be96bd4e5955c3026236e1cabced\nSigned-off-by: Andreas Fritiofson \u003candreas.fritiofson@gmail.com\u003e\n"}},"62ec47b9519d0dcd8a284c1c372c2c3c055689a6":{"kind":"TRIVIAL_REBASE","_number":3,"created":"2014-02-27 21:29:15.000000000","uploader":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"ref":"refs/changes/58/1958/3","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/58/1958/3","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/3 \u0026\u0026 git checkout -b change-1958 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/58/1958/3","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"ecea07ddd86b0e01d1f09ccd47bc982634dbc44f","subject":"swd: Improve parity calculation and move it to types.h"}],"author":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-02-17 00:25:59.000000000","tz":60},"committer":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-02-27 21:25:15.000000000","tz":60},"subject":"Add simple FTDI SWD driver","message":"Add simple FTDI SWD driver\n\nThis is usable on most or all FTDI adapters using a small hardware tweak.\n\nTCK goes to SWCLK as expected. TDO should be wired to SWDIO. For TDI there\nare two options:\n\nEither add a 74HC126 or similar tri-state buffer between TDI and SWDIO,\nwith OE controlled by nTRST. Or simply connect TDI and SWDIO together via\na suitable resistor (220-470 ohms or so depending on the drive capability\nof the target and adapter).\n\nnSRST (and of course Vcc, GND) may be connected too but all other signals\nshould be NC.\n\nChange-Id: Id36cf4577439be96bd4e5955c3026236e1cabced\nSigned-off-by: Andreas Fritiofson \u003candreas.fritiofson@gmail.com\u003e\n"}},"8978c75af6c25b319babdfb46082e1821674dd35":{"kind":"REWORK","_number":1,"created":"2014-02-18 20:44:26.000000000","uploader":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"ref":"refs/changes/58/1958/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/58/1958/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/1 \u0026\u0026 git checkout -b change-1958 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/58/1958/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/58/1958/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"959242f3a112f11c64ccca54d8786f44e7929266","subject":"swd: Improve parity calculation and move it to types.h"}],"author":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-02-17 00:25:59.000000000","tz":60},"committer":{"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","date":"2014-02-18 20:40:12.000000000","tz":60},"subject":"Add simple FTDI SWD driver","message":"Add simple FTDI SWD driver\n\nThis is usable on most or all FTDI adapters using a small hardware tweak.\n\nTCK goes to SWCLK as expected. TDO should be wired to SWDIO. For TDI there\nare two options:\n\nEither add a 74HC126 or similar tri-state buffer between TDI and SWDIO,\nwith OE controlled by nTRST. Or simply connect TDI and SWDIO together via\na suitable resistor (220-470 ohms or so depending on the drive capability\nof the target and adapter).\n\nnSRST (and of course Vcc, GND) may be connected too but all other signals\nshould be NC.\n\nChange-Id: Id36cf4577439be96bd4e5955c3026236e1cabced\nSigned-off-by: Andreas Fritiofson \u003candreas.fritiofson@gmail.com\u003e\n"}}},"requirements":[],"submit_records":[],"submit_requirements":[]}
