)]}'
{"id":"openocd~master~Ib8619635277d497872079a33fa4e38be9beb84a0","project":"openocd","branch":"master","attention_set":{},"removed_from_attention_set":{"1000021":{"account":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"last_update":"2021-11-13 11:31:32.000000000","reason":"Antonio Borneo replied on the change"},"1000005":{"account":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"last_update":"2021-11-12 14:07:29.000000000","reason":"Andreas Fritiofson replied on the change"},"1001726":{"account":{"_account_id":1001726,"name":"Kevin Burke","email":"kevinb@os.amperecomputing.com","username":"kburke-ampere"},"last_update":"2021-12-11 17:39:58.000000000","reason":"Change was submitted"},"1001661":{"account":{"_account_id":1001661,"name":"Daniel Goehring","email":"dgoehrin@os.amperecomputing.com","username":"dgoehrin"},"last_update":"2021-12-11 17:39:58.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"Ib8619635277d497872079a33fa4e38be9beb84a0","subject":"adi_v5_swd: add jtag-to-swd through dormant","status":"MERGED","created":"2021-11-11 22:59:35.000000000","updated":"2021-12-11 17:39:58.000000000","submitted":"2021-12-11 17:39:58.000000000","submitter":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"total_comment_count":7,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"6695","meta_rev_id":"fdf4773cc3e08109e809e83a47fb8bc65dd00baf","_number":6695,"owner":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":0,"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"tag":"autogenerated:gerrit:merged","value":1,"date":"2021-12-11 17:39:58.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":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"all":[{"tag":"autogenerated:gerrit:merged","value":2,"date":"2021-12-11 17:39:58.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"value":0,"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"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":[{"_account_id":1001726,"name":"Kevin Burke","email":"kevinb@os.amperecomputing.com","username":"kburke-ampere"},{"_account_id":1001661,"name":"Daniel Goehring","email":"dgoehrin@os.amperecomputing.com","username":"dgoehrin"}],"reviewers":{"REVIEWER":[{"_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":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},{"_account_id":1001661,"name":"Daniel Goehring","email":"dgoehrin@os.amperecomputing.com","username":"dgoehrin"},{"_account_id":1001726,"name":"Kevin Burke","email":"kevinb@os.amperecomputing.com","username":"kburke-ampere"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-11-11 22:59:35.000000000","updated_by":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"reviewer":{"_account_id":1001726,"name":"Kevin Burke","email":"kevinb@os.amperecomputing.com","username":"kburke-ampere"},"state":"REVIEWER"},{"updated":"2021-11-11 22:59:35.000000000","updated_by":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"reviewer":{"_account_id":1001661,"name":"Daniel Goehring","email":"dgoehrin@os.amperecomputing.com","username":"dgoehrin"},"state":"REVIEWER"},{"updated":"2021-11-12 01:22:54.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":"2021-11-12 13:12:22.000000000","updated_by":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"reviewer":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"state":"CC"},{"updated":"2021-11-12 14:07:29.000000000","updated_by":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"reviewer":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"state":"REVIEWER"}],"messages":[{"id":"c19384603f2d1f4293d407f09c6577f0bceadf4f","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-11-11 22:59:35.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"6798e9751a3dc2718c08c78174883e02bd16d582","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-11-12 01:22:54.000000000","message":"Patch Set 1: Verified+1\n\nBuild Successful \n\nhttps://build.openocd.org/job/openocd-gerrit/15514/ : SUCCESS\n\nhttps://build.openocd.org/job/openocd-gerrit-build/14732/ : SUCCESS","accounts_in_message":[],"_revision_number":1},{"id":"c2baf81aa11813ecae50763463650e5e770a00f0","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":"2021-11-12 13:12:22.000000000","message":"Patch Set 1:\n\n(2 comments)","accounts_in_message":[],"_revision_number":1},{"id":"2bbfcc41084eb55c518aa789342d35996b5852c1","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-11-12 13:27:33.000000000","message":"Patch Set 1: Code-Review-1\n\n(3 comments)","accounts_in_message":[],"_revision_number":1},{"id":"120c36895b5b91db160d85cfe234255a8e328ec1","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-11-12 13:45:00.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"63cdf57be9b511cb6e9d686175a63f329883ebdf","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":"2021-11-12 14:07:29.000000000","message":"Patch Set 2: Code-Review+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"63af3ad457f2c009e401da72f22f33a59e73f62f","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-11-12 14:27:46.000000000","message":"Patch Set 2: Verified+1\n\nBuild Successful \n\nhttps://build.openocd.org/job/openocd-gerrit/15528/ : SUCCESS\n\nhttps://build.openocd.org/job/openocd-gerrit-build/14746/ : SUCCESS","accounts_in_message":[],"_revision_number":2},{"id":"ad657839a382b856306d39312112f762d4fc0b21","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-11-13 11:31:32.000000000","message":"Patch Set 2: Code-Review+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"cdd35b6b52aa095aba2e1be0c7695880a716439b","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-12-03 23:05:55.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"27c677413e7d6935797eb0b53472d1e5c5d75456","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-12-03 23:13:14.000000000","message":"Patch Set 3: Code-Review+1","accounts_in_message":[],"_revision_number":3},{"id":"d9b66b6c12da95eb499c5c2a48ec0ec0bb010765","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2021-12-04 01:14:14.000000000","message":"Patch Set 3: Verified+1\n\nBuild Successful \n\nhttps://build.openocd.org/job/openocd-gerrit/15680/ : SUCCESS\n\nhttps://build.openocd.org/job/openocd-gerrit-build/14897/ : SUCCESS","accounts_in_message":[],"_revision_number":3},{"id":"cfe55cd29af59d0019619fa2dae68d1af2e4c059","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-12-11 17:33:28.000000000","message":"Patch Set 3: Code-Review+2","accounts_in_message":[],"_revision_number":3},{"id":"fdf4773cc3e08109e809e83a47fb8bc65dd00baf","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"real_author":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"date":"2021-12-11 17:39:58.000000000","message":"Change has been successfully cherry-picked as 68ec9d2175f3bad53cd7f1a259e54420047321d6","accounts_in_message":[],"_revision_number":4}],"current_revision":"68ec9d2175f3bad53cd7f1a259e54420047321d6","revisions":{"db1e841092bfdc1104e6924ec1633110c28ec78f":{"kind":"REWORK","_number":1,"created":"2021-11-11 22:59:35.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/95/6695/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/95/6695/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/1 \u0026\u0026 git checkout -b change-6695 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/95/6695/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"cca703228077b7d96b2c53ffab113782bd4f720c","subject":"openocd: remove last references to debugport_init()"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-11-11 22:28:33.000000000","tz":60},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-11-11 22:55:26.000000000","tz":60},"subject":"adi_v5_swd: add jtag-to-swd through dormant","message":"adi_v5_swd: add jtag-to-swd through dormant\n\nARM IHI 0031A does not support SWJ-DP, so no switch between JTAG\nand SWD.\nARM IHI 0031B is not publicly available ans it\u0027s reported as\n\"Confidential Beta\" in the history list in following doc versions.\nFrom ARM IHI 0031C the direct switch between JTAG and SWD is\nalready deprecated in favor of passing through dormant mode. With\nno access to IHI 0031B we haven\u0027t info if any device strictly\nrequires the direct switch.\n\nOpenOCD implements only the deprecated direct switch, so changing\nit could cause regression on devices that do not implement dormant\nmode.\nPlus, not all the adapters support dormant mode.\n\nNevertheless there are already target devices that only allow\nentering in SWD by passing through dormant.\n\nLet the code try both method, alternating one tentative with the\ndeprecated legacy direct switch, then another tentative passing\nthrough dormant, and repeat till timeout.\nThis would work on any device that don\u0027t support dormant, on new\ndevices that require switch through dormant and will work with\nadapters that don\u0027t support dormant.\n\nChange-Id: Ib8619635277d497872079a33fa4e38be9beb84a0\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"ef3a3da205d538ff0551de098e1bf055b4da2197":{"kind":"REWORK","_number":2,"created":"2021-11-12 13:45:00.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/95/6695/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/95/6695/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/2 \u0026\u0026 git checkout -b change-6695 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/95/6695/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"e1f651779c63fd3bb19f8aab4a747908f0dfaf09","subject":"openocd: remove last references to debugport_init()"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-11-11 22:28:33.000000000","tz":60},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-11-12 13:43:17.000000000","tz":60},"subject":"adi_v5_swd: add jtag-to-swd through dormant","message":"adi_v5_swd: add jtag-to-swd through dormant\n\nARM IHI 0031A does not support SWJ-DP, so no switch between JTAG\nand SWD.\nARM IHI 0031B is not publicly available ans it\u0027s reported as\n\"Confidential Beta\" in the history list in following doc versions.\nFrom ARM IHI 0031C the direct switch between JTAG and SWD is\nalready deprecated in favor of passing through dormant mode. With\nno access to IHI 0031B we haven\u0027t info if any device strictly\nrequires the direct switch.\n\nOpenOCD implements only the deprecated direct switch, so changing\nit could cause regression on devices that do not implement dormant\nmode.\nPlus, not all the adapters support dormant mode.\n\nNevertheless there are already target devices that only allow\nentering in SWD by passing through dormant.\n\nLet the code try both method, alternating one tentative with the\ndeprecated legacy direct switch, then another tentative passing\nthrough dormant, and repeat till timeout.\nThis would work on any device that don\u0027t support dormant, on new\ndevices that require switch through dormant and will work with\nadapters that don\u0027t support dormant.\n\nChange-Id: Ib8619635277d497872079a33fa4e38be9beb84a0\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"79e84a44ff28e617f83a9885614c44c8f9ee4e2d":{"kind":"REWORK","_number":3,"created":"2021-12-03 23:05:55.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/95/6695/3","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/95/6695/3","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/3 \u0026\u0026 git checkout -b change-6695 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/95/6695/3","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"beb96205f3d9efc22218ffa3195bc2a79bfb93d5","subject":"cortex_m: remove last references to debugport_init()"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-11-11 22:28:33.000000000","tz":60},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-12-03 23:02:05.000000000","tz":60},"subject":"adi_v5_swd: add jtag-to-swd through dormant","message":"adi_v5_swd: add jtag-to-swd through dormant\n\nARM IHI 0031A does not support SWJ-DP, so no switch between JTAG\nand SWD is considered.\nARM IHI 0031B is not publicly available and it\u0027s reported as\n\"Confidential Beta\" in the history list in following doc versions.\nFrom ARM IHI 0031C the direct switch between JTAG and SWD is\nalready deprecated in favor of passing through dormant mode. With\nno access to IHI 0031B we haven\u0027t info if any device strictly\nrequires the direct switch.\n\nOpenOCD implements only the deprecated direct switch, so changing\nit could cause regression on devices that do not implement dormant\nmode.\nPlus, not all the adapters support dormant mode.\n\nNevertheless there are already target devices that only allow\nentering in SWD by passing through dormant.\n\nLet the code try both method, alternating one tentative with the\ndeprecated legacy direct switch, then another tentative passing\nthrough dormant, and repeat till timeout.\nThis would work on any device that don\u0027t support dormant, on new\ndevices that require switch through dormant and will work with\nadapters that don\u0027t support dormant.\n\nChange-Id: Ib8619635277d497872079a33fa4e38be9beb84a0\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\n"}},"68ec9d2175f3bad53cd7f1a259e54420047321d6":{"kind":"NO_CODE_CHANGE","_number":4,"created":"2021-12-11 17:39:58.000000000","uploader":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"ref":"refs/changes/95/6695/4","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/95/6695/4","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/4 \u0026\u0026 git checkout -b change-6695 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/95/6695/4","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/95/6695/4 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"8a448573fb2804a9abe3e0922648dbbf99224aa9","subject":"cortex_m: remove last references to debugport_init()"}],"author":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-11-11 22:28:33.000000000","tz":60},"committer":{"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","date":"2021-12-11 17:39:58.000000000","tz":0},"subject":"adi_v5_swd: add jtag-to-swd through dormant","message":"adi_v5_swd: add jtag-to-swd through dormant\n\nARM IHI 0031A does not support SWJ-DP, so no switch between JTAG\nand SWD is considered.\nARM IHI 0031B is not publicly available and it\u0027s reported as\n\"Confidential Beta\" in the history list in following doc versions.\nFrom ARM IHI 0031C the direct switch between JTAG and SWD is\nalready deprecated in favor of passing through dormant mode. With\nno access to IHI 0031B we haven\u0027t info if any device strictly\nrequires the direct switch.\n\nOpenOCD implements only the deprecated direct switch, so changing\nit could cause regression on devices that do not implement dormant\nmode.\nPlus, not all the adapters support dormant mode.\n\nNevertheless there are already target devices that only allow\nentering in SWD by passing through dormant.\n\nLet the code try both method, alternating one tentative with the\ndeprecated legacy direct switch, then another tentative passing\nthrough dormant, and repeat till timeout.\nThis would work on any device that don\u0027t support dormant, on new\ndevices that require switch through dormant and will work with\nadapters that don\u0027t support dormant.\n\nChange-Id: Ib8619635277d497872079a33fa4e38be9beb84a0\nSigned-off-by: Antonio Borneo \u003cborneo.antonio@gmail.com\u003e\nReviewed-on: https://review.openocd.org/c/openocd/+/6695\nTested-by: jenkins\n"}}},"requirements":[],"submit_records":[{"status":"CLOSED","labels":[{"label":"Verified","status":"OK","applied_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"OK","applied_by":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"}}]}],"submit_requirements":[{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dCustom-Rule"],"failing_atoms":[]}},{"name":"Code-Review","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dCustom-Rule","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dCustom-Rule"],"failing_atoms":[]}}]}
