)]}'
{"id":"openocd~master~I100b02f009b3e200cb3a4482c4a26ffbdb8f5f3e","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":"2026-07-01 09:54:04.000000000","reason":"Change was submitted"},"1000687":{"account":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"last_update":"2026-06-23 03:42:59.000000000","reason":"removed on reply"},"1001678":{"account":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"last_update":"2026-07-01 09:54:04.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"I100b02f009b3e200cb3a4482c4a26ffbdb8f5f3e","subject":"flash/nor/mspm0: workaround FLASH_ERR_01 in mspm0_read_part_info","status":"MERGED","created":"2026-05-29 17:02:26.000000000","updated":"2026-07-01 09:54:04.000000000","submitted":"2026-07-01 09:54:04.000000000","submitter":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"total_comment_count":4,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"9726","meta_rev_id":"192251e6d72a2faa3cdd62124b3d78433faae2e0","_number":9726,"owner":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":1002531,"name":"fcooperti","username":"fcooperti"},{"value":0,"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},{"tag":"autogenerated:gerrit:merged","value":1,"date":"2026-07-01 09:54:04.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":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"all":[{"tag":"autogenerated:gerrit:merged","value":1,"date":"2026-07-01 09:54:04.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1002531,"name":"fcooperti","username":"fcooperti"},{"tag":"autogenerated:gerrit:merged","value":2,"date":"2026-07-01 09:54:04.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},{"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":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"}],"reviewers":{"REVIEWER":[{"_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":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},{"_account_id":1002531,"name":"fcooperti","username":"fcooperti"}],"CC":[{"_account_id":1002494,"name":"Mikhail Iakhiaev","email":"iakhiaev@google.com","username":"iakhiaev","status":"Waymo LLC"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-05-29 17:07:36.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":"CC"},{"updated":"2026-05-29 17:08:33.000000000","updated_by":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"reviewer":{"_account_id":1000021,"name":"Antonio Borneo","email":"borneo.antonio@gmail.com","username":"borneoa"},"state":"REVIEWER"},{"updated":"2026-05-29 17:39:30.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":"2026-05-29 17:54:35.000000000","updated_by":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"reviewer":{"_account_id":1002494,"name":"Mikhail Iakhiaev","email":"iakhiaev@google.com","username":"iakhiaev","status":"Waymo LLC"},"state":"CC"},{"updated":"2026-05-29 18:43:28.000000000","updated_by":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"reviewer":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"state":"REVIEWER"},{"updated":"2026-06-22 20:56:43.000000000","updated_by":{"_account_id":1002531,"name":"fcooperti","username":"fcooperti"},"reviewer":{"_account_id":1002531,"name":"fcooperti","username":"fcooperti"},"state":"REVIEWER"}],"messages":[{"id":"03b63642f02ae60d280ad5727dd7bf7f74b31901","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"real_author":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"date":"2026-05-29 17:02:26.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"ade1576c25c714899924767716361515593c4ad9","author":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"real_author":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"date":"2026-05-29 17:08:33.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"b5d126fd4590cca505eb17f55ca0af6e46e74296","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"real_author":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"date":"2026-05-29 17:39:22.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"b981252fb7790c4380335a159f529f4d87ee2a7f","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-05-29 17:39:30.000000000","message":"Patch Set 1: Verified-1\n\nBuild Failed \n\nhttps://build.openocd.org/job/openocd-gerrit-build/22419/ : ABORTED\n\nhttps://build.openocd.org/job/openocd-gerrit/23319/ : SUCCESS","accounts_in_message":[],"_revision_number":1},{"id":"5ffe3b3ceda14a62b42a16e533c166149d8a554d","tag":"autogenerated:jenkins-gerrit-trigger","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2026-05-29 18:12:04.000000000","message":"Patch Set 2: Verified+1\n\nBuild Successful \n\nhttps://build.openocd.org/job/openocd-gerrit-build/22421/ : SUCCESS\n\nhttps://build.openocd.org/job/openocd-gerrit/23321/ : SUCCESS","accounts_in_message":[],"_revision_number":2},{"id":"b240166a64bbedf1cadd36bfa27e7945af9dc757","author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"real_author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"date":"2026-05-29 18:43:28.000000000","message":"Patch Set 2: Code-Review+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"fbd3671de3ff68074706b3ae85c9c78276137022","author":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"real_author":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"date":"2026-05-29 19:25:34.000000000","message":"Patch Set 2:\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"60f5af62fee71343b5310549cace9bbb070dfe66","author":{"_account_id":1002531,"name":"fcooperti","username":"fcooperti"},"real_author":{"_account_id":1002531,"name":"fcooperti","username":"fcooperti"},"date":"2026-06-22 20:56:43.000000000","message":"Patch Set 2: Code-Review+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":2},{"id":"ef2b9a8e1753cb9273c798a5e1d13bf9eb90e54c","author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"real_author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"date":"2026-06-23 03:42:59.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"192251e6d72a2faa3cdd62124b3d78433faae2e0","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"real_author":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"date":"2026-07-01 09:54:04.000000000","message":"Change has been successfully cherry-picked as 0b3e390506d1dd0e3d8a0db2e3163fce71f6f131","accounts_in_message":[],"_revision_number":3}],"current_revision":"0b3e390506d1dd0e3d8a0db2e3163fce71f6f131","revisions":{"60c63f7191f0a0e6be938c1a53ebc86b7d137c5b":{"kind":"REWORK","_number":1,"created":"2026-05-29 17:02:26.000000000","uploader":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"ref":"refs/changes/26/9726/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/26/9726/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/1 \u0026\u0026 git checkout -b change-9726 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/26/9726/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"0be5a94827fa4e9e33ea040c5cd14840d31ecf58","subject":"tcl/target/ti/mspm0: fix mspm0_board_reset DebugSS recovery"}],"author":{"name":"Nishanth Menon","email":"nm@ti.com","date":"2026-05-29 04:38:44.000000000","tz":-300},"committer":{"name":"Nishanth Menon","email":"nm@ti.com","date":"2026-05-29 17:00:32.000000000","tz":-300},"subject":"flash/nor/mspm0: workaround FLASH_ERR_01 in mspm0_read_part_info","message":"flash/nor/mspm0: workaround FLASH_ERR_01 in mspm0_read_part_info\n\nMSPM0G devices have errata FLASH_ERR_01: accessing FACTORYREGION\n(0x41C40000) via any AHB bus master causes a hard fault when the flash\ncontroller is operating with 2 wait states. This occurs when MCLK is\nsourced from HSCLK (SYSPLL/HFXT), i.e. MCLK \u003e 32 MHz.\n\nThis affects OpenOCD reads (via DAP AHB-AP) in mspm0_read_part_info().\n\nFix this by checking SYSCTL_MCLKCFG before reading FACTORYREGION. If\nUSEHSCLK is set and FLASHWAIT \u003d\u003d 2, temporarily switch MCLK to SYSOSC\n(≤ 32 MHz), perform the reads (DID, TRACEID, USERID, SRAMFLASH), and\nthen restore the original MCLK configuration. Restoration is ensured for\nboth success and error paths.\n\nThe workaround is effectively a no-op on MSPM0L and MSPM0C devices,\nsince they do not reach the required clock conditions.\n\nAlso handle cases where FACTORYREGION reads fail during probe: if the\nmain flash size is zero, force a re-probe by clearing did.\n\nLink: https://www.ti.com/lit/er/slaz758d/slaz758d.pdf\nChange-Id: I100b02f009b3e200cb3a4482c4a26ffbdb8f5f3e\nReported-by: Michael Rodriguez \u003cMichael.Rodriguez@cranepi.com\u003e\nTested-by: Michael Rodriguez \u003cMichael.Rodriguez@cranepi.com\u003e\nSigned-off-by: Nishanth Menon \u003cnm@ti.com\u003e\n"}},"0b3e390506d1dd0e3d8a0db2e3163fce71f6f131":{"kind":"REWORK","_number":3,"created":"2026-07-01 09:54:04.000000000","uploader":{"_account_id":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"},"ref":"refs/changes/26/9726/3","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/26/9726/3","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/3 \u0026\u0026 git checkout -b change-9726 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/26/9726/3","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"4de89132f4b5e059d5421af3ec66196b6f855bd2","subject":"tcl/target/ti/mspm0: fix mspm0_board_reset DebugSS recovery"}],"author":{"name":"Nishanth Menon","email":"nm@ti.com","date":"2026-05-29 04:38:44.000000000","tz":-300},"committer":{"name":"Tomas Vanek","email":"vanekt@fbl.cz","date":"2026-07-01 09:54:04.000000000","tz":0},"subject":"flash/nor/mspm0: workaround FLASH_ERR_01 in mspm0_read_part_info","message":"flash/nor/mspm0: workaround FLASH_ERR_01 in mspm0_read_part_info\n\nMSPM0G devices have errata FLASH_ERR_01: accessing FACTORYREGION\n(0x41C40000) via any AHB bus master causes a hard fault when the flash\ncontroller is operating with 2 wait states. This occurs when MCLK is\nsourced from HSCLK (SYSPLL/HFXT), i.e. MCLK \u003e 32 MHz.\n\nThis affects OpenOCD reads (via DAP AHB-AP) in mspm0_read_part_info().\n\nFix this by checking SYSCTL_MCLKCFG before reading FACTORYREGION. If\nUSEHSCLK is set and FLASHWAIT \u003d\u003d 2, temporarily switch MCLK to SYSOSC\n(≤ 32 MHz), perform the reads (DID, TRACEID, USERID, SRAMFLASH), and\nthen restore the original MCLK configuration. Restoration is ensured for\nboth success and error paths.\n\nThe workaround is effectively a no-op on MSPM0L and MSPM0C devices,\nsince they do not reach the required clock conditions.\n\nAlso handle cases where FACTORYREGION reads fail during probe: if the\nmain flash size is zero, force a re-probe by clearing did.\n\nLink: https://www.ti.com/lit/er/slaz758d/slaz758d.pdf\nChange-Id: I100b02f009b3e200cb3a4482c4a26ffbdb8f5f3e\nReported-by: Michael Rodriguez \u003cMichael.Rodriguez@cranepi.com\u003e\nTested-by: Michael Rodriguez \u003cMichael.Rodriguez@cranepi.com\u003e\nSigned-off-by: Nishanth Menon \u003cnm@ti.com\u003e\nReviewed-on: https://review.openocd.org/c/openocd/+/9726\nTested-by: jenkins\nReviewed-by: Tomas Vanek \u003cvanekt@fbl.cz\u003e\n"}},"4e1a8ad5beeb157fa63f2d2aad60cfd60c2b84d3":{"kind":"REWORK","_number":2,"created":"2026-05-29 17:39:22.000000000","uploader":{"_account_id":1001678,"name":"Nishanth Menon","email":"nm@ti.com","username":"nmenon"},"ref":"refs/changes/26/9726/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/26/9726/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/2 \u0026\u0026 git checkout -b change-9726 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/26/9726/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/26/9726/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"0be5a94827fa4e9e33ea040c5cd14840d31ecf58","subject":"tcl/target/ti/mspm0: fix mspm0_board_reset DebugSS recovery"}],"author":{"name":"Nishanth Menon","email":"nm@ti.com","date":"2026-05-29 04:38:44.000000000","tz":-300},"committer":{"name":"Nishanth Menon","email":"nm@ti.com","date":"2026-05-29 17:39:06.000000000","tz":-300},"subject":"flash/nor/mspm0: workaround FLASH_ERR_01 in mspm0_read_part_info","message":"flash/nor/mspm0: workaround FLASH_ERR_01 in mspm0_read_part_info\n\nMSPM0G devices have errata FLASH_ERR_01: accessing FACTORYREGION\n(0x41C40000) via any AHB bus master causes a hard fault when the flash\ncontroller is operating with 2 wait states. This occurs when MCLK is\nsourced from HSCLK (SYSPLL/HFXT), i.e. MCLK \u003e 32 MHz.\n\nThis affects OpenOCD reads (via DAP AHB-AP) in mspm0_read_part_info().\n\nFix this by checking SYSCTL_MCLKCFG before reading FACTORYREGION. If\nUSEHSCLK is set and FLASHWAIT \u003d\u003d 2, temporarily switch MCLK to SYSOSC\n(≤ 32 MHz), perform the reads (DID, TRACEID, USERID, SRAMFLASH), and\nthen restore the original MCLK configuration. Restoration is ensured for\nboth success and error paths.\n\nThe workaround is effectively a no-op on MSPM0L and MSPM0C devices,\nsince they do not reach the required clock conditions.\n\nAlso handle cases where FACTORYREGION reads fail during probe: if the\nmain flash size is zero, force a re-probe by clearing did.\n\nLink: https://www.ti.com/lit/er/slaz758d/slaz758d.pdf\nChange-Id: I100b02f009b3e200cb3a4482c4a26ffbdb8f5f3e\nReported-by: Michael Rodriguez \u003cMichael.Rodriguez@cranepi.com\u003e\nTested-by: Michael Rodriguez \u003cMichael.Rodriguez@cranepi.com\u003e\nSigned-off-by: Nishanth Menon \u003cnm@ti.com\u003e\n"}}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","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":1000687,"name":"Tomas Vanek","display_name":"Tomas Vanek","email":"vanekt@fbl.cz","username":"vanekt"}}]}],"submit_requirements":[{"name":"Verified","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Verified\u003dMAX -label:Verified\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dMAX","-label:Verified\u003dMIN"],"failing_atoms":[]}},{"name":"Code-Review","status":"SATISFIED","is_legacy":true,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX -label:Code-Review\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dMAX","-label:Code-Review\u003dMIN"],"failing_atoms":[]}}]}
